Lines Matching refs:cipher
107 struct scatterlist *cipher, in crypto_authenc_hash() argument
132 err = crypto_hash_update(&desc, cipher, cryptlen); in crypto_authenc_hash()
151 struct scatterlist cipher[2]; in crypto_authenc_genicv() local
162 sg_init_table(cipher, 2); in crypto_authenc_genicv()
163 sg_set_buf(cipher, iv, ivsize); in crypto_authenc_genicv()
164 authenc_chain(cipher, dst, vdst == iv + ivsize); in crypto_authenc_genicv()
165 dst = cipher; in crypto_authenc_genicv()
259 struct scatterlist *cipher, in crypto_authenc_verify() argument
267 ohash = crypto_authenc_hash(req, CRYPTO_TFM_REQ_MAY_SLEEP, cipher, in crypto_authenc_verify()
274 scatterwalk_map_and_copy(ihash, cipher, cryptlen, authsize, 0); in crypto_authenc_verify()
283 struct scatterlist cipher[2]; in crypto_authenc_iverify() local
292 sg_init_table(cipher, 2); in crypto_authenc_iverify()
293 sg_set_buf(cipher, iv, ivsize); in crypto_authenc_iverify()
294 authenc_chain(cipher, src, vsrc == iv + ivsize); in crypto_authenc_iverify()
295 src = cipher; in crypto_authenc_iverify()