Denys Vlasenko
|
999e290ef6
tls: P256: improve x86_64 multiplication asm code
|
4 meses atrás |
Denys Vlasenko
|
d745852f13
tls: P256: fix obscure x86_64 asm misbehavior, closes 15679
|
4 meses atrás |
Denys Vlasenko
|
7b969bb2ad
tls: P256: remove NOP macro sp_256_norm_8()
|
2 anos atrás |
Denys Vlasenko
|
27df6aeef2
tls: P256: factor out "multiply then reduce" operation
|
2 anos atrás |
Denys Vlasenko
|
8514b4166d
tls: P256: enable 64-bit version of montgomery reduction
|
3 anos atrás |
Denys Vlasenko
|
90b0d33044
tls: P256: add 64-bit montgomery reduce (disabled), small optimization in 32-bit code
|
3 anos atrás |
Denys Vlasenko
|
832626227e
tls: P256: add comment on logic in sp_512to256_mont_reduce_8, no code changes
|
3 anos atrás |
Denys Vlasenko
|
cfb615781d
tls: P256: simplify sp_256_mont_inv_8 (no need for a temporary)
|
3 anos atrás |
Denys Vlasenko
|
1b93c7c4ec
tls: P256: pad struct sp_point to 64 bits (on 64-bit arches)
|
3 anos atrás |
Denys Vlasenko
|
0b13ab66f4
tls: P256: trivial x86-64 fix
|
3 anos atrás |
Denys Vlasenko
|
f92ae1dc4b
tls: P256: change logic so that we don't need double-wide vectors everywhere
|
3 anos atrás |
Denys Vlasenko
|
9c671fe3dd
tls: P256: do not open-code copying of struct variables
|
3 anos atrás |
Denys Vlasenko
|
dcfd8d3d10
tls: P256: fix sp_256_div2_8 - it wouldn't use a[] if low bit is 0
|
3 anos atrás |
Denys Vlasenko
|
8cbb70365f
tls: P256: remove redundant zeroing in sp_256_map_8
|
3 anos atrás |
Denys Vlasenko
|
4415f7bc06
tls: P256: explain which functions use double-wide arrays, no code changes
|
3 anos atrás |
Denys Vlasenko
|
bbda85c74b
tls: P256: remove constant-time trick in sp_256_proj_point_add_8
|
3 anos atrás |
Denys Vlasenko
|
26c8522522
tls: P256: do not open-code copying of struct variables
|
3 anos atrás |
Denys Vlasenko
|
4bc9da1071
tls: P256: 64-bit optimizations
|
3 anos atrás |
Denys Vlasenko
|
53b2fdcdba
*: add NOINLINEs where code noticeably shrinks
|
3 anos atrás |
Denys Vlasenko
|
17e6fb06b3
tls: whitespace fix
|
3 anos atrás |
Denys Vlasenko
|
5e9c617021
tls: P256: sp_256_sub_8_p256_mod always subtracts in-place, use that
|
3 anos atrás |
Denys Vlasenko
|
87e3f2e9f8
tls: P256: x86-64 optimized sp_256_sub_8_p256_mod
|
3 anos atrás |
Denys Vlasenko
|
911344a998
tls: P256: x86-64 assembly
|
3 anos atrás |
Denys Vlasenko
|
22fd8fd3f4
tls: P256: tweak arm assembly (currently disabled)
|
3 anos atrás |
Denys Vlasenko
|
d74993d31d
tls: P@256: remove "header comment is kept intact" comment
|
3 anos atrás |
Denys Vlasenko
|
567eefcaf8
tls: P256: do not dumplicate sp_256_sub_8()
|
3 anos atrás |
Denys Vlasenko
|
00f2cceb6a
tls: P256: shrink sp_256_mul_add_8 a bit more
|
3 anos atrás |
Denys Vlasenko
|
c784284615
tls: P256: propagate constants, create dedicated "subtract p256_mod" function
|
3 anos atrás |
Denys Vlasenko
|
2430fcfd8d
tls: optimize sp_256_mont_reduce_8 in P256
|
3 anos atrás |
Denys Vlasenko
|
bbd723ebec
tls: optimize sp_256_mul_8 in P256
|
3 anos atrás |