Lines Matching refs:ivsize
333 unsigned int ivsize = crypto_aead_ivsize(authenc); in crypto_authenc_genicv() local
343 if (ivsize) { in crypto_authenc_genicv()
345 sg_set_buf(cipher, iv, ivsize); in crypto_authenc_genicv()
346 scatterwalk_crypto_chain(cipher, dst, vdst == iv + ivsize, 2); in crypto_authenc_genicv()
348 cryptlen += ivsize; in crypto_authenc_genicv()
490 unsigned int ivsize = crypto_aead_ivsize(authenc); in crypto_authenc_iverify() local
498 if (ivsize) { in crypto_authenc_iverify()
500 sg_set_buf(cipher, iv, ivsize); in crypto_authenc_iverify()
501 scatterwalk_crypto_chain(cipher, src, vsrc == iv + ivsize, 2); in crypto_authenc_iverify()
503 cryptlen += ivsize; in crypto_authenc_iverify()
665 inst->alg.cra_aead.ivsize = enc->cra_ablkcipher.ivsize; in crypto_authenc_alloc()