> Kalyna is a Ukrainian block cipher with variable key and block sizes. Its 
> now available in the the library. The tracking issue and commits of 
> interest are:
>
> * https://github.com/weidai11/cryptopp/issues/411
> * https://github.com/weidai11/cryptopp/commit/a5c67cfdd6ad
> * https://github.com/weidai11/cryptopp/commit/1d7dfc69274d
>
> Its our first attempt at variable block sizes, so it may have some rough 
> edges.
>
> We also have a wiki page started at https://www.cryptopp.com/wiki/Kalyna. 
> Its a work in progress.
>

More bad news...

The Kalyna team got back to us with test vectors for other modes (formerly 
we only had them for ECB). CBC encryption looks good, but CBC decryption is 
sideways. Both NoPadding and PKCSPadding are producing bad results.

I have not identified the issue yet, but I don't believe its a simple 
memory error. If the initial survey is correct, then it looks like a filter 
problem. I think there's a bad interaction between the VariableBlockSize 
gear and the existing framework.

I think the worse case is, we have to fold VariableBlockSize into 
SimpleKeyingInterface. That's kind of how the library is wired (nearly 
everything with a symmetric key depends on SimpleKeyingInterface). I tired 
to avoid polluting SimpleKeyingInterface by keeping VariableBlockSize 
separate, but it may not be a viable solution.

The best case is I missed something obvious, like an override somewhere. 
But its not jumping out at me.

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to