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