Lines Matching refs:assoclen
956 if (unlikely(req->assoclen != 16 && req->assoclen != 20)) in helper_rfc4106_encrypt()
973 src = assoc + req->assoclen; in helper_rfc4106_encrypt()
977 dst = scatterwalk_map(&dst_sg_walk) + req->assoclen; in helper_rfc4106_encrypt()
981 assoc = kmalloc(req->cryptlen + auth_tag_len + req->assoclen, in helper_rfc4106_encrypt()
986 req->assoclen + req->cryptlen, 0); in helper_rfc4106_encrypt()
987 src = assoc + req->assoclen; in helper_rfc4106_encrypt()
993 ctx->hash_subkey, assoc, req->assoclen - 8, in helper_rfc4106_encrypt()
1001 scatterwalk_unmap(dst - req->assoclen); in helper_rfc4106_encrypt()
1009 scatterwalk_map_and_copy(dst, req->dst, req->assoclen, in helper_rfc4106_encrypt()
1033 if (unlikely(req->assoclen != 16 && req->assoclen != 20)) in helper_rfc4106_decrypt()
1055 src = assoc + req->assoclen; in helper_rfc4106_decrypt()
1059 dst = scatterwalk_map(&dst_sg_walk) + req->assoclen; in helper_rfc4106_decrypt()
1064 assoc = kmalloc(req->cryptlen + req->assoclen, GFP_ATOMIC); in helper_rfc4106_decrypt()
1068 req->assoclen + req->cryptlen, 0); in helper_rfc4106_decrypt()
1069 src = assoc + req->assoclen; in helper_rfc4106_decrypt()
1075 ctx->hash_subkey, assoc, req->assoclen - 8, in helper_rfc4106_decrypt()
1085 scatterwalk_unmap(dst - req->assoclen); in helper_rfc4106_decrypt()
1093 scatterwalk_map_and_copy(dst, req->dst, req->assoclen, in helper_rfc4106_decrypt()