diff --git a/include/mbedtls/md2.h b/include/mbedtls/md2.h index 705a3219f..af400dbed 100644 --- a/include/mbedtls/md2.h +++ b/include/mbedtls/md2.h @@ -50,9 +50,6 @@ typedef struct unsigned char cksum[16]; /*!< checksum of the data block */ unsigned char state[48]; /*!< intermediate digest state */ unsigned char buffer[16]; /*!< data block being processed */ - - unsigned char ipad[16]; /*!< HMAC: inner padding */ - unsigned char opad[16]; /*!< HMAC: outer padding */ size_t left; /*!< amount of data in buffer */ } md2_context; diff --git a/include/mbedtls/md4.h b/include/mbedtls/md4.h index 1b62d3eb2..30b904c86 100644 --- a/include/mbedtls/md4.h +++ b/include/mbedtls/md4.h @@ -57,9 +57,6 @@ typedef struct uint32_t total[2]; /*!< number of bytes processed */ uint32_t state[4]; /*!< intermediate digest state */ unsigned char buffer[64]; /*!< data block being processed */ - - unsigned char ipad[64]; /*!< HMAC: inner padding */ - unsigned char opad[64]; /*!< HMAC: outer padding */ } md4_context; diff --git a/include/mbedtls/md5.h b/include/mbedtls/md5.h index f07813db9..aa649ea80 100644 --- a/include/mbedtls/md5.h +++ b/include/mbedtls/md5.h @@ -57,9 +57,6 @@ typedef struct uint32_t total[2]; /*!< number of bytes processed */ uint32_t state[4]; /*!< intermediate digest state */ unsigned char buffer[64]; /*!< data block being processed */ - - unsigned char ipad[64]; /*!< HMAC: inner padding */ - unsigned char opad[64]; /*!< HMAC: outer padding */ } md5_context; diff --git a/include/mbedtls/ripemd160.h b/include/mbedtls/ripemd160.h index c7d1de901..48db85316 100644 --- a/include/mbedtls/ripemd160.h +++ b/include/mbedtls/ripemd160.h @@ -57,9 +57,6 @@ typedef struct uint32_t total[2]; /*!< number of bytes processed */ uint32_t state[5]; /*!< intermediate digest state */ unsigned char buffer[64]; /*!< data block being processed */ - - unsigned char ipad[64]; /*!< HMAC: inner padding */ - unsigned char opad[64]; /*!< HMAC: outer padding */ } ripemd160_context; diff --git a/include/mbedtls/sha1.h b/include/mbedtls/sha1.h index 8206bb106..397888331 100644 --- a/include/mbedtls/sha1.h +++ b/include/mbedtls/sha1.h @@ -57,9 +57,6 @@ typedef struct uint32_t total[2]; /*!< number of bytes processed */ uint32_t state[5]; /*!< intermediate digest state */ unsigned char buffer[64]; /*!< data block being processed */ - - unsigned char ipad[64]; /*!< HMAC: inner padding */ - unsigned char opad[64]; /*!< HMAC: outer padding */ } sha1_context; diff --git a/include/mbedtls/sha256.h b/include/mbedtls/sha256.h index 0a3b8a688..ff511ad90 100644 --- a/include/mbedtls/sha256.h +++ b/include/mbedtls/sha256.h @@ -57,9 +57,6 @@ typedef struct uint32_t total[2]; /*!< number of bytes processed */ uint32_t state[8]; /*!< intermediate digest state */ unsigned char buffer[64]; /*!< data block being processed */ - - unsigned char ipad[64]; /*!< HMAC: inner padding */ - unsigned char opad[64]; /*!< HMAC: outer padding */ int is224; /*!< 0 => SHA-256, else SHA-224 */ } sha256_context; diff --git a/include/mbedtls/sha512.h b/include/mbedtls/sha512.h index 563ef97bf..c5cb11b49 100644 --- a/include/mbedtls/sha512.h +++ b/include/mbedtls/sha512.h @@ -56,9 +56,6 @@ typedef struct uint64_t total[2]; /*!< number of bytes processed */ uint64_t state[8]; /*!< intermediate digest state */ unsigned char buffer[128]; /*!< data block being processed */ - - unsigned char ipad[128]; /*!< HMAC: inner padding */ - unsigned char opad[128]; /*!< HMAC: outer padding */ int is384; /*!< 0 => SHA-512, else SHA-384 */ } sha512_context;