[PATCH] CFB 8 Bit implementation

Stephan Müller smueller at chronox.de
Wed Jan 25 14:27:58 CET 2017


Am Dienstag, 24. Januar 2017, 15:43:31 CET schrieb Mathias L. Baumann:

Hi Mathias,

> Hello dear Gcrypt Devs,
> 
> as a followup to Lizas request/inqueries I now implemented CFB in 8 bit
> mode.
> 
> Please let me know about any changes you want to see.
> 
> I should add that my stack burning code is more or less just guessing
> how it should be done by imitating what I saw in the other functions.
> Please validate that I did that correct :)

I guess you should take at least one or two test vectors from http://
csrc.nist.gov/groups/STM/cavp/block-ciphers.html#aes and add as a self test as 
you find in all other implementations.

If you want to confirm your implementation, have all test vectors you find at 
the given URL processed by your implementation. 
> 
> 
> The patch is attached and can also found at
> https://github.com/mathias-baumann-sociomantic/libgcrypt/tree/cfb8
> 
> cheers,
> 
>      --Mathias Baumann



Ciao
Stephan



More information about the Gcrypt-devel mailing list