lib/crypto/tests/ghash-testvecs.h
Source file repositories/reference/linux-study-clean/lib/crypto/tests/ghash-testvecs.h
File Facts
- System
- Linux kernel
- Corpus path
lib/crypto/tests/ghash-testvecs.h- Extension
.h- Size
- 4079 bytes
- Lines
- 187
- 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[GHASH_DIGEST_SIZE];
} hash_testvecs[] = {
{
.data_len = 0,
.digest = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
},
},
{
.data_len = 1,
.digest = {
0x13, 0x91, 0xa1, 0x11, 0x08, 0xc3, 0x7e, 0xeb,
0x21, 0x42, 0x4a, 0xd6, 0x45, 0x0f, 0x41, 0xa7,
},
},
{
.data_len = 2,
.digest = {
0xde, 0x00, 0x63, 0x3f, 0x71, 0x0f, 0xc6, 0x29,
0x53, 0x2e, 0x49, 0xd9, 0xc2, 0xb7, 0x73, 0xce,
},
},
{
.data_len = 3,
.digest = {
0xcf, 0xc7, 0xa8, 0x20, 0x24, 0xe9, 0x7a, 0x6c,
0x2c, 0x2a, 0x34, 0x70, 0x26, 0xba, 0xd5, 0x9a,
},
},
{
.data_len = 16,
.digest = {
0xaa, 0xe0, 0xdc, 0x7f, 0xcf, 0x8b, 0xe6, 0x0c,
0x2e, 0x93, 0x89, 0x7d, 0x68, 0x4e, 0xc2, 0x63,
},
},
{
.data_len = 32,
.digest = {
0x4b, 0x8b, 0x93, 0x5c, 0x79, 0xad, 0x85, 0x08,
0xd3, 0x8a, 0xcd, 0xdd, 0x4c, 0x6e, 0x0e, 0x6f,
},
},
{
.data_len = 48,
.digest = {
0xfa, 0xa0, 0x25, 0xdd, 0x61, 0x9a, 0x52, 0x9a,
0xea, 0xee, 0xc6, 0x62, 0xb2, 0xba, 0x11, 0x49,
},
},
{
.data_len = 49,
.digest = {
0x23, 0xf1, 0x05, 0xeb, 0x30, 0x40, 0xb9, 0x1d,
0xe6, 0x35, 0x51, 0x4e, 0x0f, 0xc0, 0x1b, 0x9e,
},
},
{
.data_len = 63,
.digest = {
0x8d, 0xcf, 0xa0, 0xc8, 0x83, 0x21, 0x06, 0x81,
0xc6, 0x36, 0xd5, 0x62, 0xbf, 0xa0, 0xcd, 0x9c,
},
},
{
.data_len = 64,
.digest = {
0xe7, 0xca, 0xbe, 0xe7, 0x66, 0xc8, 0x85, 0xad,
0xbc, 0xaf, 0x58, 0x21, 0xd7, 0x67, 0x82, 0x15,
},
},
{
.data_len = 65,
.digest = {
0x9f, 0x48, 0x10, 0xd9, 0xa2, 0x6b, 0x9d, 0xe0,
0xb1, 0x87, 0xe1, 0x39, 0xc3, 0xd7, 0xee, 0x09,
},
},
{
.data_len = 127,
.digest = {
0xa4, 0x36, 0xb7, 0x82, 0xd2, 0x67, 0x7e, 0xaf,
0x5d, 0xfd, 0x67, 0x9c, 0x1d, 0x9f, 0xe4, 0xf7,
},
},
{
.data_len = 128,
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.