crypto: testmgr - update sm4 test vectors
Add additional test vectors from "The SM4 Blockcipher Algorithm And Its Modes Of Operations" draft-ribose-cfrg-sm4-10 and register cipher speed tests for sm4. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:

committed by
Herbert Xu

parent
ce1294d981
commit
95ba597367
@@ -51,6 +51,7 @@ static struct cipher_speed_template des3_speed_template[] = {
|
||||
* Cipher speed tests
|
||||
*/
|
||||
static u8 speed_template_8[] = {8, 0};
|
||||
static u8 speed_template_16[] = {16, 0};
|
||||
static u8 speed_template_24[] = {24, 0};
|
||||
static u8 speed_template_8_16[] = {8, 16, 0};
|
||||
static u8 speed_template_8_32[] = {8, 32, 0};
|
||||
|
Reference in New Issue
Block a user