lib/crypto/powerpc/aes-tab-4k.S

Source file repositories/reference/linux-study-clean/lib/crypto/powerpc/aes-tab-4k.S

File Facts

System
Linux kernel
Corpus path
lib/crypto/powerpc/aes-tab-4k.S
Extension
.S
Size
14446 bytes
Lines
327
Domain
Kernel Services
Bucket
lib
Inferred role
Kernel Services: lib
Status
atlas-only

Why This File Exists

Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.

Dependency Surface

Detected Declarations

Annotated Snippet

#define R(a, b, c, d) \
	0x##a##b##c##d, 0x##d##a##b##c, 0x##c##d##a##b, 0x##b##c##d##a

.data
.align 12
.globl PPC_AES_4K_ENCTAB
PPC_AES_4K_ENCTAB:
/* encryption table, same as crypto_ft_tab in crypto/aes-generic.c */
	.long R(c6, 63, 63, a5), R(f8, 7c, 7c, 84)
	.long R(ee, 77, 77, 99), R(f6, 7b, 7b, 8d)
	.long R(ff, f2, f2, 0d), R(d6, 6b, 6b, bd)
	.long R(de, 6f, 6f, b1), R(91, c5, c5, 54)
	.long R(60, 30, 30, 50), R(02, 01, 01, 03)
	.long R(ce, 67, 67, a9), R(56, 2b, 2b, 7d)
	.long R(e7, fe, fe, 19), R(b5, d7, d7, 62)
	.long R(4d, ab, ab, e6), R(ec, 76, 76, 9a)
	.long R(8f, ca, ca, 45), R(1f, 82, 82, 9d)
	.long R(89, c9, c9, 40), R(fa, 7d, 7d, 87)
	.long R(ef, fa, fa, 15), R(b2, 59, 59, eb)
	.long R(8e, 47, 47, c9), R(fb, f0, f0, 0b)
	.long R(41, ad, ad, ec), R(b3, d4, d4, 67)
	.long R(5f, a2, a2, fd), R(45, af, af, ea)
	.long R(23, 9c, 9c, bf), R(53, a4, a4, f7)
	.long R(e4, 72, 72, 96), R(9b, c0, c0, 5b)
	.long R(75, b7, b7, c2), R(e1, fd, fd, 1c)
	.long R(3d, 93, 93, ae), R(4c, 26, 26, 6a)
	.long R(6c, 36, 36, 5a), R(7e, 3f, 3f, 41)
	.long R(f5, f7, f7, 02), R(83, cc, cc, 4f)
	.long R(68, 34, 34, 5c), R(51, a5, a5, f4)
	.long R(d1, e5, e5, 34), R(f9, f1, f1, 08)
	.long R(e2, 71, 71, 93), R(ab, d8, d8, 73)
	.long R(62, 31, 31, 53), R(2a, 15, 15, 3f)
	.long R(08, 04, 04, 0c), R(95, c7, c7, 52)
	.long R(46, 23, 23, 65), R(9d, c3, c3, 5e)
	.long R(30, 18, 18, 28), R(37, 96, 96, a1)
	.long R(0a, 05, 05, 0f), R(2f, 9a, 9a, b5)
	.long R(0e, 07, 07, 09), R(24, 12, 12, 36)
	.long R(1b, 80, 80, 9b), R(df, e2, e2, 3d)
	.long R(cd, eb, eb, 26), R(4e, 27, 27, 69)
	.long R(7f, b2, b2, cd), R(ea, 75, 75, 9f)
	.long R(12, 09, 09, 1b), R(1d, 83, 83, 9e)
	.long R(58, 2c, 2c, 74), R(34, 1a, 1a, 2e)
	.long R(36, 1b, 1b, 2d), R(dc, 6e, 6e, b2)
	.long R(b4, 5a, 5a, ee), R(5b, a0, a0, fb)
	.long R(a4, 52, 52, f6), R(76, 3b, 3b, 4d)
	.long R(b7, d6, d6, 61), R(7d, b3, b3, ce)
	.long R(52, 29, 29, 7b), R(dd, e3, e3, 3e)
	.long R(5e, 2f, 2f, 71), R(13, 84, 84, 97)
	.long R(a6, 53, 53, f5), R(b9, d1, d1, 68)
	.long R(00, 00, 00, 00), R(c1, ed, ed, 2c)
	.long R(40, 20, 20, 60), R(e3, fc, fc, 1f)
	.long R(79, b1, b1, c8), R(b6, 5b, 5b, ed)
	.long R(d4, 6a, 6a, be), R(8d, cb, cb, 46)
	.long R(67, be, be, d9), R(72, 39, 39, 4b)
	.long R(94, 4a, 4a, de), R(98, 4c, 4c, d4)
	.long R(b0, 58, 58, e8), R(85, cf, cf, 4a)
	.long R(bb, d0, d0, 6b), R(c5, ef, ef, 2a)
	.long R(4f, aa, aa, e5), R(ed, fb, fb, 16)
	.long R(86, 43, 43, c5), R(9a, 4d, 4d, d7)
	.long R(66, 33, 33, 55), R(11, 85, 85, 94)
	.long R(8a, 45, 45, cf), R(e9, f9, f9, 10)
	.long R(04, 02, 02, 06), R(fe, 7f, 7f, 81)
	.long R(a0, 50, 50, f0), R(78, 3c, 3c, 44)
	.long R(25, 9f, 9f, ba), R(4b, a8, a8, e3)
	.long R(a2, 51, 51, f3), R(5d, a3, a3, fe)
	.long R(80, 40, 40, c0), R(05, 8f, 8f, 8a)
	.long R(3f, 92, 92, ad), R(21, 9d, 9d, bc)
	.long R(70, 38, 38, 48), R(f1, f5, f5, 04)
	.long R(63, bc, bc, df), R(77, b6, b6, c1)
	.long R(af, da, da, 75), R(42, 21, 21, 63)

Annotation

Implementation Notes