Home
last modified time | relevance | path

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

/Linux-v4.19/crypto/
Dablkcipher.c348 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in crypto_init_ablkcipher_ops()
369 strncpy(rblkcipher.geniv, alg->cra_ablkcipher.geniv ?: "<default>", in crypto_ablkcipher_report()
374 rblkcipher.min_keysize = alg->cra_ablkcipher.min_keysize; in crypto_ablkcipher_report()
375 rblkcipher.max_keysize = alg->cra_ablkcipher.max_keysize; in crypto_ablkcipher_report()
376 rblkcipher.ivsize = alg->cra_ablkcipher.ivsize; in crypto_ablkcipher_report()
397 struct ablkcipher_alg *ablkcipher = &alg->cra_ablkcipher; in crypto_ablkcipher_show()
422 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in crypto_init_givcipher_ops()
444 strncpy(rblkcipher.geniv, alg->cra_ablkcipher.geniv ?: "<built-in>", in crypto_givcipher_report()
449 rblkcipher.min_keysize = alg->cra_ablkcipher.min_keysize; in crypto_givcipher_report()
450 rblkcipher.max_keysize = alg->cra_ablkcipher.max_keysize; in crypto_givcipher_report()
[all …]
Dcryptd.c421 inst->alg.cra_ablkcipher.ivsize = alg->cra_blkcipher.ivsize; in cryptd_create_blkcipher()
422 inst->alg.cra_ablkcipher.min_keysize = alg->cra_blkcipher.min_keysize; in cryptd_create_blkcipher()
423 inst->alg.cra_ablkcipher.max_keysize = alg->cra_blkcipher.max_keysize; in cryptd_create_blkcipher()
425 inst->alg.cra_ablkcipher.geniv = alg->cra_blkcipher.geniv; in cryptd_create_blkcipher()
432 inst->alg.cra_ablkcipher.setkey = cryptd_blkcipher_setkey; in cryptd_create_blkcipher()
433 inst->alg.cra_ablkcipher.encrypt = cryptd_blkcipher_encrypt_enqueue; in cryptd_create_blkcipher()
434 inst->alg.cra_ablkcipher.decrypt = cryptd_blkcipher_decrypt_enqueue; in cryptd_create_blkcipher()
Dskcipher.c727 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in skcipher_encrypt_ablkcipher()
736 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in skcipher_decrypt_ablkcipher()
776 skcipher->keysize = calg->cra_ablkcipher.max_keysize; in crypto_init_skcipher_ops_ablkcipher()
/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-aes-xts.c257 alg->cra_ablkcipher.setkey = ccp_aes_xts_setkey; in ccp_register_aes_xts_alg()
258 alg->cra_ablkcipher.encrypt = ccp_aes_xts_encrypt; in ccp_register_aes_xts_alg()
259 alg->cra_ablkcipher.decrypt = ccp_aes_xts_decrypt; in ccp_register_aes_xts_alg()
260 alg->cra_ablkcipher.min_keysize = AES_MIN_KEY_SIZE * 2; in ccp_register_aes_xts_alg()
261 alg->cra_ablkcipher.max_keysize = AES_MAX_KEY_SIZE * 2; in ccp_register_aes_xts_alg()
262 alg->cra_ablkcipher.ivsize = AES_BLOCK_SIZE; in ccp_register_aes_xts_alg()
Dccp-crypto-aes.c230 .cra_ablkcipher = {
251 .cra_ablkcipher = {
349 alg->cra_ablkcipher.ivsize = def->ivsize; in ccp_register_aes_alg()
Dccp-crypto-des3.c163 .cra_ablkcipher = {
225 alg->cra_ablkcipher.ivsize = def->ivsize; in ccp_register_des3_alg()
Dccp-crypto-aes-galois.c221 alg->base.cra_ablkcipher.ivsize = def->ivsize; in ccp_register_aes_aead()
/Linux-v4.19/include/crypto/internal/
Dskcipher.h191 if (alg->base.cra_ablkcipher.encrypt) in crypto_skcipher_alg_min_keysize()
192 return alg->base.cra_ablkcipher.min_keysize; in crypto_skcipher_alg_min_keysize()
204 if (alg->base.cra_ablkcipher.encrypt) in crypto_skcipher_alg_max_keysize()
205 return alg->base.cra_ablkcipher.max_keysize; in crypto_skcipher_alg_max_keysize()
/Linux-v4.19/include/crypto/
Dskcipher.h263 if (alg->base.cra_ablkcipher.encrypt) in crypto_skcipher_alg_ivsize()
264 return alg->base.cra_ablkcipher.ivsize; in crypto_skcipher_alg_ivsize()
290 if (alg->base.cra_ablkcipher.encrypt) in crypto_skcipher_alg_chunksize()
303 if (alg->base.cra_ablkcipher.encrypt) in crypto_skcipher_alg_walksize()
Dalgapi.h280 return &crypto_ablkcipher_tfm(tfm)->__crt_alg->cra_ablkcipher; in crypto_ablkcipher_alg()
/Linux-v4.19/drivers/crypto/qce/
Dablkcipher.c364 alg->cra_ablkcipher.ivsize = def->ivsize; in qce_ablkcipher_register_one()
365 alg->cra_ablkcipher.min_keysize = def->min_keysize; in qce_ablkcipher_register_one()
366 alg->cra_ablkcipher.max_keysize = def->max_keysize; in qce_ablkcipher_register_one()
367 alg->cra_ablkcipher.setkey = qce_ablkcipher_setkey; in qce_ablkcipher_register_one()
368 alg->cra_ablkcipher.encrypt = qce_ablkcipher_encrypt; in qce_ablkcipher_register_one()
369 alg->cra_ablkcipher.decrypt = qce_ablkcipher_decrypt; in qce_ablkcipher_register_one()
/Linux-v4.19/drivers/crypto/
Dpicoxcell_crypto.c888 ctx->key_len, ablk_req->info, alg->cra_ablkcipher.ivsize, in spacc_ablk_submit()
1249 .cra_ablkcipher = {
1276 .cra_ablkcipher = {
1302 .cra_ablkcipher = {
1329 .cra_ablkcipher = {
1355 .cra_ablkcipher = {
1382 .cra_ablkcipher = {
1596 .cra_ablkcipher = {
Dixp4xx_crypto.c1418 if (!cra->cra_ablkcipher.setkey) in ixp_module_init()
1419 cra->cra_ablkcipher.setkey = ablk_setkey; in ixp_module_init()
1420 if (!cra->cra_ablkcipher.encrypt) in ixp_module_init()
1421 cra->cra_ablkcipher.encrypt = ablk_encrypt; in ixp_module_init()
1422 if (!cra->cra_ablkcipher.decrypt) in ixp_module_init()
1423 cra->cra_ablkcipher.decrypt = ablk_decrypt; in ixp_module_init()
Dtalitos.c2705 .cra_ablkcipher = {
2721 .cra_ablkcipher = {
2738 .cra_ablkcipher = {
2755 .cra_ablkcipher = {
2771 .cra_ablkcipher = {
2788 .cra_ablkcipher = {
2805 .cra_ablkcipher = {
3155 alg->cra_ablkcipher.setkey = ablkcipher_setkey; in talitos_alg_alloc()
3156 alg->cra_ablkcipher.encrypt = ablkcipher_encrypt; in talitos_alg_alloc()
3157 alg->cra_ablkcipher.decrypt = ablkcipher_decrypt; in talitos_alg_alloc()
[all …]
/Linux-v4.19/drivers/crypto/bcm/
Dcipher.c3660 .cra_ablkcipher = {
3681 .cra_ablkcipher = {
3702 .cra_ablkcipher = {
3723 .cra_ablkcipher = {
3744 .cra_ablkcipher = {
3765 .cra_ablkcipher = {
3786 .cra_ablkcipher = {
3807 .cra_ablkcipher = {
3828 .cra_ablkcipher = {
3849 .cra_ablkcipher = {
[all …]
/Linux-v4.19/drivers/crypto/stm32/
Dstm32-cryp.c1734 .cra_ablkcipher = {
1754 .cra_ablkcipher = {
1775 .cra_ablkcipher = {
1796 .cra_ablkcipher = {
1816 .cra_ablkcipher = {
1837 .cra_ablkcipher = {
1857 .cra_ablkcipher = {
/Linux-v4.19/include/linux/
Dcrypto.h373 #define cra_ablkcipher cra_u.ablkcipher macro
/Linux-v4.19/drivers/crypto/caam/
Dcaamalg_qi.c2672 alg->cra_ablkcipher = template->template_ablkcipher; in caam_alg_alloc()
2676 alg->cra_ablkcipher = template->template_ablkcipher; in caam_alg_alloc()
Dcaamalg.c3381 alg->cra_ablkcipher = template->template_ablkcipher; in caam_alg_alloc()
3385 alg->cra_ablkcipher = template->template_ablkcipher; in caam_alg_alloc()