243 unsigned int bytecount);
245 unsigned int bit_count);
251 unsigned int bytecount);
253 unsigned int bit_count);
260 unsigned int bytecount);
262 unsigned int bit_count);
269 unsigned int bytecount);
271 unsigned int bit_count);
278 unsigned int bytecount);
280 unsigned int bit_count);
287 const uint8_t *bytes,
unsigned int bytecount);
289 uint8_t bits,
unsigned int bit_count);
307#ifndef USE_MODIFIED_MACROS
308#define SHA_Ch(x,y,z) (((x) & (y)) ^ ((~(x)) & (z)))
309#define SHA_Maj(x,y,z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z)))
315#define SHA_Ch(x, y, z) (((x) & ((y) ^ (z))) ^ (z))
316#define SHA_Maj(x, y, z) (((x) & ((y) | (z))) | ((y) & (z)))
320#define SHA_Parity(x, y, z) ((x) ^ (y) ^ (z))
struct HKDFContext HKDFContext
int SHA512Result(SHA512Context *, uint8_t Message_Digest[SHA512HashSize])
int SHA384Result(SHA384Context *, uint8_t Message_Digest[SHA384HashSize])
int SHA512FinalBits(SHA512Context *, uint8_t bits, unsigned int bit_count)
int SHA1Result(SHA1Context *, uint8_t Message_Digest[SHA1HashSize])
SHA1Result Returns the resulting 160-bit digest.
int USHAHashSize(enum SHAversion whichSha)
int SHA256FinalBits(SHA256Context *, uint8_t bits, unsigned int bit_count)
int USHAInput(USHAContext *context, const uint8_t *bytes, unsigned int bytecount)
int SHA1Input(SHA1Context *, const uint8_t *bytes, unsigned int bytecount)
int SHA224Input(SHA224Context *, const uint8_t *bytes, unsigned int bytecount)
int SHA384Reset(SHA384Context *)
struct SHA256Context SHA256Context
int SHA256Input(SHA256Context *, const uint8_t *bytes, unsigned int bytecount)
int USHAHashSizeBits(enum SHAversion whichSha)
int SHA512Input(SHA512Context *, const uint8_t *bytes, unsigned int bytecount)
struct SHA512Context SHA512Context
@ USHA_Max_Message_Block_Size
@ SHA1_Message_Block_Size
@ SHA384_Message_Block_Size
@ SHA512_Message_Block_Size
@ SHA256_Message_Block_Size
@ SHA224_Message_Block_Size
int SHA512Reset(SHA512Context *)
int SHA224FinalBits(SHA224Context *, uint8_t bits, unsigned int bit_count)
int SHA384Input(SHA384Context *, const uint8_t *bytes, unsigned int bytecount)
const char * USHAHashName(enum SHAversion whichSha)
int USHABlockSize(enum SHAversion whichSha)
struct HMACContext HMACContext
int USHAResult(USHAContext *context, uint8_t Message_Digest[USHAMaxHashSize])
int USHAReset(USHAContext *context, SHAversion whichSha)
int SHA1Reset(SHA1Context *)
SHA1Reset.
int USHAFinalBits(USHAContext *context, uint8_t bits, unsigned int bit_count)
int SHA224Result(SHA224Context *, uint8_t Message_Digest[SHA224HashSize])
struct USHAContext USHAContext
int SHA256Result(SHA256Context *, uint8_t Message_Digest[SHA256HashSize])
int SHA224Reset(SHA224Context *)
int SHA1FinalBits(SHA1Context *, uint8_t bits, unsigned int bit_count)
SHA1FinalBits Add in any final bits of the message.
struct SHA1Context SHA1Context
int SHA256Reset(SHA256Context *)
int SHA384FinalBits(SHA384Context *, uint8_t bits, unsigned int bit_count)
unsigned char prk[USHAMaxHashSize]
unsigned char k_opad[USHA_Max_Message_Block_Size]
uint32_t Intermediate_Hash[SHA1HashSize/4]
uint8_t Message_Block[SHA1_Message_Block_Size]
int_least16_t Message_Block_Index
uint32_t Intermediate_Hash[SHA256HashSize/4]
uint8_t Message_Block[SHA256_Message_Block_Size]
int_least16_t Message_Block_Index
uint64_t Intermediate_Hash[SHA512HashSize/8]
uint8_t Message_Block[SHA512_Message_Block_Size]
int_least16_t Message_Block_Index
SHA384Context sha384Context
union USHAContext::@281 ctx
SHA512Context sha512Context
SHA256Context sha256Context
SHA224Context sha224Context