We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ae1572 commit ccf4e27Copy full SHA for ccf4e27
src/include/common/sha2.h
@@ -18,15 +18,11 @@
18
/*** SHA224/256/384/512 Various Length Definitions ***********************/
19
#define PG_SHA224_BLOCK_LENGTH 64
20
#define PG_SHA224_DIGEST_LENGTH 28
21
-#define PG_SHA224_DIGEST_STRING_LENGTH (PG_SHA224_DIGEST_LENGTH * 2 + 1)
22
#define PG_SHA256_BLOCK_LENGTH 64
23
#define PG_SHA256_DIGEST_LENGTH 32
24
-#define PG_SHA256_DIGEST_STRING_LENGTH (PG_SHA256_DIGEST_LENGTH * 2 + 1)
25
#define PG_SHA384_BLOCK_LENGTH 128
26
#define PG_SHA384_DIGEST_LENGTH 48
27
-#define PG_SHA384_DIGEST_STRING_LENGTH (PG_SHA384_DIGEST_LENGTH * 2 + 1)
28
#define PG_SHA512_BLOCK_LENGTH 128
29
#define PG_SHA512_DIGEST_LENGTH 64
30
-#define PG_SHA512_DIGEST_STRING_LENGTH (PG_SHA512_DIGEST_LENGTH * 2 + 1)
31
32
#endif /* _PG_SHA2_H_ */
0 commit comments