Lines Matching defs:iv
766 * @param iv the IV to use, NULL will use the previous value.
776 const void *key, const void *iv, int encp)
805 assert(EVP_CIPHER_CTX_iv_length(ctx) <= sizeof(ctx->iv));
807 if (iv)
808 memcpy(ctx->oiv, iv, EVP_CIPHER_CTX_iv_length(ctx));
809 memcpy(ctx->iv, ctx->oiv, EVP_CIPHER_CTX_iv_length(ctx));
814 if (iv)
815 memcpy(ctx->iv, iv, EVP_CIPHER_CTX_iv_length(ctx));
823 ctx->cipher->init(ctx, key, iv, encp);
983 const unsigned char * iv,
1369 unsigned char *iv = ivdata;
1420 if (iv) {
1421 memcpy(iv, &buf[i], sz);
1422 iv += sz;