PostgreSQL Source Code  git master
sha2.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PG_SHA224_BLOCK_LENGTH   64
 
#define PG_SHA224_DIGEST_LENGTH   28
 
#define PG_SHA224_DIGEST_STRING_LENGTH   (PG_SHA224_DIGEST_LENGTH * 2 + 1)
 
#define PG_SHA256_BLOCK_LENGTH   64
 
#define PG_SHA256_DIGEST_LENGTH   32
 
#define PG_SHA256_DIGEST_STRING_LENGTH   (PG_SHA256_DIGEST_LENGTH * 2 + 1)
 
#define PG_SHA384_BLOCK_LENGTH   128
 
#define PG_SHA384_DIGEST_LENGTH   48
 
#define PG_SHA384_DIGEST_STRING_LENGTH   (PG_SHA384_DIGEST_LENGTH * 2 + 1)
 
#define PG_SHA512_BLOCK_LENGTH   128
 
#define PG_SHA512_DIGEST_LENGTH   64
 
#define PG_SHA512_DIGEST_STRING_LENGTH   (PG_SHA512_DIGEST_LENGTH * 2 + 1)
 

Macro Definition Documentation

◆ PG_SHA224_BLOCK_LENGTH

#define PG_SHA224_BLOCK_LENGTH   64

Definition at line 19 of file sha2.h.

Referenced by int_sha224_block_len(), and pg_hmac_create().

◆ PG_SHA224_DIGEST_LENGTH

#define PG_SHA224_DIGEST_LENGTH   28

◆ PG_SHA224_DIGEST_STRING_LENGTH

#define PG_SHA224_DIGEST_STRING_LENGTH   (PG_SHA224_DIGEST_LENGTH * 2 + 1)

Definition at line 21 of file sha2.h.

◆ PG_SHA256_BLOCK_LENGTH

#define PG_SHA256_BLOCK_LENGTH   64

◆ PG_SHA256_DIGEST_LENGTH

◆ PG_SHA256_DIGEST_STRING_LENGTH

#define PG_SHA256_DIGEST_STRING_LENGTH   (PG_SHA256_DIGEST_LENGTH * 2 + 1)

Definition at line 24 of file sha2.h.

Referenced by SendBackupManifest().

◆ PG_SHA384_BLOCK_LENGTH

#define PG_SHA384_BLOCK_LENGTH   128

Definition at line 25 of file sha2.h.

Referenced by int_sha384_block_len(), pg_hmac_create(), and pg_sha384_init().

◆ PG_SHA384_DIGEST_LENGTH

#define PG_SHA384_DIGEST_LENGTH   48

◆ PG_SHA384_DIGEST_STRING_LENGTH

#define PG_SHA384_DIGEST_STRING_LENGTH   (PG_SHA384_DIGEST_LENGTH * 2 + 1)

Definition at line 27 of file sha2.h.

◆ PG_SHA512_BLOCK_LENGTH

#define PG_SHA512_BLOCK_LENGTH   128

◆ PG_SHA512_DIGEST_LENGTH

◆ PG_SHA512_DIGEST_STRING_LENGTH

#define PG_SHA512_DIGEST_STRING_LENGTH   (PG_SHA512_DIGEST_LENGTH * 2 + 1)

Definition at line 30 of file sha2.h.