Lines Matching defs:iv
95 const unsigned char *key, const unsigned char *iv, int enc)
99 return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc);
104 const unsigned char *iv, int enc)
178 return FIPS_cipherinit(ctx, cipher, key, iv, enc);
209 return FIPS_cipherinit(ctx, cipher, key, iv, enc);
238 (int)sizeof(ctx->iv));
239 if (iv)
240 memcpy(ctx->oiv, iv, EVP_CIPHER_CTX_iv_length(ctx));
241 memcpy(ctx->iv, ctx->oiv, EVP_CIPHER_CTX_iv_length(ctx));
247 if (iv)
248 memcpy(ctx->iv, iv, EVP_CIPHER_CTX_iv_length(ctx));
258 if (!ctx->cipher->init(ctx, key, iv, enc))
293 const unsigned char *key, const unsigned char *iv)
295 return EVP_CipherInit(ctx, cipher, key, iv, 1);
300 const unsigned char *iv)
302 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 1);
306 const unsigned char *key, const unsigned char *iv)
308 return EVP_CipherInit(ctx, cipher, key, iv, 0);
313 const unsigned char *iv)
315 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 0);