Home
last modified time | relevance | path

Searched refs:klen (Results 1 – 5 of 5) sorted by relevance

/crypto/
Dtestmgr.h71 unsigned short klen; member
107 unsigned char klen; member
121 unsigned char klen; member
7224 .klen = 8,
7230 .klen = 8,
7236 .klen = 8,
7242 .klen = 8,
7254 .klen = 8,
7260 .klen = 8,
7268 .klen = 8,
[all …]
Dtcrypt.h17 unsigned int klen; member
22 unsigned int klen; member
28 unsigned int klen; /* key length */ member
41 .klen = 24,
101 { .blen = 16, .plen = 16, .klen = 16, },
102 { .blen = 64, .plen = 16, .klen = 16, },
103 { .blen = 64, .plen = 64, .klen = 16, },
104 { .blen = 256, .plen = 16, .klen = 16, },
105 { .blen = 256, .plen = 64, .klen = 16, },
106 { .blen = 256, .plen = 256, .klen = 16, },
[all …]
Dansi_cprng.c276 const unsigned char *key, size_t klen, in reset_prng_context() argument
288 klen = DEFAULT_PRNG_KSZ; in reset_prng_context()
305 ret = crypto_cipher_setkey(ctx->tfm, prng_key, klen); in reset_prng_context()
Dtestmgr.c1864 err = crypto_aead_setkey(tfm, vec->key, vec->klen); in test_aead_vec_cfg()
2071 vec->klen = maxkeysize; in generate_random_aead_testvec()
2073 vec->klen = prandom_u32() % (maxkeysize + 1); in generate_random_aead_testvec()
2074 generate_random_bytes((u8 *)vec->key, vec->klen); in generate_random_aead_testvec()
2075 vec->setkey_error = crypto_aead_setkey(tfm, vec->key, vec->klen); in generate_random_aead_testvec()
2126 vec->alen, vec->plen, authsize, vec->klen); in generate_random_aead_testvec()
2226 test_desc->suite.aead.vecs[i].klen); in test_aead_vs_generic_impl()
2390 template[i].klen); in test_cipher()
2460 err = crypto_skcipher_setkey(tfm, vec->key, vec->klen); in test_skcipher_vec_cfg()
2657 vec->klen = maxkeysize; in generate_random_cipher_testvec()
[all …]
Dtcrypt.c354 if (template[j].klen == *keysize) { in test_mb_aead_speed()
604 if (template[j].klen == *keysize) { in test_aead_speed()
867 if (speed[i].klen) in test_mb_ahash_speed()
868 crypto_ahash_setkey(tfm, tvmem[0], speed[i].klen); in test_mb_ahash_speed()
1102 if (speed[i].klen) in test_ahash_speed_common()
1103 crypto_ahash_setkey(tfm, tvmem[0], speed[i].klen); in test_ahash_speed_common()
1332 if (template[j].klen == *keysize) { in test_mb_skcipher_speed()
1552 if (template[j].klen == *keysize) { in test_skcipher_speed()