Home
last modified time | relevance | path

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

/linux-4.4.14/crypto/
Dablkcipher.c365 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in crypto_init_ablkcipher_ops()
390 strncpy(rblkcipher.geniv, alg->cra_ablkcipher.geniv ?: "<default>", in crypto_ablkcipher_report()
394 rblkcipher.min_keysize = alg->cra_ablkcipher.min_keysize; in crypto_ablkcipher_report()
395 rblkcipher.max_keysize = alg->cra_ablkcipher.max_keysize; in crypto_ablkcipher_report()
396 rblkcipher.ivsize = alg->cra_ablkcipher.ivsize; in crypto_ablkcipher_report()
417 struct ablkcipher_alg *ablkcipher = &alg->cra_ablkcipher; in crypto_ablkcipher_show()
447 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in crypto_init_givcipher_ops()
471 strncpy(rblkcipher.geniv, alg->cra_ablkcipher.geniv ?: "<built-in>", in crypto_givcipher_report()
475 rblkcipher.min_keysize = alg->cra_ablkcipher.min_keysize; in crypto_givcipher_report()
476 rblkcipher.max_keysize = alg->cra_ablkcipher.max_keysize; in crypto_givcipher_report()
[all …]
Dctr.c373 if (alg->cra_ablkcipher.ivsize != CTR_RFC3686_BLOCK_SIZE) in crypto_rfc3686_alloc()
397 inst->alg.cra_ablkcipher.ivsize = CTR_RFC3686_IV_SIZE; in crypto_rfc3686_alloc()
398 inst->alg.cra_ablkcipher.min_keysize = in crypto_rfc3686_alloc()
399 alg->cra_ablkcipher.min_keysize + CTR_RFC3686_NONCE_SIZE; in crypto_rfc3686_alloc()
400 inst->alg.cra_ablkcipher.max_keysize = in crypto_rfc3686_alloc()
401 alg->cra_ablkcipher.max_keysize + CTR_RFC3686_NONCE_SIZE; in crypto_rfc3686_alloc()
403 inst->alg.cra_ablkcipher.geniv = "seqiv"; in crypto_rfc3686_alloc()
405 inst->alg.cra_ablkcipher.setkey = crypto_rfc3686_setkey; in crypto_rfc3686_alloc()
406 inst->alg.cra_ablkcipher.encrypt = crypto_rfc3686_crypt; in crypto_rfc3686_alloc()
407 inst->alg.cra_ablkcipher.decrypt = crypto_rfc3686_crypt; in crypto_rfc3686_alloc()
Dblkcipher.c644 balg.ivsize = alg->cra_ablkcipher.ivsize; in skcipher_geniv_alloc()
645 balg.min_keysize = alg->cra_ablkcipher.min_keysize; in skcipher_geniv_alloc()
646 balg.max_keysize = alg->cra_ablkcipher.max_keysize; in skcipher_geniv_alloc()
648 balg.setkey = alg->cra_ablkcipher.setkey; in skcipher_geniv_alloc()
649 balg.encrypt = alg->cra_ablkcipher.encrypt; in skcipher_geniv_alloc()
650 balg.decrypt = alg->cra_ablkcipher.decrypt; in skcipher_geniv_alloc()
652 balg.geniv = alg->cra_ablkcipher.geniv; in skcipher_geniv_alloc()
693 inst->alg.cra_ablkcipher.ivsize = balg.ivsize; in skcipher_geniv_alloc()
694 inst->alg.cra_ablkcipher.min_keysize = balg.min_keysize; in skcipher_geniv_alloc()
695 inst->alg.cra_ablkcipher.max_keysize = balg.max_keysize; in skcipher_geniv_alloc()
[all …]
Dskcipher.c165 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in skcipher_encrypt_ablkcipher()
174 struct ablkcipher_alg *alg = &tfm->__crt_alg->cra_ablkcipher; in skcipher_decrypt_ablkcipher()
214 skcipher->has_setkey = calg->cra_ablkcipher.max_keysize; in crypto_init_skcipher_ops_ablkcipher()
Deseqiv.c202 if (inst->alg.cra_ablkcipher.ivsize != inst->alg.cra_blocksize) in eseqiv_alloc()
209 inst->alg.cra_ctxsize += inst->alg.cra_ablkcipher.ivsize; in eseqiv_alloc()
Dcryptd.c376 inst->alg.cra_ablkcipher.ivsize = alg->cra_blkcipher.ivsize; in cryptd_create_blkcipher()
377 inst->alg.cra_ablkcipher.min_keysize = alg->cra_blkcipher.min_keysize; in cryptd_create_blkcipher()
378 inst->alg.cra_ablkcipher.max_keysize = alg->cra_blkcipher.max_keysize; in cryptd_create_blkcipher()
380 inst->alg.cra_ablkcipher.geniv = alg->cra_blkcipher.geniv; in cryptd_create_blkcipher()
387 inst->alg.cra_ablkcipher.setkey = cryptd_blkcipher_setkey; in cryptd_create_blkcipher()
388 inst->alg.cra_ablkcipher.encrypt = cryptd_blkcipher_encrypt_enqueue; in cryptd_create_blkcipher()
389 inst->alg.cra_ablkcipher.decrypt = cryptd_blkcipher_decrypt_enqueue; in cryptd_create_blkcipher()
Dseqiv.c265 if (inst->alg.cra_ablkcipher.ivsize < sizeof(u64)) in seqiv_ablkcipher_create()
271 inst->alg.cra_ctxsize += inst->alg.cra_ablkcipher.ivsize; in seqiv_ablkcipher_create()
Dalgboss.c255 alg->cra_ablkcipher.ivsize)) in cryptomgr_schedule_test()
Dchainiv.c289 inst->alg.cra_ctxsize += inst->alg.cra_ablkcipher.ivsize; in chainiv_alloc()
Dauthenc.c454 inst->alg.ivsize = enc->cra_ablkcipher.ivsize; in crypto_authenc_create()
Dauthencesn.c467 inst->alg.ivsize = enc->cra_ablkcipher.ivsize; in crypto_authenc_esn_create()
Dchacha20poly1305.c628 if (chacha->cra_ablkcipher.ivsize != CHACHA20_IV_SIZE) in chachapoly_create()
Dccm.c561 if (ctr->cra_ablkcipher.ivsize != 16) in crypto_ccm_create_common()
Dgcm.c673 if (ctr->cra_ablkcipher.ivsize != 16) in crypto_gcm_create_common()
/linux-4.4.14/drivers/crypto/ccp/
Dccp-crypto-aes-xts.c250 alg->cra_ablkcipher.setkey = ccp_aes_xts_setkey; in ccp_register_aes_xts_alg()
251 alg->cra_ablkcipher.encrypt = ccp_aes_xts_encrypt; in ccp_register_aes_xts_alg()
252 alg->cra_ablkcipher.decrypt = ccp_aes_xts_decrypt; in ccp_register_aes_xts_alg()
253 alg->cra_ablkcipher.min_keysize = AES_MIN_KEY_SIZE * 2; in ccp_register_aes_xts_alg()
254 alg->cra_ablkcipher.max_keysize = AES_MAX_KEY_SIZE * 2; in ccp_register_aes_xts_alg()
255 alg->cra_ablkcipher.ivsize = AES_BLOCK_SIZE; in ccp_register_aes_xts_alg()
Dccp-crypto-aes.c230 .cra_ablkcipher = {
251 .cra_ablkcipher = {
342 alg->cra_ablkcipher.ivsize = def->ivsize; in ccp_register_aes_alg()
/linux-4.4.14/drivers/crypto/qce/
Dablkcipher.c354 alg->cra_ablkcipher.ivsize = def->ivsize; in qce_ablkcipher_register_one()
355 alg->cra_ablkcipher.min_keysize = def->min_keysize; in qce_ablkcipher_register_one()
356 alg->cra_ablkcipher.max_keysize = def->max_keysize; in qce_ablkcipher_register_one()
357 alg->cra_ablkcipher.setkey = qce_ablkcipher_setkey; in qce_ablkcipher_register_one()
358 alg->cra_ablkcipher.encrypt = qce_ablkcipher_encrypt; in qce_ablkcipher_register_one()
359 alg->cra_ablkcipher.decrypt = qce_ablkcipher_decrypt; in qce_ablkcipher_register_one()
/linux-4.4.14/arch/arm64/crypto/
Daes-glue.c371 .cra_ablkcipher = {
391 .cra_ablkcipher = {
411 .cra_ablkcipher = {
431 .cra_ablkcipher = {
/linux-4.4.14/arch/arm/crypto/
Daes-ce-glue.c441 .cra_ablkcipher = {
461 .cra_ablkcipher = {
481 .cra_ablkcipher = {
501 .cra_ablkcipher = {
Daesbs-glue.c369 .cra_ablkcipher = {
389 .cra_ablkcipher = {
409 .cra_ablkcipher = {
/linux-4.4.14/drivers/crypto/
Dpicoxcell_crypto.c864 ctx->key_len, ablk_req->info, alg->cra_ablkcipher.ivsize, in spacc_ablk_submit()
1227 .cra_ablkcipher = {
1254 .cra_ablkcipher = {
1280 .cra_ablkcipher = {
1307 .cra_ablkcipher = {
1333 .cra_ablkcipher = {
1360 .cra_ablkcipher = {
1574 .cra_ablkcipher = {
Dixp4xx_crypto.c1422 if (!cra->cra_ablkcipher.setkey) in ixp_module_init()
1423 cra->cra_ablkcipher.setkey = ablk_setkey; in ixp_module_init()
1424 if (!cra->cra_ablkcipher.encrypt) in ixp_module_init()
1425 cra->cra_ablkcipher.encrypt = ablk_encrypt; in ixp_module_init()
1426 if (!cra->cra_ablkcipher.decrypt) in ixp_module_init()
1427 cra->cra_ablkcipher.decrypt = ablk_decrypt; in ixp_module_init()
Dtalitos.c2369 .cra_ablkcipher = {
2386 .cra_ablkcipher = {
2747 alg->cra_ablkcipher.setkey = ablkcipher_setkey; in talitos_alg_alloc()
2748 alg->cra_ablkcipher.encrypt = ablkcipher_encrypt; in talitos_alg_alloc()
2749 alg->cra_ablkcipher.decrypt = ablkcipher_decrypt; in talitos_alg_alloc()
2750 alg->cra_ablkcipher.geniv = "eseqiv"; in talitos_alg_alloc()
/linux-4.4.14/drivers/crypto/sunxi-ss/
Dsun4i-ss-core.c98 .cra_ablkcipher = {
120 .cra_ablkcipher = {
/linux-4.4.14/include/crypto/
Dalgapi.h232 return &crypto_ablkcipher_tfm(tfm)->__crt_alg->cra_ablkcipher; in crypto_ablkcipher_alg()
/linux-4.4.14/include/linux/
Dcrypto.h361 #define cra_ablkcipher cra_u.ablkcipher macro
/linux-4.4.14/drivers/crypto/caam/
Dcaamalg.c4450 alg->cra_ablkcipher = template->template_ablkcipher; in caam_alg_alloc()
4454 alg->cra_ablkcipher = template->template_ablkcipher; in caam_alg_alloc()