Lines Matching refs:alg
449 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_authenc_esn_create()
454 if (snprintf(inst->alg.base.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_authenc_esn_create()
459 inst->alg.base.cra_flags = enc->cra_flags & CRYPTO_ALG_ASYNC; in crypto_authenc_esn_create()
460 inst->alg.base.cra_priority = enc->cra_priority * 10 + in crypto_authenc_esn_create()
462 inst->alg.base.cra_blocksize = enc->cra_blocksize; in crypto_authenc_esn_create()
463 inst->alg.base.cra_alignmask = auth_base->cra_alignmask | in crypto_authenc_esn_create()
465 inst->alg.base.cra_ctxsize = sizeof(struct crypto_authenc_esn_ctx); in crypto_authenc_esn_create()
467 inst->alg.ivsize = enc->cra_ablkcipher.ivsize; in crypto_authenc_esn_create()
468 inst->alg.maxauthsize = auth->digestsize; in crypto_authenc_esn_create()
470 inst->alg.init = crypto_authenc_esn_init_tfm; in crypto_authenc_esn_create()
471 inst->alg.exit = crypto_authenc_esn_exit_tfm; in crypto_authenc_esn_create()
473 inst->alg.setkey = crypto_authenc_esn_setkey; in crypto_authenc_esn_create()
474 inst->alg.setauthsize = crypto_authenc_esn_setauthsize; in crypto_authenc_esn_create()
475 inst->alg.encrypt = crypto_authenc_esn_encrypt; in crypto_authenc_esn_create()
476 inst->alg.decrypt = crypto_authenc_esn_decrypt; in crypto_authenc_esn_create()