Skip to content

Commit

Permalink
Fix comments to pass util/doc.go validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrice Benhamouda committed Aug 7, 2024
1 parent b8545b8 commit 079c867
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions include/openssl/hmac.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,21 @@ OPENSSL_EXPORT void HMAC_CTX_reset(HMAC_CTX *ctx);

// Precomputed key functions

// HMAC_xxx_PRECOMPUTED_KEY_SIZE is the precomputed key size
// for hash function xxx, in bytes.
// HMAC_MD5_PRECOMPUTED_KEY_SIZE is the precomputed key size for MD5, in bytes
#define HMAC_MD5_PRECOMPUTED_KEY_SIZE 32
// HMAC_SHA1_PRECOMPUTED_KEY_SIZE is the precomputed key size for SHA1, in bytes
#define HMAC_SHA1_PRECOMPUTED_KEY_SIZE 40
// HMAC_SHA224_PRECOMPUTED_KEY_SIZE is the precomputed key size for SHA224, in bytes
#define HMAC_SHA224_PRECOMPUTED_KEY_SIZE 64
// HMAC_SHA256_PRECOMPUTED_KEY_SIZE is the precomputed key size for SHA256, in bytes
#define HMAC_SHA256_PRECOMPUTED_KEY_SIZE 64
// HMAC_SHA384_PRECOMPUTED_KEY_SIZE is the precomputed key size for SHA384, in bytes
#define HMAC_SHA384_PRECOMPUTED_KEY_SIZE 128
// HMAC_SHA512_PRECOMPUTED_KEY_SIZE is the precomputed key size for SHA512, in bytes
#define HMAC_SHA512_PRECOMPUTED_KEY_SIZE 128
// HMAC_SHA512_224_PRECOMPUTED_KEY_SIZE is the precomputed key size for SHA512_224, in bytes
#define HMAC_SHA512_224_PRECOMPUTED_KEY_SIZE 128
// HMAC_SHA512_256_PRECOMPUTED_KEY_SIZE is the precomputed key size for SHA512_256, in bytes
#define HMAC_SHA512_256_PRECOMPUTED_KEY_SIZE 128

// HMAC_MAX_PRECOMPUTED_KEY_SIZE is the largest precomputed key size, in bytes.
Expand Down

0 comments on commit 079c867

Please sign in to comment.