Lines Matching refs:iv
80 static inline struct aead_request *esp_tmp_req(struct crypto_aead *aead, u8 *iv) in esp_tmp_req() argument
84 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), in esp_tmp_req()
102 u8 *iv; in esp_ssg_unref() local
109 iv = esp_tmp_iv(aead, tmp, extralen); in esp_ssg_unref()
110 req = esp_tmp_req(aead, iv); in esp_ssg_unref()
535 u8 *iv; in esp_output_tail() local
566 iv = esp_tmp_iv(aead, tmp, extralen); in esp_output_tail()
567 req = esp_tmp_req(aead, iv); in esp_output_tail()
619 aead_request_set_crypt(req, sg, dsg, ivlen + esp->clen, iv); in esp_output_tail()
622 memset(iv, 0, ivlen); in esp_output_tail()
623 memcpy(iv + ivlen - min(ivlen, 8), (u8 *)&esp->seqno + 8 - min(ivlen, 8), in esp_output_tail()
897 u8 *iv; in esp_input() local
942 iv = esp_tmp_iv(aead, tmp, seqhilen); in esp_input()
943 req = esp_tmp_req(aead, iv); in esp_input()
962 aead_request_set_crypt(req, sg, sg, elen + ivlen, iv); in esp_input()