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.

◆ PG_SHA224_DIGEST_LENGTH

#define PG_SHA224_DIGEST_LENGTH   28

Definition at line 20 of file sha2.h.

◆ 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

Definition at line 22 of file sha2.h.

◆ PG_SHA256_DIGEST_LENGTH

#define PG_SHA256_DIGEST_LENGTH   32

Definition at line 23 of file sha2.h.

◆ 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.

◆ PG_SHA384_BLOCK_LENGTH

#define PG_SHA384_BLOCK_LENGTH   128

Definition at line 25 of file sha2.h.

◆ PG_SHA384_DIGEST_LENGTH

#define PG_SHA384_DIGEST_LENGTH   48

Definition at line 26 of file sha2.h.

◆ 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

Definition at line 28 of file sha2.h.

◆ PG_SHA512_DIGEST_LENGTH

#define PG_SHA512_DIGEST_LENGTH   64

Definition at line 29 of file sha2.h.

◆ 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.