Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
aesni/ | H | 06-Jun-2021 | - | 270 | 222 | |
fat/ | H | 06-Jun-2021 | - | 417 | 284 | |
sha_ni/ | H | 06-Jun-2021 | - | 325 | 257 | |
README | H A D | 06-Jun-2021 | 1.4 KiB | 72 | 60 | |
aes-decrypt-internal.asm | H A D | 06-Jun-2021 | 3.3 KiB | 153 | 118 | |
aes-encrypt-internal.asm | H A D | 06-Jun-2021 | 3.3 KiB | 154 | 118 | |
aes.m4 | H A D | 06-Jun-2021 | 2.8 KiB | 131 | 118 | |
camellia-crypt-internal.asm | H A D | 06-Jun-2021 | 4 KiB | 203 | 170 | |
chacha-core-internal.asm | H A D | 06-Jun-2021 | 2.5 KiB | 129 | 106 | |
ecc-curve25519-modp.asm | H A D | 06-Jun-2021 | 2.1 KiB | 101 | 79 | |
ecc-curve448-modp.asm | H A D | 06-Jun-2021 | 2.6 KiB | 148 | 124 | |
ecc-secp192r1-modp.asm | H A D | 06-Jun-2021 | 1.9 KiB | 91 | 70 | |
ecc-secp224r1-modp.asm | H A D | 06-Jun-2021 | 2.7 KiB | 136 | 111 | |
ecc-secp256r1-redc.asm | H A D | 06-Jun-2021 | 2.5 KiB | 134 | 111 | |
ecc-secp384r1-modp.asm | H A D | 06-Jun-2021 | 4.1 KiB | 239 | 200 | |
ecc-secp521r1-modp.asm | H A D | 06-Jun-2021 | 2.8 KiB | 163 | 135 | |
gcm-hash8.asm | H A D | 06-Jun-2021 | 6.4 KiB | 241 | 208 | |
machine.m4 | H A D | 06-Jun-2021 | 3.5 KiB | 168 | 160 | |
md5-compress.asm | H A D | 06-Jun-2021 | 5.8 KiB | 177 | 149 | |
memxor.asm | H A D | 06-Jun-2021 | 3.2 KiB | 174 | 132 | |
memxor3.asm | H A D | 06-Jun-2021 | 4.9 KiB | 264 | 215 | |
poly1305-internal.asm | H A D | 06-Jun-2021 | 3.9 KiB | 187 | 160 | |
salsa20-2core.asm | H A D | 06-Jun-2021 | 6.2 KiB | 319 | 271 | |
salsa20-core-internal.asm | H A D | 06-Jun-2021 | 2.6 KiB | 112 | 88 | |
salsa20.m4 | H A D | 06-Jun-2021 | 792 | 46 | 41 | |
serpent-decrypt.asm | H A D | 06-Jun-2021 | 10.3 KiB | 717 | 641 | |
serpent-encrypt.asm | H A D | 06-Jun-2021 | 12 KiB | 752 | 674 | |
serpent.m4 | H A D | 06-Jun-2021 | 2.4 KiB | 95 | 77 | |
sha1-compress.asm | H A D | 06-Jun-2021 | 7.7 KiB | 308 | 262 | |
sha256-compress.asm | H A D | 06-Jun-2021 | 4.6 KiB | 211 | 184 | |
sha3-permute.asm | H A D | 06-Jun-2021 | 10.4 KiB | 525 | 447 | |
sha512-compress.asm | H A D | 06-Jun-2021 | 4.6 KiB | 211 | 184 | |
umac-nh-n.asm | H A D | 06-Jun-2021 | 5.3 KiB | 276 | 230 | |
umac-nh.asm | H A D | 06-Jun-2021 | 1.9 KiB | 82 | 66 |
README
1ABI, according to http://www.x86-64.org/documentation/abi-0.99.pdf: 2 3Up to 6 integer and pointer arguments are passed in registers. Nine 4registers, %rax, %rcx, %rdx, %rsi, %rdi and %r8-%r11 can be used 5freely. Integers and pointers are returned in %rax. 6 7At entry, it is required that %rsp == 8 (mod 16). 8 9Registers May be Argument 10 clobbered number 11 12%rax Y 13%rbx 14%rcx Y 4 15%rdx Y 3 16%rbp 17%rsi Y 2 18%rdi Y 1 19%rsp (SP) 20%r8 Y 5 21%r9 Y 6 22%r10 Y 23%r11 Y 24%r12 25%r13 26%r14 27%r15 28 29W64 ABI, according to 30http://msdn.microsoft.com/en-us/library/9z1stfyw.aspx: 31 32Registers May be Argument 33 clobbered number 34 35%rax Y 36%rbx 37%rcx Y 1 38%rdx Y 2 39%rbp 40%rsi 41%rdi 42%rsp (SP) 43%r8 Y 3 44%r9 Y 4 45%r10 Y 46%r11 Y 47%r12 48%r13 49%r14 50%r15 51 52Additional arguments are passed on the stack. "backing store" on the 53stack for the four register arguments is also required. %xmm6 to 54%xmm15 are callee-saved. The "long" type is just 32 bits. 55 56If we have six arguments, and push the additional callee-save 57registers %rdi and %rsi on the stack, we get a stack frame like 58 5964(%rsp): Sixth argument 6056(%rsp): Fifth argument 6148(%rsp): Space for fourth argument 6240(%rsp): Space for third argument 6332(%rsp): Space for second argument 6424(%rsp): Space for first argument 6516(%rsp): Return address 668(%rsp) : Saved %rdi 67(%rsp): Saved %rsi 68 69If, in addition, we use more than 6 %xmm registers, we push them 70*after* %rdi (but before %rsi), so that they are stored at 16-byte 71aligned addresses. 72