"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cipher/sha256-avx2-bmi2-amd64.S" between
libgcrypt-1.9.1.tar.bz2 and libgcrypt-1.9.2.tar.bz2

About: Libgcrypt is a general purpose library of cryptographic building blocks (originally based on GnuPG code).

sha256-avx2-bmi2-amd64.S  (libgcrypt-1.9.1.tar.bz2):sha256-avx2-bmi2-amd64.S  (libgcrypt-1.9.2.tar.bz2)
skipping to change at line 287 skipping to change at line 287
CFI_DEF_CFA_REGISTER(rax); CFI_DEF_CFA_REGISTER(rax);
sub rsp, STACK_SIZE sub rsp, STACK_SIZE
and rsp, ~63 and rsp, ~63
mov [rsp + _RSP], rax mov [rsp + _RSP], rax
CFI_CFA_ON_STACK(_RSP, 6 * 8) CFI_CFA_ON_STACK(_RSP, 6 * 8)
shl NUM_BLKS, 6 /* convert to bytes */ shl NUM_BLKS, 6 /* convert to bytes */
lea NUM_BLKS, [NUM_BLKS + INP - 64] /* pointer to last block */ lea NUM_BLKS, [NUM_BLKS + INP - 64] /* pointer to last block */
mov [rsp + _INP_END], NUM_BLKS mov [rsp + _INP_END], NUM_BLKS
/* Check if only one block of input. Note: Loading initial digest
* only uses 'mov' instruction and does not change condition
* flags. */
cmp NUM_BLKS, INP
/* ; load initial digest */ /* ; load initial digest */
mov a,[4*0 + CTX] mov a,[4*0 + CTX]
mov b,[4*1 + CTX] mov b,[4*1 + CTX]
mov c,[4*2 + CTX] mov c,[4*2 + CTX]
mov d,[4*3 + CTX] mov d,[4*3 + CTX]
mov e,[4*4 + CTX] mov e,[4*4 + CTX]
mov f,[4*5 + CTX] mov f,[4*5 + CTX]
mov g,[4*6 + CTX] mov g,[4*6 + CTX]
mov h,[4*7 + CTX] mov h,[4*7 + CTX]
mov [rsp + _CTX], CTX mov [rsp + _CTX], CTX
je .Ldo_last_block
.Loop0: .Loop0:
lea TBL, [.LK256 ADD_RIP] lea TBL, [.LK256 ADD_RIP]
/* ; Load first 16 dwords from two blocks */ /* ; Load first 16 dwords from two blocks */
VMOVDQ XTMP0, [INP + 0*32] VMOVDQ XTMP0, [INP + 0*32]
VMOVDQ XTMP1, [INP + 1*32] VMOVDQ XTMP1, [INP + 1*32]
VMOVDQ XTMP2, [INP + 2*32] VMOVDQ XTMP2, [INP + 2*32]
VMOVDQ XTMP3, [INP + 3*32] VMOVDQ XTMP3, [INP + 3*32]
/* ; byte swap data */ /* ; byte swap data */
 End of changes. 2 change blocks. 
0 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)