summaryrefslogtreecommitdiffstats
path: root/crypto/aes
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2004-05-19 14:16:33 +0000
committerRichard Levitte <levitte@openssl.org>2004-05-19 14:16:33 +0000
commit5affe206e1d96aa1085e18804b542c7cb93d64ab (patch)
tree00024055f185e3c9c9ca0b593a7d080a958b777f /crypto/aes
parent1f4eccaaa5dc69d55234263d3d1843f49021cb56 (diff)
Define FIPS_*_SIZE_T for AES, DSA and RSA as well, in preparation for
size_t-ification of those algorithms in future version of OpenSSL...
Diffstat (limited to 'crypto/aes')
-rw-r--r--crypto/aes/aes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/aes/aes.h b/crypto/aes/aes.h
index 5e177a3dd8..8a3ea0b883 100644
--- a/crypto/aes/aes.h
+++ b/crypto/aes/aes.h
@@ -52,6 +52,8 @@
#ifndef HEADER_AES_H
#define HEADER_AES_H
+#include <openssl/e_os2.h>
+
#ifdef OPENSSL_NO_AES
#error AES is disabled.
#endif
@@ -64,6 +66,10 @@
#define AES_MAXNR 14
#define AES_BLOCK_SIZE 16
+#if defined(OPENSSL_FIPS)
+#define FIPS_AES_SIZE_T int
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif