iPXE
sha224.c File Reference

SHA-224 algorithm. More...

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

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FILE_SECBOOT (PERMITTED)
 SHA256_ALGORITHM (sha224, sha224_algorithm, sha224_init, SHA224_DIGEST_SIZE)
 SHA-224 algorithm.

Variables

static const struct sha256_digest sha224_init
 SHA-224 initial digest values.

Detailed Description

SHA-224 algorithm.

Definition in file sha224.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

◆ SHA256_ALGORITHM()

SHA256_ALGORITHM ( sha224 ,
sha224_algorithm ,
sha224_init ,
SHA224_DIGEST_SIZE  )

SHA-224 algorithm.

References sha224_algorithm, SHA224_DIGEST_SIZE, and sha224_init.

Variable Documentation

◆ sha224_init

const struct sha256_digest sha224_init
static
Initial value:
= {
.h = {
0xc1059ed8, 0x367cd507, 0x3070dd17, 0xf70e5939,
0xffc00b31, 0x68581511, 0x64f98fa7, 0xbefa4fa4,
}
}

SHA-224 initial digest values.

Definition at line 37 of file sha224.c.

37 {
38 .h = {
39 0xc1059ed8, 0x367cd507, 0x3070dd17, 0xf70e5939,
40 0xffc00b31, 0x68581511, 0x64f98fa7, 0xbefa4fa4,
41 }
42};

Referenced by SHA256_ALGORITHM().