diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-01-26 14:29:06 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-01-26 14:29:06 +0000 |
commit | e92f9f45e87fb1ceae7cefa5d3d7fbb40dadf1f1 (patch) | |
tree | 0cd91016733248f5fb0368cd2ba0f7366a5ed9b1 /crypto/evp/evp.h | |
parent | 8c02119e391a6b723da94ade51a7bf085130fc55 (diff) |
Add flags functions which were added to 0.9.8 for fips but not 1.0.0 and
later.
Diffstat (limited to 'crypto/evp/evp.h')
-rw-r--r-- | crypto/evp/evp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h index f17730b5e2..9064164941 100644 --- a/crypto/evp/evp.h +++ b/crypto/evp/evp.h @@ -521,6 +521,10 @@ __owur int EVP_BytesToKey(const EVP_CIPHER *type,const EVP_MD *md, const unsigned char *salt, const unsigned char *data, int datal, int count, unsigned char *key,unsigned char *iv); +void EVP_CIPHER_CTX_set_flags(EVP_CIPHER_CTX *ctx, int flags); +void EVP_CIPHER_CTX_clear_flags(EVP_CIPHER_CTX *ctx, int flags); +int EVP_CIPHER_CTX_test_flags(const EVP_CIPHER_CTX *ctx,int flags); + __owur int EVP_EncryptInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv); __owur int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl, |