Searched refs:template (Results 1 – 4 of 4) sorted by relevance
/crypto/ |
D | testmgr.c | 187 static int test_hash(struct crypto_ahash *tfm, struct hash_testvec *template, in test_hash() argument 216 if (template[i].np) in test_hash() 224 memcpy(hash_buff, template[i].plaintext, template[i].psize); in test_hash() 225 sg_init_one(&sg[0], hash_buff, template[i].psize); in test_hash() 227 if (template[i].ksize) { in test_hash() 229 ret = crypto_ahash_setkey(tfm, template[i].key, in test_hash() 230 template[i].ksize); in test_hash() 239 ahash_request_set_crypt(req, sg, result, template[i].psize); in test_hash() 272 if (memcmp(result, template[i].digest, in test_hash() 284 if (template[i].np) { 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 | 143 struct cipher_speed_template *template, in test_cipher_speed() argument 193 if (template[j].klen == *keysize) { in test_cipher_speed() 194 key = template[j].key; in test_cipher_speed() 803 struct cipher_speed_template *template, in test_acipher_speed() argument 864 if (template[j].klen == *keysize) { in test_acipher_speed() 865 key = template[j].key; in test_acipher_speed()
|
D | Kconfig | 93 Create default cryptographic template instantiations such as
|