Searched refs:template (Results 1 – 4 of 4) sorted by relevance
/crypto/ |
D | testmgr.c | 192 static int __test_hash(struct crypto_ahash *tfm, struct hash_testvec *template, in __test_hash() argument 229 if (template[i].np) in __test_hash() 233 if (WARN_ON(align_offset + template[i].psize > PAGE_SIZE)) in __test_hash() 242 memcpy(hash_buff, template[i].plaintext, template[i].psize); in __test_hash() 243 sg_init_one(&sg[0], hash_buff, template[i].psize); in __test_hash() 245 if (template[i].ksize) { in __test_hash() 247 if (template[i].ksize > MAX_KEYLEN) { in __test_hash() 249 j, algo, template[i].ksize, MAX_KEYLEN); in __test_hash() 253 memcpy(key, template[i].key, template[i].ksize); in __test_hash() 254 ret = crypto_ahash_setkey(tfm, key, template[i].ksize); in __test_hash() [all …]
|
D | algboss.c | 48 char template[CRYPTO_MAX_ALG_NAME]; member 69 tmpl = crypto_lookup_template(param->template); in cryptomgr_probe() 118 memcpy(param->template, name, len); in cryptomgr_schedule_probe()
|
D | tcrypt.c | 269 struct aead_speed_template *template, in test_aead_speed() argument 348 if (template[j].klen == *keysize) { in test_aead_speed() 349 key = template[j].key; in test_aead_speed() 415 struct cipher_speed_template *template, in test_cipher_speed() argument 466 if (template[j].klen == *keysize) { in test_cipher_speed() 467 key = template[j].key; in test_cipher_speed() 1078 struct cipher_speed_template *template, in test_acipher_speed() argument 1140 if (template[j].klen == *keysize) { in test_acipher_speed() 1141 key = template[j].key; in test_acipher_speed()
|
D | Kconfig | 94 Create default cryptographic template instantiations such as
|