PostgreSQL Source Code  git master
sha1.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * sha1.h
4  * Constants related to SHA1.
5  *
6  * Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * src/include/common/sha1.h
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef PG_SHA1_H
14 #define PG_SHA1_H
15 
16 /* Size of result generated by SHA1 computation */
17 #define SHA1_DIGEST_LENGTH 20
18 /* Block size for SHA1 */
19 #define SHA1_BLOCK_SIZE 64
20 
21 #endif /* PG_SHA1_H */