Searched refs:iv_size (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/
H A Dcrypto.c102 const int iv_size = cipher_ctx_iv_length (ctx->cipher); local
112 prng_bytes (iv_buf, iv_size);
131 memset (iv_buf, 0, iv_size);
132 buf_set_write (&b, iv_buf, iv_size);
145 dmsg (D_PACKET_CONTENT, "ENCRYPT IV: %s", format_hex (iv_buf, iv_size, 0, &gc));
174 ASSERT (outlen == iv_size);
179 uint8_t *output = buf_prepend (&work, iv_size);
181 memcpy (output, iv_buf, iv_size);
276 const int iv_size = cipher_ctx_iv_length (ctx->cipher); local
287 if (buf->len < iv_size)
[all...]
H A Dcrypto_polarssl.c401 return cipher_kt->iv_size;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/
H A Ddm-crypt.c119 unsigned int iv_size; member in struct:crypt_config
177 memset(iv, 0, cc->iv_size);
186 memset(iv, 0, cc->iv_size);
297 memset(iv, 0, cc->iv_size);
335 memset(iv, 0, cc->iv_size - sizeof(u64)); /* rest is cleared below */
338 put_unaligned(val, (__be64 *)(iv + cc->iv_size - sizeof(u64)));
345 memset(iv, 0, cc->iv_size);
1117 cc->iv_size = crypto_ablkcipher_ivsize(cc->tfm);
1118 if (cc->iv_size)
1120 cc->iv_size
[all...]

Completed in 77 milliseconds