summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2019-11-29 12:02:54 +0000
committerMatt Caswell <matt@openssl.org>2019-12-04 17:46:38 +0000
commit7573fe1af54c190ccd8d07d753b334637a30f3a2 (patch)
tree0b59cee6251765cd28f9fd600818a3ab3512e695 /include
parent67b8f5bdbf95ad4def2dd27c220545b15d847aae (diff)
Deprecate the AES_ige_*() functions
These functions were already partially deprecated. Now we do it fully. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/10558)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/aes.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/include/openssl/aes.h b/include/openssl/aes.h
index a21e72d473..510edce18d 100644
--- a/include/openssl/aes.h
+++ b/include/openssl/aes.h
@@ -73,17 +73,18 @@ void AES_cfb8_encrypt(const unsigned char *in, unsigned char *out,
void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out,
size_t length, const AES_KEY *key,
unsigned char *ivec, int *num);
-# ifndef OPENSSL_NO_DEPRECATED_3_0
+
/* NB: the IV is _two_ blocks long */
-void AES_ige_encrypt(const unsigned char *in, unsigned char *out,
- size_t length, const AES_KEY *key,
- unsigned char *ivec, const int enc);
+DEPRECATEDIN_3_0(void
+ AES_ige_encrypt(const unsigned char *in, unsigned char *out,
+ size_t length, const AES_KEY *key,
+ unsigned char *ivec, const int enc))
/* NB: the IV is _four_ blocks long */
-void AES_bi_ige_encrypt(const unsigned char *in, unsigned char *out,
- size_t length, const AES_KEY *key,
- const AES_KEY *key2, const unsigned char *ivec,
- const int enc);
-# endif
+DEPRECATEDIN_3_0(void
+ AES_bi_ige_encrypt(const unsigned char *in, unsigned char *out,
+ size_t length, const AES_KEY *key,
+ const AES_KEY *key2,
+ const unsigned char *ivec, const int enc))
int AES_wrap_key(AES_KEY *key, const unsigned char *iv,
unsigned char *out,