Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
sha2.h33 linesDownload Raw Back to common
1/*-------------------------------------------------------------------------2 *3 * sha2.h4 *	  Constants related to SHA224, 256, 384 AND 512.5 *6 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group7 * Portions Copyright (c) 1994, Regents of the University of California8 *9 * IDENTIFICATION10 *		  src/include/common/sha2.h11 *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			6420#define PG_SHA224_DIGEST_LENGTH			2821#define PG_SHA224_DIGEST_STRING_LENGTH	(PG_SHA224_DIGEST_LENGTH * 2 + 1)22#define PG_SHA256_BLOCK_LENGTH			6423#define PG_SHA256_DIGEST_LENGTH			3224#define PG_SHA256_DIGEST_STRING_LENGTH	(PG_SHA256_DIGEST_LENGTH * 2 + 1)25#define PG_SHA384_BLOCK_LENGTH			12826#define PG_SHA384_DIGEST_LENGTH			4827#define PG_SHA384_DIGEST_STRING_LENGTH	(PG_SHA384_DIGEST_LENGTH * 2 + 1)28#define PG_SHA512_BLOCK_LENGTH			12829#define PG_SHA512_DIGEST_LENGTH			6430#define PG_SHA512_DIGEST_STRING_LENGTH	(PG_SHA512_DIGEST_LENGTH * 2 + 1)31 32#endif							/* _PG_SHA2_H_ */33 
codekingpro/portable-devtools · Team Ai