Home
last modified time | relevance | path

Searched refs:cra_blkcipher (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/crypto/
Dblkcipher.c376 struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; in setkey_unaligned()
397 struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; in setkey()
420 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in async_encrypt()
434 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in async_decrypt()
447 struct blkcipher_alg *cipher = &alg->cra_blkcipher; in crypto_blkcipher_ctxsize()
462 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops_async()
476 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops_sync()
494 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in crypto_init_blkcipher_ops()
511 strncpy(rblkcipher.geniv, alg->cra_blkcipher.geniv ?: "<default>", in crypto_blkcipher_report()
516 rblkcipher.min_keysize = alg->cra_blkcipher.min_keysize; in crypto_blkcipher_report()
[all …]
Decb.c143 inst->alg.cra_blkcipher.min_keysize = alg->cra_cipher.cia_min_keysize; in crypto_ecb_alloc()
144 inst->alg.cra_blkcipher.max_keysize = alg->cra_cipher.cia_max_keysize; in crypto_ecb_alloc()
151 inst->alg.cra_blkcipher.setkey = crypto_ecb_setkey; in crypto_ecb_alloc()
152 inst->alg.cra_blkcipher.encrypt = crypto_ecb_encrypt; in crypto_ecb_alloc()
153 inst->alg.cra_blkcipher.decrypt = crypto_ecb_decrypt; in crypto_ecb_alloc()
Dkeywrap.c340 inst->alg.cra_blkcipher.ivsize = SEMIBSIZE; in crypto_kw_alloc()
341 inst->alg.cra_blkcipher.min_keysize = alg->cra_cipher.cia_min_keysize; in crypto_kw_alloc()
342 inst->alg.cra_blkcipher.max_keysize = alg->cra_cipher.cia_max_keysize; in crypto_kw_alloc()
349 inst->alg.cra_blkcipher.setkey = crypto_kw_setkey; in crypto_kw_alloc()
350 inst->alg.cra_blkcipher.encrypt = crypto_kw_encrypt; in crypto_kw_alloc()
351 inst->alg.cra_blkcipher.decrypt = crypto_kw_decrypt; in crypto_kw_alloc()
Dctr.c223 inst->alg.cra_blkcipher.ivsize = alg->cra_blocksize; in crypto_ctr_alloc()
224 inst->alg.cra_blkcipher.min_keysize = alg->cra_cipher.cia_min_keysize; in crypto_ctr_alloc()
225 inst->alg.cra_blkcipher.max_keysize = alg->cra_cipher.cia_max_keysize; in crypto_ctr_alloc()
232 inst->alg.cra_blkcipher.setkey = crypto_ctr_setkey; in crypto_ctr_alloc()
233 inst->alg.cra_blkcipher.encrypt = crypto_ctr_crypt; in crypto_ctr_alloc()
234 inst->alg.cra_blkcipher.decrypt = crypto_ctr_crypt; in crypto_ctr_alloc()
236 inst->alg.cra_blkcipher.geniv = "chainiv"; in crypto_ctr_alloc()
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()
Dskcipher.c629 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in skcipher_encrypt_blkcipher()
638 struct blkcipher_alg *alg = &tfm->__crt_alg->cra_blkcipher; in skcipher_decrypt_blkcipher()
677 skcipher->keysize = calg->cra_blkcipher.max_keysize; in crypto_init_skcipher_ops_blkcipher()
/Linux-v4.19/include/crypto/internal/
Dskcipher.h189 return alg->base.cra_blkcipher.min_keysize; in crypto_skcipher_alg_min_keysize()
202 return alg->base.cra_blkcipher.max_keysize; in crypto_skcipher_alg_max_keysize()
/Linux-v4.19/drivers/crypto/nx/
Dnx-aes-ecb.c142 .cra_blkcipher = {
Dnx-aes-cbc.c142 .cra_blkcipher = {
Dnx-aes-ctr.c158 .cra_blkcipher = {
/Linux-v4.19/drivers/crypto/vmx/
Daes_ctr.c176 .cra_blkcipher = {
Daes_xts.c182 .cra_blkcipher = {
Daes_cbc.c184 .cra_blkcipher = {
/Linux-v4.19/include/crypto/
Dskcipher.h261 return alg->base.cra_blkcipher.ivsize; in crypto_skcipher_alg_ivsize()
/Linux-v4.19/include/linux/
Dcrypto.h374 #define cra_blkcipher cra_u.blkcipher macro
1205 return &crypto_blkcipher_tfm(tfm)->__crt_alg->cra_blkcipher; in crypto_blkcipher_alg()