Skip to content

Commit c6f6646

Browse files
committed
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/Y5gGMjXhyp0oK0mH@paquier.xyz
1 parent 20432f8 commit c6f6646

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/include/common/scram-common.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
/* Length of SCRAM keys (client and server) */
2424
#define SCRAM_KEY_LEN PG_SHA256_DIGEST_LENGTH
2525

26-
/* length of HMAC */
27-
#define SHA256_HMAC_B PG_SHA256_BLOCK_LENGTH
28-
2926
/*
3027
* Size of random nonce generated in the authentication exchange. This
3128
* is in "raw" number of bytes, the actual nonces sent over the wire are

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy