aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libpq/src/include/common/sha1.h
blob: e6933d96bbc88d7e99f652239875e2a69507b85c (plain) (blame)
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-2023, 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 */