aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Mechalas <john.p.mechalas@intel.com>2013-02-21 10:41:11 -0800
committerJeff Garzik <jgarzik@redhat.com>2013-04-18 18:32:46 -0400
commit72c51b2dac97cf56e2160b4af6ec0e7582847e6d (patch)
treeccb8fca01d000a1aa43ae93a5f7df9105fe7713a
parentd32709d1109224188586f4899f8a270036027734 (diff)
downloadrng-tools-72c51b2dac97cf56e2160b4af6ec0e7582847e6d.tar.gz
rng-tools-72c51b2dac97cf56e2160b4af6ec0e7582847e6d.tar.xz
rng-tools-72c51b2dac97cf56e2160b4af6ec0e7582847e6d.zip
Fix the AES keys so that they are correct and match the comments.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r--rdrand_asm.S22
1 files changed, 11 insertions, 11 deletions
diff --git a/rdrand_asm.S b/rdrand_asm.S
index 55098e8..3bd99ae 100644
--- a/rdrand_asm.S
+++ b/rdrand_asm.S
@@ -173,17 +173,17 @@ ENDPROC(x86_aes_mangle)
.section ".rodata","a"
.balign 16
aes_round_keys:
- .long 0x00102030, 0x40506070, 0x8090A0B0, 0xC0D0E0F0
- .long 0x89D810E8, 0x855ACE68, 0x2D1843D8, 0xCB128FE4
- .long 0x4915598F, 0x55E5D7A0, 0xDACA94FA, 0x1F0A63F7
- .long 0xFA636A28, 0x25B339C9, 0x40668A31, 0x57244D17
- .long 0x24724023, 0x6966B3FA, 0x6ED27532, 0x88425B6C
- .long 0xC81677BC, 0x9B7AC93B, 0x25027992, 0xB0261996
- .long 0xC62FE109, 0xF75EEDC3, 0xCC79395D, 0x84F9CF5D
- .long 0xD1876C0F, 0x79C4300A, 0xB45594AD, 0xD66FF41F
- .long 0xFDE3BAD2, 0x05E5D0D7, 0x3547964E, 0xF1FE37F1
- .long 0xBD6E7C3D, 0xF2B5779E, 0x0B61216E, 0x8B10B689
- .long 0x69C4E0D8, 0x6A7B0430, 0xD8CDB780, 0x70B4C55A
+ .long 0x30201000, 0x70605040, 0xB0A09080, 0xF0E0D0C0
+ .long 0x8AACF171, 0xFACCA131, 0x4A6C31B1, 0xBA8CE171
+ .long 0x2958958B, 0xD39434BA, 0x99F8050B, 0x2374E47A
+ .long 0xF37E07E6, 0x20EA335C, 0xB9123657, 0x9A66D22D
+ .long 0x2BC6345B, 0x0B2C0707, 0xB23E3150, 0x2858E37D
+ .long 0xD4F25E5A, 0xDFDE595D, 0x6DE0680D, 0x45B88B70
+ .long 0x859C3247, 0x5A426B1A, 0x37A20317, 0x721A8867
+ .long 0x00DC90C3, 0x5A9EFBD9, 0x6D3CF8CE, 0x1F2670A9
+ .long 0xD31C6712, 0x89829CCB, 0xE4BE6405, 0xFB9814AC
+ .long 0x421321F3, 0xCB91BD38, 0x2F2FD93D, 0xD4B7CD91
+ .long 0xC35B8878, 0x08CA3540, 0x27E5EC7D, 0xF35221EC
.size aes_round_keys, .-aes_round_keys
.bss