Lines Matching refs:alg
405 if (snprintf(inst->alg.base.cra_name, CRYPTO_MAX_ALG_NAME, in crypto_authenc_esn_create()
410 if (snprintf(inst->alg.base.cra_driver_name, CRYPTO_MAX_ALG_NAME, in crypto_authenc_esn_create()
415 inst->alg.base.cra_priority = enc->base.cra_priority * 10 + in crypto_authenc_esn_create()
417 inst->alg.base.cra_blocksize = enc->base.cra_blocksize; in crypto_authenc_esn_create()
418 inst->alg.base.cra_alignmask = enc->base.cra_alignmask; in crypto_authenc_esn_create()
419 inst->alg.base.cra_ctxsize = sizeof(struct crypto_authenc_esn_ctx); in crypto_authenc_esn_create()
421 inst->alg.ivsize = enc->ivsize; in crypto_authenc_esn_create()
422 inst->alg.chunksize = enc->chunksize; in crypto_authenc_esn_create()
423 inst->alg.maxauthsize = auth->digestsize; in crypto_authenc_esn_create()
425 inst->alg.init = crypto_authenc_esn_init_tfm; in crypto_authenc_esn_create()
426 inst->alg.exit = crypto_authenc_esn_exit_tfm; in crypto_authenc_esn_create()
428 inst->alg.setkey = crypto_authenc_esn_setkey; in crypto_authenc_esn_create()
429 inst->alg.setauthsize = crypto_authenc_esn_setauthsize; in crypto_authenc_esn_create()
430 inst->alg.encrypt = crypto_authenc_esn_encrypt; in crypto_authenc_esn_create()
431 inst->alg.decrypt = crypto_authenc_esn_decrypt; in crypto_authenc_esn_create()