Home
last modified time | relevance | path

Searched refs:setkey (Results 1 – 25 of 159) sorted by relevance

1234567

/Linux-v5.4/drivers/crypto/ccree/
Dcc_cipher.c939 .setkey = cc_cipher_sethkey,
957 .setkey = cc_cipher_sethkey,
976 .setkey = cc_cipher_sethkey,
995 .setkey = cc_cipher_sethkey,
1013 .setkey = cc_cipher_sethkey,
1032 .setkey = cc_cipher_sethkey,
1051 .setkey = cc_cipher_sethkey,
1069 .setkey = cc_cipher_sethkey,
1088 .setkey = cc_cipher_sethkey,
1107 .setkey = cc_cipher_sethkey,
[all …]
/Linux-v5.4/drivers/crypto/caam/
Dcaamalg.c1918 .setkey = aes_skcipher_setkey,
1934 .setkey = des3_skcipher_setkey,
1950 .setkey = des_skcipher_setkey,
1966 .setkey = ctr_skcipher_setkey,
1984 .setkey = rfc3686_skcipher_setkey,
2007 .setkey = xts_skcipher_setkey,
2023 .setkey = des_skcipher_setkey,
2038 .setkey = aes_skcipher_setkey,
2053 .setkey = des3_skcipher_setkey,
2068 .setkey = arc4_skcipher_setkey,
[all …]
Dcaamalg_qi.c1445 .setkey = aes_skcipher_setkey,
1461 .setkey = des3_skcipher_setkey,
1477 .setkey = des_skcipher_setkey,
1493 .setkey = ctr_skcipher_setkey,
1511 .setkey = rfc3686_skcipher_setkey,
1534 .setkey = xts_skcipher_setkey,
1553 .setkey = rfc4106_setkey,
1572 .setkey = rfc4543_setkey,
1592 .setkey = gcm_setkey,
1613 .setkey = aead_setkey,
[all …]
Dcaamalg_qi2.c1607 .setkey = aes_skcipher_setkey,
1623 .setkey = des3_skcipher_setkey,
1639 .setkey = des_skcipher_setkey,
1655 .setkey = ctr_skcipher_setkey,
1673 .setkey = rfc3686_skcipher_setkey,
1696 .setkey = xts_skcipher_setkey,
1712 .setkey = chacha20_skcipher_setkey,
1731 .setkey = rfc4106_setkey,
1750 .setkey = rfc4543_setkey,
1770 .setkey = gcm_setkey,
[all …]
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_skcipher.c341 .setkey = nitrox_aes_setkey,
360 .setkey = nitrox_aes_setkey,
379 .setkey = nitrox_aes_setkey,
398 .setkey = nitrox_aes_xts_setkey,
419 .setkey = nitrox_aes_ctr_rfc3686_setkey,
437 .setkey = nitrox_aes_setkey,
456 .setkey = nitrox_3des_setkey,
475 .setkey = nitrox_3des_setkey,
/Linux-v5.4/drivers/crypto/sunxi-ss/
Dsun4i-ss-core.c80 .setkey = sun4i_ss_aes_setkey,
102 .setkey = sun4i_ss_aes_setkey,
123 .setkey = sun4i_ss_des_setkey,
145 .setkey = sun4i_ss_des_setkey,
166 .setkey = sun4i_ss_des3_setkey,
188 .setkey = sun4i_ss_des3_setkey,
/Linux-v5.4/arch/x86/crypto/
Dserpent_avx2_glue.c194 .setkey = serpent_setkey_skcipher,
208 .setkey = serpent_setkey_skcipher,
223 .setkey = serpent_setkey_skcipher,
237 .setkey = xts_serpent_setkey,
Dcamellia_aesni_avx2_glue.c209 .setkey = camellia_setkey,
223 .setkey = camellia_setkey,
238 .setkey = camellia_setkey,
252 .setkey = xts_camellia_setkey,
Dcast6_avx_glue.c228 .setkey = cast6_setkey_skcipher,
242 .setkey = cast6_setkey_skcipher,
257 .setkey = cast6_setkey_skcipher,
271 .setkey = xts_cast6_setkey,
Dserpent_avx_glue.c234 .setkey = serpent_setkey_skcipher,
248 .setkey = serpent_setkey_skcipher,
263 .setkey = serpent_setkey_skcipher,
277 .setkey = xts_serpent_setkey,
Dtwofish_avx_glue.c237 .setkey = twofish_setkey_skcipher,
251 .setkey = twofish_setkey_skcipher,
266 .setkey = twofish_setkey_skcipher,
280 .setkey = xts_twofish_setkey,
Dserpent_sse2_glue.c165 .setkey = serpent_setkey_skcipher,
179 .setkey = serpent_setkey_skcipher,
194 .setkey = serpent_setkey_skcipher,
Dcamellia_aesni_avx_glue.c235 .setkey = camellia_setkey,
249 .setkey = camellia_setkey,
264 .setkey = camellia_setkey,
278 .setkey = xts_camellia_setkey,
Dtwofish_glue_3way.c179 .setkey = twofish_setkey_skcipher,
192 .setkey = twofish_setkey_skcipher,
206 .setkey = twofish_setkey_skcipher,
/Linux-v5.4/crypto/
Dahash.c183 ret = tfm->setkey(tfm, alignbuffer, keylen); in ahash_setkey_unaligned()
198 if (tfm->setkey != ahash_nosetkey && in ahash_set_needkey()
212 err = tfm->setkey(tfm, key, keylen); in crypto_ahash_setkey()
483 hash->setkey = ahash_nosetkey; in crypto_ahash_init_tfm()
496 if (alg->setkey) { in crypto_ahash_init_tfm()
497 hash->setkey = alg->setkey; in crypto_ahash_init_tfm()
681 return __crypto_ahash_alg(alg)->setkey != NULL; in crypto_hash_alg_has_setkey()
Dblkcipher.c384 ret = cipher->setkey(tfm, alignbuffer, keylen); in setkey_unaligned()
390 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey() function
403 return cipher->setkey(tfm, key, keylen); in setkey()
409 return setkey(crypto_ablkcipher_tfm(tfm), key, keylen); in async_setkey()
459 crt->setkey = async_setkey; in crypto_init_blkcipher_ops_async()
475 crt->setkey = setkey; in crypto_init_blkcipher_ops_sync()
Dchacha_generic.c154 .setkey = crypto_chacha20_setkey,
169 .setkey = crypto_chacha20_setkey,
184 .setkey = crypto_chacha12_setkey,
Dablkcipher.c311 ret = cipher->setkey(tfm, alignbuffer, keylen); in setkey_unaligned()
317 static int setkey(struct crypto_ablkcipher *tfm, const u8 *key, in setkey() function
331 return cipher->setkey(tfm, key, keylen); in setkey()
349 crt->setkey = setkey; in crypto_init_ablkcipher_ops()
Dcipher.c42 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey() function
107 ops->cit_setkey = setkey; in crypto_init_cipher_ops()
/Linux-v5.4/lib/
Dbtree.c158 static void setkey(struct btree_geo *geo, unsigned long *node, int n, in setkey() function
404 setkey(geo, node, i, key); in find_level()
424 setkey(geo, node, 0, bkey(geo, head->node, fill - 1)); in btree_grow()
484 setkey(geo, new, i, bkey(geo, node, i)); in btree_insert_level()
486 setkey(geo, node, i, bkey(geo, node, i + fill / 2)); in btree_insert_level()
491 setkey(geo, node, i, bkey(geo, node, fill - 1)); in btree_insert_level()
501 setkey(geo, node, i, bkey(geo, node, i - 1)); in btree_insert_level()
504 setkey(geo, node, pos, key); in btree_insert_level()
529 setkey(geo, left, lfill + i, bkey(geo, right, i)); in merge()
614 setkey(geo, node, i, bkey(geo, node, i + 1)); in btree_remove_level()
/Linux-v5.4/arch/arm/crypto/
Dchacha-neon-glue.c140 .setkey = crypto_chacha20_setkey,
156 .setkey = crypto_chacha20_setkey,
172 .setkey = crypto_chacha12_setkey,
/Linux-v5.4/arch/arm64/crypto/
Dchacha-neon-glue.c137 .setkey = crypto_chacha20_setkey,
153 .setkey = crypto_chacha20_setkey,
169 .setkey = crypto_chacha12_setkey,
/Linux-v5.4/drivers/crypto/inside-secure/
Dsafexcel_cipher.c1147 .setkey = safexcel_skcipher_aes_setkey,
1182 .setkey = safexcel_skcipher_aes_setkey,
1218 .setkey = safexcel_skcipher_aes_setkey,
1254 .setkey = safexcel_skcipher_aes_setkey,
1328 .setkey = safexcel_skcipher_aesctr_setkey,
1386 .setkey = safexcel_des_setkey,
1422 .setkey = safexcel_des_setkey,
1480 .setkey = safexcel_des3_ede_setkey,
1516 .setkey = safexcel_des3_ede_setkey,
1585 .setkey = safexcel_aead_setkey,
[all …]
/Linux-v5.4/drivers/crypto/cavium/cpt/
Dcptvf_algs.c356 .setkey = cvm_xts_setkey,
377 .setkey = cvm_cbc_aes_setkey,
398 .setkey = cvm_ecb_aes_setkey,
419 .setkey = cvm_cfb_aes_setkey,
440 .setkey = cvm_cbc_des3_setkey,
461 .setkey = cvm_ecb_des3_setkey,
/Linux-v5.4/arch/s390/crypto/
Ddes_s390.c158 .setkey = des_setkey,
199 .setkey = des_setkey,
303 .setkey = des3_setkey,
345 .setkey = des3_setkey,
438 .setkey = des_setkey,
480 .setkey = des3_setkey,

1234567