in source/evp_override.c [442:463]
int EVP_CipherInit_ex(
EVP_CIPHER_CTX *ctx,
const EVP_CIPHER *cipher,
ENGINE *impl,
const unsigned char *key,
const unsigned char *iv,
int enc) {
assert(ctx != NULL);
assert(enc == 0 || enc == 1 || enc == -1);
if (enc != -1) {
ctx->encrypt = enc;
}
if (cipher) {
ctx->cipher = cipher;
}
if (iv) {
ctx->iv_set = true;
}
int rv;
__CPROVER_assume(rv == 0 || rv == 1);
return rv;
}