Lines Matching refs:iv
134 ENGINE *engine, const uint8_t *key, const uint8_t *iv,
197 assert(EVP_CIPHER_CTX_iv_length(ctx) <= sizeof(ctx->iv));
198 if (iv) {
199 OPENSSL_memcpy(ctx->oiv, iv, EVP_CIPHER_CTX_iv_length(ctx));
201 OPENSSL_memcpy(ctx->iv, ctx->oiv, EVP_CIPHER_CTX_iv_length(ctx));
208 if (iv) {
209 OPENSSL_memcpy(ctx->iv, iv, EVP_CIPHER_CTX_iv_length(ctx));
219 if (!ctx->cipher->init(ctx, key, iv, enc)) {
231 ENGINE *impl, const uint8_t *key, const uint8_t *iv) {
232 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 1);
236 ENGINE *impl, const uint8_t *key, const uint8_t *iv) {
237 return EVP_CipherInit_ex(ctx, cipher, impl, key, iv, 0);
598 const uint8_t *key, const uint8_t *iv, int enc) {
602 return EVP_CipherInit_ex(ctx, cipher, NULL, key, iv, enc);
606 const uint8_t *key, const uint8_t *iv) {
607 return EVP_CipherInit(ctx, cipher, key, iv, 1);
611 const uint8_t *key, const uint8_t *iv) {
612 return EVP_CipherInit(ctx, cipher, key, iv, 0);