Home
last modified time | relevance | path

Searched refs:cra_ablkcipher (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/include/crypto/internal/
Dskcipher.h189 if (alg->base.cra_ablkcipher.encrypt) in crypto_skcipher_alg_min_keysize()
190 return alg->base.cra_ablkcipher.min_keysize; in crypto_skcipher_alg_min_keysize()
202 if (alg->base.cra_ablkcipher.encrypt) in crypto_skcipher_alg_max_keysize()
203 return alg->base.cra_ablkcipher.max_keysize; in crypto_skcipher_alg_max_keysize()
215 if (alg->base.cra_ablkcipher.encrypt) in crypto_skcipher_alg_chunksize()
228 if (alg->base.cra_ablkcipher.encrypt) in crypto_skcipher_alg_walksize()
/Linux-v5.4/drivers/crypto/ccp/
Dccp-crypto-aes-xts.c252 alg->cra_ablkcipher.setkey = ccp_aes_xts_setkey; in ccp_register_aes_xts_alg()
253 alg->cra_ablkcipher.encrypt = ccp_aes_xts_encrypt; in ccp_register_aes_xts_alg()
254 alg->cra_ablkcipher.decrypt = ccp_aes_xts_decrypt; in ccp_register_aes_xts_alg()
255 alg->cra_ablkcipher.min_keysize = AES_MIN_KEY_SIZE * 2; in ccp_register_aes_xts_alg()
256 alg->cra_ablkcipher.max_keysize = AES_MAX_KEY_SIZE * 2; in ccp_register_aes_xts_alg()
257 alg->cra_ablkcipher.ivsize = AES_BLOCK_SIZE; in ccp_register_aes_xts_alg()
Dccp-crypto-aes.c226 .cra_ablkcipher = {
247 .cra_ablkcipher = {
345 alg->cra_ablkcipher.ivsize = def->ivsize; in ccp_register_aes_alg()
Dccp-crypto-des3.c146 .cra_ablkcipher = {
208 alg->cra_ablkcipher.ivsize = def->ivsize; in ccp_register_des3_alg()
Dccp-crypto-aes-galois.c232 alg->base.cra_ablkcipher.ivsize = def->ivsize; in ccp_register_aes_aead()
/Linux-v5.4/drivers/crypto/qce/
Dablkcipher.c372 alg->cra_ablkcipher.ivsize = def->ivsize; in qce_ablkcipher_register_one()
373 alg->cra_ablkcipher.min_keysize = def->min_keysize; in qce_ablkcipher_register_one()
374 alg->cra_ablkcipher.max_keysize = def->max_keysize; in qce_ablkcipher_register_one()
375 alg->cra_ablkcipher.setkey = IS_3DES(def->flags) ? qce_des3_setkey : in qce_ablkcipher_register_one()
378 alg->cra_ablkcipher.encrypt = qce_ablkcipher_encrypt; in qce_ablkcipher_register_one()
379 alg->cra_ablkcipher.decrypt = qce_ablkcipher_decrypt; in qce_ablkcipher_register_one()
/Linux-v5.4/crypto/
Dablkcipher.c343 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in crypto_init_ablkcipher_ops()
369 rblkcipher.min_keysize = alg->cra_ablkcipher.min_keysize; in crypto_ablkcipher_report()
370 rblkcipher.max_keysize = alg->cra_ablkcipher.max_keysize; in crypto_ablkcipher_report()
371 rblkcipher.ivsize = alg->cra_ablkcipher.ivsize; in crypto_ablkcipher_report()
387 struct ablkcipher_alg *ablkcipher = &alg->cra_ablkcipher; in crypto_ablkcipher_show()
Dskcipher.c741 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in skcipher_encrypt_ablkcipher()
750 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in skcipher_decrypt_ablkcipher()
790 skcipher->keysize = calg->cra_ablkcipher.max_keysize; in crypto_init_skcipher_ops_ablkcipher()
/Linux-v5.4/include/crypto/
Dskcipher.h265 if (alg->base.cra_ablkcipher.encrypt) in crypto_skcipher_alg_ivsize()
266 return alg->base.cra_ablkcipher.ivsize; in crypto_skcipher_alg_ivsize()
Dalgapi.h276 return &crypto_ablkcipher_tfm(tfm)->__crt_alg->cra_ablkcipher; in crypto_ablkcipher_alg()
/Linux-v5.4/drivers/crypto/
Dpicoxcell_crypto.c887 ctx->key_len, ablk_req->info, alg->cra_ablkcipher.ivsize, in spacc_ablk_submit()
1247 .cra_ablkcipher = {
1274 .cra_ablkcipher = {
1300 .cra_ablkcipher = {
1327 .cra_ablkcipher = {
1353 .cra_ablkcipher = {
1380 .cra_ablkcipher = {
1593 .cra_ablkcipher = {
Dixp4xx_crypto.c1441 if (!cra->cra_ablkcipher.setkey) in ixp_module_init()
1442 cra->cra_ablkcipher.setkey = ablk_setkey; in ixp_module_init()
1443 if (!cra->cra_ablkcipher.encrypt) in ixp_module_init()
1444 cra->cra_ablkcipher.encrypt = ablk_encrypt; in ixp_module_init()
1445 if (!cra->cra_ablkcipher.decrypt) in ixp_module_init()
1446 cra->cra_ablkcipher.decrypt = ablk_decrypt; in ixp_module_init()
Dtalitos.c2709 .cra_ablkcipher = {
2725 .cra_ablkcipher = {
2743 .cra_ablkcipher = {
2761 .cra_ablkcipher = {
2777 .cra_ablkcipher = {
2795 .cra_ablkcipher = {
2812 .cra_ablkcipher = {
3164 alg->cra_ablkcipher.setkey = alg->cra_ablkcipher.setkey ?: in talitos_alg_alloc()
3166 alg->cra_ablkcipher.encrypt = ablkcipher_encrypt; in talitos_alg_alloc()
3167 alg->cra_ablkcipher.decrypt = ablkcipher_decrypt; in talitos_alg_alloc()
/Linux-v5.4/drivers/crypto/bcm/
Dcipher.c3595 .cra_ablkcipher = {
3616 .cra_ablkcipher = {
3637 .cra_ablkcipher = {
3658 .cra_ablkcipher = {
3679 .cra_ablkcipher = {
3700 .cra_ablkcipher = {
3721 .cra_ablkcipher = {
3742 .cra_ablkcipher = {
3763 .cra_ablkcipher = {
3784 .cra_ablkcipher = {
[all …]
/Linux-v5.4/drivers/crypto/stm32/
Dstm32-cryp.c1740 .cra_ablkcipher = {
1760 .cra_ablkcipher = {
1781 .cra_ablkcipher = {
1802 .cra_ablkcipher = {
1822 .cra_ablkcipher = {
1843 .cra_ablkcipher = {
1863 .cra_ablkcipher = {
/Linux-v5.4/include/linux/
Dcrypto.h453 #define cra_ablkcipher cra_u.ablkcipher macro