mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-09 07:17:53 +00:00
fixed key expansion
This commit is contained in:
parent
58a5c0f542
commit
0408371a84
6
aes.cpp
6
aes.cpp
@ -50,11 +50,11 @@ namespace crypto
|
|||||||
KeyExpansion256
|
KeyExpansion256
|
||||||
"aeskeygenassist $8, %%xmm3, %%xmm2 \n"
|
"aeskeygenassist $8, %%xmm3, %%xmm2 \n"
|
||||||
KeyExpansion256
|
KeyExpansion256
|
||||||
"aeskeygenassist $10, %%xmm3, %%xmm2 \n"
|
"aeskeygenassist $16, %%xmm3, %%xmm2 \n"
|
||||||
KeyExpansion256
|
KeyExpansion256
|
||||||
"aeskeygenassist $20, %%xmm3, %%xmm2 \n"
|
"aeskeygenassist $32, %%xmm3, %%xmm2 \n"
|
||||||
KeyExpansion256
|
KeyExpansion256
|
||||||
"aeskeygenassist $40, %%xmm3, %%xmm2 \n"
|
"aeskeygenassist $64, %%xmm3, %%xmm2 \n"
|
||||||
// key expansion final
|
// key expansion final
|
||||||
"pshufd $0xff, %%xmm2, %%xmm2 \n"
|
"pshufd $0xff, %%xmm2, %%xmm2 \n"
|
||||||
"movaps %%xmm1, %%xmm4 \n"
|
"movaps %%xmm1, %%xmm4 \n"
|
||||||
|
Loading…
Reference in New Issue
Block a user