Lines Matching refs:iv
97 static inline struct aead_request *esp_tmp_req(struct crypto_aead *aead, u8 *iv) in esp_tmp_req() argument
101 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), in esp_tmp_req()
120 u8 *iv; in esp_ssg_unref() local
127 iv = esp_tmp_iv(aead, tmp, extralen); in esp_ssg_unref()
128 req = esp_tmp_req(aead, iv); in esp_ssg_unref()
571 u8 *iv; in esp6_output_tail() local
602 iv = esp_tmp_iv(aead, tmp, extralen); in esp6_output_tail()
603 req = esp_tmp_req(aead, iv); in esp6_output_tail()
655 aead_request_set_crypt(req, sg, dsg, ivlen + esp->clen, iv); in esp6_output_tail()
658 memset(iv, 0, ivlen); in esp6_output_tail()
659 memcpy(iv + ivlen - min(ivlen, 8), (u8 *)&esp->seqno + 8 - min(ivlen, 8), in esp6_output_tail()
941 u8 *iv; in esp6_input() local
989 iv = esp_tmp_iv(aead, tmp, seqhilen); in esp6_input()
990 req = esp_tmp_req(aead, iv); in esp6_input()
1009 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp6_input()