lib/crypto/tests/sha384-testvecs.h
Source file repositories/reference/linux-study-clean/lib/crypto/tests/sha384-testvecs.h
File Facts
- System
- Linux kernel
- Corpus path
lib/crypto/tests/sha384-testvecs.h- Extension
.h- Size
- 9370 bytes
- Lines
- 291
- Domain
- Kernel Services
- Bucket
- lib
- Inferred role
- Kernel Services: implementation source
- Status
- source implementation candidate
Why This File Exists
Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.
- Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
static const struct {
size_t data_len;
u8 digest[SHA384_DIGEST_SIZE];
} hash_testvecs[] = {
{
.data_len = 0,
.digest = {
0x38, 0xb0, 0x60, 0xa7, 0x51, 0xac, 0x96, 0x38,
0x4c, 0xd9, 0x32, 0x7e, 0xb1, 0xb1, 0xe3, 0x6a,
0x21, 0xfd, 0xb7, 0x11, 0x14, 0xbe, 0x07, 0x43,
0x4c, 0x0c, 0xc7, 0xbf, 0x63, 0xf6, 0xe1, 0xda,
0x27, 0x4e, 0xde, 0xbf, 0xe7, 0x6f, 0x65, 0xfb,
0xd5, 0x1a, 0xd2, 0xf1, 0x48, 0x98, 0xb9, 0x5b,
},
},
{
.data_len = 1,
.digest = {
0x07, 0x34, 0x9d, 0x74, 0x48, 0x76, 0xa5, 0x72,
0x78, 0x02, 0xb8, 0x6e, 0x21, 0x59, 0xb0, 0x75,
0x09, 0x68, 0x11, 0x39, 0x53, 0x61, 0xee, 0x8d,
0xf2, 0x01, 0xf3, 0x90, 0x53, 0x7c, 0xd3, 0xde,
0x13, 0x9f, 0xd2, 0x74, 0x28, 0xfe, 0xe1, 0xc8,
0x2e, 0x95, 0xc6, 0x7d, 0x69, 0x4d, 0x04, 0xc6,
},
},
{
.data_len = 2,
.digest = {
0xc4, 0xef, 0x6e, 0x8c, 0x19, 0x1c, 0xaa, 0x0e,
0x86, 0xf2, 0x68, 0xa1, 0xa0, 0x2d, 0x2e, 0xb2,
0x84, 0xbc, 0x5d, 0x53, 0x31, 0xf8, 0x03, 0x75,
0x56, 0xf4, 0x8b, 0x23, 0x1a, 0x68, 0x15, 0x9a,
0x60, 0xb2, 0xec, 0x05, 0xe1, 0xd4, 0x5e, 0x9e,
0xe8, 0x7c, 0x9d, 0xe4, 0x0f, 0x9c, 0x3a, 0xdd,
},
},
{
.data_len = 3,
.digest = {
0x29, 0xd2, 0x02, 0xa2, 0x77, 0x24, 0xc7, 0xa7,
0x23, 0x0c, 0x3e, 0x30, 0x56, 0x47, 0xdb, 0x75,
0xd4, 0x41, 0xf8, 0xb3, 0x8e, 0x26, 0xf6, 0x92,
0xbc, 0x20, 0x2e, 0x96, 0xcc, 0x81, 0x5f, 0x32,
0x82, 0x60, 0xe2, 0xcf, 0x23, 0xd7, 0x3c, 0x90,
0xb2, 0x56, 0x8f, 0xb6, 0x0f, 0xf0, 0x6b, 0x80,
},
},
{
.data_len = 16,
.digest = {
0x21, 0x4c, 0xac, 0xfe, 0xbd, 0x40, 0x74, 0x1f,
0xa2, 0x2d, 0x2f, 0x35, 0x91, 0xfd, 0xc9, 0x97,
0x88, 0x12, 0x6c, 0x0c, 0x6e, 0xd8, 0x50, 0x0b,
0x4b, 0x2c, 0x89, 0xa6, 0xa6, 0x4a, 0xad, 0xd7,
0x72, 0x62, 0x2c, 0x62, 0x81, 0xcd, 0x24, 0x74,
0xf5, 0x44, 0x05, 0xa0, 0x97, 0xea, 0xf1, 0x78,
},
},
{
.data_len = 32,
.digest = {
0x06, 0x8b, 0x92, 0x9f, 0x8b, 0x64, 0xb2, 0x80,
0xde, 0xcc, 0xde, 0xc3, 0x2f, 0x22, 0x27, 0xe8,
0x3b, 0x6e, 0x16, 0x21, 0x14, 0x81, 0xbe, 0x5b,
0xa7, 0xa7, 0x14, 0x8a, 0x00, 0x8f, 0x0d, 0x38,
0x11, 0x63, 0xe8, 0x3e, 0xb9, 0xf1, 0xcf, 0x87,
0xb1, 0x28, 0xe5, 0xa1, 0x89, 0xa8, 0x7a, 0xde,
},
},
{
.data_len = 48,
.digest = {
0x9e, 0x37, 0x76, 0x62, 0x98, 0x39, 0xbe, 0xfd,
0x2b, 0x91, 0x20, 0x54, 0x8f, 0x21, 0xe7, 0x30,
0x0a, 0x01, 0x7a, 0x65, 0x0b, 0xc9, 0xb3, 0x89,
0x3c, 0xb6, 0xd3, 0xa8, 0xff, 0xc9, 0x1b, 0x5c,
0xd4, 0xac, 0xb4, 0x7e, 0xba, 0x94, 0xc3, 0x8a,
0x26, 0x41, 0xf6, 0xd5, 0xed, 0x6f, 0x27, 0xa7,
},
},
{
.data_len = 49,
.digest = {
0x03, 0x1f, 0xef, 0x5a, 0x16, 0x28, 0x78, 0x10,
0x29, 0xe8, 0xe2, 0xe4, 0x84, 0x36, 0x19, 0x10,
0xaa, 0xea, 0xde, 0x06, 0x39, 0x5f, 0xb2, 0x36,
0xca, 0x24, 0x4f, 0x7b, 0x66, 0xf7, 0xe7, 0x31,
0xf3, 0x9b, 0x74, 0x1e, 0x17, 0x20, 0x88, 0x62,
0x50, 0xeb, 0x5f, 0x9a, 0xa7, 0x2c, 0xf4, 0xc9,
Annotation
- Atlas domain: Kernel Services / lib.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.