Searched refs:ksize (Results 1 – 2 of 2) sorted by relevance
/crypto/ |
D | testmgr.h | 42 unsigned short ksize; member 2528 .ksize = 32, 2547 .ksize = 32, 3926 .ksize = 16, 3935 .ksize = 16, 3943 .ksize = 16, 3954 .ksize = 16, 3965 .ksize = 16, 3973 .ksize = 16, 4038 .ksize = 16, [all …]
|
D | testmgr.c | 1105 if (vec->ksize) { in test_shash_vec_cfg() 1106 err = crypto_shash_setkey(tfm, vec->key, vec->ksize); in test_shash_vec_cfg() 1292 if (vec->ksize) { in test_ahash_vec_cfg() 1293 err = crypto_ahash_setkey(tfm, vec->key, vec->ksize); in test_ahash_vec_cfg() 1521 vec->ksize = 0; in generate_random_hash_testvec() 1523 vec->ksize = maxkeysize; in generate_random_hash_testvec() 1525 vec->ksize = 1 + (prandom_u32() % maxkeysize); in generate_random_hash_testvec() 1526 generate_random_bytes((u8 *)vec->key, vec->ksize); in generate_random_hash_testvec() 1529 vec->ksize); in generate_random_hash_testvec() 1540 vec->psize, vec->ksize); in generate_random_hash_testvec() [all …]
|