iPXE
sha384.c File Reference

SHA-384 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 (sha384, sha384_algorithm, sha384_init, SHA384_DIGEST_SIZE)
 SHA-384 algorithm.

Variables

static const struct sha512_digest sha384_init
 SHA-384 initial digest values.

Detailed Description

SHA-384 algorithm.

Definition in file sha384.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

◆ SHA512_ALGORITHM()

SHA512_ALGORITHM ( sha384 ,
sha384_algorithm ,
sha384_init ,
SHA384_DIGEST_SIZE  )

SHA-384 algorithm.

References sha384_algorithm, SHA384_DIGEST_SIZE, and sha384_init.

Variable Documentation

◆ sha384_init

const struct sha512_digest sha384_init
static
Initial value:
= {
.h = {
0xcbbb9d5dc1059ed8ULL, 0x629a292a367cd507ULL,
0x9159015a3070dd17ULL, 0x152fecd8f70e5939ULL,
0x67332667ffc00b31ULL, 0x8eb44a8768581511ULL,
0xdb0c2e0d64f98fa7ULL, 0x47b5481dbefa4fa4ULL,
}
}

SHA-384 initial digest values.

Definition at line 37 of file sha384.c.

37 {
38 .h = {
39 0xcbbb9d5dc1059ed8ULL, 0x629a292a367cd507ULL,
40 0x9159015a3070dd17ULL, 0x152fecd8f70e5939ULL,
41 0x67332667ffc00b31ULL, 0x8eb44a8768581511ULL,
42 0xdb0c2e0d64f98fa7ULL, 0x47b5481dbefa4fa4ULL,
43 }
44};

Referenced by SHA512_ALGORITHM().