iPXE
sha512_224.c File Reference

SHA-512/224 algorithm. More...

#include <ipxe/crypto.h>
#include <ipxe/sha512.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FILE_SECBOOT (PERMITTED)
 SHA512_ALGORITHM (sha512_224, sha512_224_algorithm, sha512_224_init, SHA512_224_DIGEST_SIZE)
 SHA-512/224 algorithm.

Variables

static const struct sha512_digest sha512_224_init
 SHA-512/224 initial digest values.

Detailed Description

SHA-512/224 algorithm.

Definition in file sha512_224.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

◆ SHA512_ALGORITHM()

SHA512_ALGORITHM ( sha512_224 ,
sha512_224_algorithm ,
sha512_224_init ,
SHA512_224_DIGEST_SIZE  )

SHA-512/224 algorithm.

References sha512_224_algorithm, SHA512_224_DIGEST_SIZE, and sha512_224_init.

Variable Documentation

◆ sha512_224_init

const struct sha512_digest sha512_224_init
static
Initial value:
= {
.h = {
0x8c3d37c819544da2ULL, 0x73e1996689dcd4d6ULL,
0x1dfab7ae32ff9c82ULL, 0x679dd514582f9fcfULL,
0x0f6d2b697bd44da8ULL, 0x77e36f7304c48942ULL,
0x3f9d85a86a1d36c8ULL, 0x1112e6ad91d692a1ULL,
}
}

SHA-512/224 initial digest values.

Definition at line 37 of file sha512_224.c.

37 {
38 .h = {
39 0x8c3d37c819544da2ULL, 0x73e1996689dcd4d6ULL,
40 0x1dfab7ae32ff9c82ULL, 0x679dd514582f9fcfULL,
41 0x0f6d2b697bd44da8ULL, 0x77e36f7304c48942ULL,
42 0x3f9d85a86a1d36c8ULL, 0x1112e6ad91d692a1ULL,
43 }
44};

Referenced by SHA512_ALGORITHM().