Mercurial > dovecot > core-2.2
view src/lib/sha-common.h @ 21069:d6ef8ebd03b5
lib: Move sha context and result size to new header
This is to prepare for SHA3 inclusion
author | Aki Tuomi <aki.tuomi@dovecot.fi> |
---|---|
date | Sat, 05 Nov 2016 11:47:40 +0200 |
parents | |
children |
line wrap: on
line source
#ifndef SHA_COMMON #define SHA256_RESULTLEN (256 / 8) #define SHA256_BLOCK_SIZE (512 / 8) #define SHA512_RESULTLEN (512 / 8) #define SHA512_BLOCK_SIZE (1024 / 8) #endif