Re: hashing bit oriented messages

2018-02-11 Thread Stephan Mueller
Am Montag, 12. Februar 2018, 07:18:20 CET schrieb Jitendra Lulla: Hi Jitendra, > Hi, > > the following NIST link has test vectors for SHA1/2/3. > https://csrc.nist.gov/projects/cryptographic-algorithm-validation-program/se > cure-hashing > > They have test vectors for bit oriented messages also

hashing bit oriented messages

2018-02-11 Thread Jitendra Lulla
Hi, the following NIST link has test vectors for SHA1/2/3. https://csrc.nist.gov/projects/cryptographic-algorithm-validation-program/secure-hashing They have test vectors for bit oriented messages also e.g. a message of 7 bits for example. [grep "Bit-Oriented" on the page, bottom of the page] So

Crypto Fixes for 4.16

2018-02-11 Thread Herbert Xu
Hi Linus: This push fixes the following issues: - Fix oversize stack frames on mn10300 in sha3-generic. - Fix warning on old compilers in sha3-generic. - Fix API error in sun4i_ss_prng. - Fix potential dead-lock in sun4i_ss_prng. - Fix null-pointer dereference in sha512-mb. - Fix endless loop wh

[PATCH] crypto: sunxi-ss: Add MODULE_ALIAS to sun4i-ss

2018-02-11 Thread Peter Robinson
The MODULE_ALIAS is required to enable the sun4i-ss driver to load automatically when built at a module. Tested on a Cubietruck. Fixes: 6298e948215f ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator") Cc: Signed-off-by: Peter Robinson --- drivers/crypto/sunxi-ss/sun4i-ss-co