/* * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html *//* We need to use some engine deprecated APIs */#define OPENSSL_SUPPRESS_DEPRECATED#include<stdio.h>#include<assert.h>#include"internal/cryptlib.h"#include<openssl/evp.h>#include<openssl/err.h>#include<openssl/rand.h>#include<openssl/engine.h>#include<openssl/params.h>#include<openssl/core_names.h>#include"crypto/evp.h"#include"internal/provider.h"#include"evp_local.h"intEVP_CIPHER_CTX_reset(EVP_CIPHER_CTX*ctx){if(ctx==NULL)return1;if