Lines Matching defs:iv
75 __le32 iv[AES_IV_SIZE];
81 crypto4xx_memcpy_to_le32(iv, req->iv, ivlen);
84 req->cryptlen, iv, ivlen, decrypt ? ctx->sa_in : ctx->sa_out,
212 __le32 iv[AES_IV_SIZE / 4] = {
214 cpu_to_le32p((u32 *) req->iv),
215 cpu_to_le32p((u32 *) (req->iv + 4)),
219 req->cryptlen, iv, AES_IV_SIZE,
227 __le32 iv[AES_IV_SIZE / 4] = {
229 cpu_to_le32p((u32 *) req->iv),
230 cpu_to_le32p((u32 *) (req->iv + 4)),
234 req->cryptlen, iv, AES_IV_SIZE,
244 unsigned int counter = be32_to_cpup((__be32 *)(req->iv + iv_len - 4));
262 req->cryptlen, req->iv);
331 if (is_ccm && !(req->iv[0] == 1 || req->iv[0] == 3))
346 req->iv);
432 __le32 iv[16];
446 if (req->iv[0] == 1) {
451 iv[3] = cpu_to_le32(0);
452 crypto4xx_memcpy_to_le32(iv, req->iv, 16 - (req->iv[0] + 1));
455 len, iv, sizeof(iv),
578 __le32 iv[4];
587 crypto4xx_memcpy_to_le32(iv, req->iv, GCM_AES_IV_SIZE);
588 iv[3] = cpu_to_le32(1);
591 len, iv, sizeof(iv),