PostgreSQL Source Code
git master
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
f
h
i
n
o
p
r
s
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
sha2.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* sha2.h
4
* Constants related to SHA224, 256, 384 AND 512.
5
*
6
* Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
7
* Portions Copyright (c) 1994, Regents of the University of California
8
*
9
* IDENTIFICATION
10
* src/include/common/sha2.h
11
*
12
*-------------------------------------------------------------------------
13
*/
14
15
#ifndef _PG_SHA2_H_
16
#define _PG_SHA2_H_
17
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_ */
src
include
common
sha2.h
Generated on Tue Dec 3 2024 00:13:24 for PostgreSQL Source Code by
1.9.1