diff options
author | Michael Paquier | 2022-12-14 00:51:19 +0000 |
---|---|---|
committer | Michael Paquier | 2022-12-14 00:51:19 +0000 |
commit | c6f6646bb0bef315c3836f3f6909c24a985a8621 (patch) | |
tree | ca7f89185d811f37a95e3ae79b1054bd375a18c5 | |
parent | 20432f8731404d2cef2a155144aca5ab3ae98e95 (diff) |
Remove SHA256_HMAC_B from scram-common.h
This referred to the size of the buffers for k_ipad and k_opad in HMAC
computations. This is unused since e6bdfd9, where SCRAM has switched to
the cryptohash routines for its HMAC calculations rather than its own
maths.
Reviewed-by: Jacob Champion
Discussion: https://postgr.es/m/[email protected]
-rw-r--r-- | src/include/common/scram-common.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/include/common/scram-common.h b/src/include/common/scram-common.h index e1f5e786e01..4acf2a78adb 100644 --- a/src/include/common/scram-common.h +++ b/src/include/common/scram-common.h @@ -23,9 +23,6 @@ /* Length of SCRAM keys (client and server) */ #define SCRAM_KEY_LEN PG_SHA256_DIGEST_LENGTH -/* length of HMAC */ -#define SHA256_HMAC_B PG_SHA256_BLOCK_LENGTH - /* * Size of random nonce generated in the authentication exchange. This * is in "raw" number of bytes, the actual nonces sent over the wire are |