Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc6f6646

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 HMACcomputations. This is unused sincee6bdfd9, where SCRAM has switched tothe cryptohash routines for its HMAC calculations rather than its ownmaths.Reviewed-by: Jacob ChampionDiscussion:https://postgr.es/m/Y5gGMjXhyp0oK0mH@paquier.xyz
1 parent20432f8 commitc6f6646

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
#defineSCRAM_KEY_LENPG_SHA256_DIGEST_LENGTH
2525

26-
/* length of HMAC */
27-
#defineSHA256_HMAC_BPG_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)

[8]ページ先頭

©2009-2025 Movatter.jp