Lines Matching refs:ivsize
416 unsigned int ivsize = crypto_aead_ivsize(authenc_esn); in crypto_authenc_esn_genicv() local
425 if (ivsize) { in crypto_authenc_esn_genicv()
427 sg_set_buf(cipher, iv, ivsize); in crypto_authenc_esn_genicv()
428 scatterwalk_crypto_chain(cipher, dst, vdst == iv + ivsize, 2); in crypto_authenc_esn_genicv()
430 cryptlen += ivsize; in crypto_authenc_esn_genicv()
586 unsigned int ivsize = crypto_aead_ivsize(authenc_esn); in crypto_authenc_esn_iverify() local
593 if (ivsize) { in crypto_authenc_esn_iverify()
595 sg_set_buf(cipher, iv, ivsize); in crypto_authenc_esn_iverify()
596 scatterwalk_crypto_chain(cipher, src, vsrc == iv + ivsize, 2); in crypto_authenc_esn_iverify()
598 cryptlen += ivsize; in crypto_authenc_esn_iverify()
776 inst->alg.cra_aead.ivsize = enc->cra_ablkcipher.ivsize; in crypto_authenc_esn_alloc()