Lines Matching refs:iv
42 char *iv, __be64 rcd_sn,
58 buf_size = TLS_HEADER_SIZE + cipher_desc->iv;
69 len -= cipher_desc->iv;
73 memcpy(iv + cipher_desc->salt, buf + TLS_HEADER_SIZE, cipher_desc->iv);
104 aead_request_set_crypt(aead_req, sg_in, sg_out, len, iv);
133 struct scatterlist *sg_out, char *aad, char *iv,
143 rc = tls_enc_record(aead_req, aead, aad, iv,
305 void *buf, *iv, *aad, *dummy_buf, *salt;
317 buf_len = cipher_desc->salt + cipher_desc->iv + TLS_AAD_SPACE_SIZE +
323 iv = buf;
325 memcpy(iv, salt, cipher_desc->salt);
326 aad = buf + cipher_desc->salt + cipher_desc->iv;
338 if (tls_enc_records(aead_req, ctx->aead_send, sg_in, sg_out, aad, iv,