Lines Matching defs:iv
112 const AES_KEY *key, unsigned char iv[16],
119 const unsigned char *iv, int enc)
185 iv = 0, /* explicit IV in TLS 1.1 and later */
204 iv = AES_BLOCK_SIZE;
207 if (plen>(sha_off+iv) && (blocks=(plen-(sha_off+iv))/SHA_CBLOCK)) {
208 SHA1_Update(&key->md,in+iv,sha_off);
211 ctx->iv,&key->md,in+iv+sha_off);
222 sha_off += iv;
240 &key->ks,ctx->iv,1);
243 &key->ks,ctx->iv,1);
254 &key->ks,ctx->iv,0);
266 iv = AES_BLOCK_SIZE;
268 if (len<(iv+SHA_DIGEST_LENGTH+1))
271 /* omit explicit iv */
272 out += iv;
273 len -= iv;