Lines Matching refs:cipher
43 struct scatterlist cipher[2]; member
331 struct scatterlist *cipher = areq_ctx->cipher; in crypto_authenc_genicv() local
344 sg_init_table(cipher, 2); 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()
347 dst = cipher; in crypto_authenc_genicv()
488 struct scatterlist *cipher = areq_ctx->cipher; in crypto_authenc_iverify() local
499 sg_init_table(cipher, 2); 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()
502 src = cipher; in crypto_authenc_iverify()