summaryrefslogtreecommitdiffstats
path: root/src/include/common/sha1.h
blob: a475fadb8cc63d78b14a13fbb247de20307607ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*-------------------------------------------------------------------------
 *
 * sha1.h
 *	  Constants related to SHA1.
 *
 * Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * src/include/common/sha1.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef PG_SHA1_H
#define PG_SHA1_H

/* Size of result generated by SHA1 computation */
#define SHA1_DIGEST_LENGTH 20
/* Block size for SHA1 */
#define SHA1_BLOCK_SIZE 64

#endif							/* PG_SHA1_H */