mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Reduce build latency and fix old cpu bugs
This commit is contained in:
parent
df8ab0aa0c
commit
533f3d1ef1
69 changed files with 43069 additions and 43683 deletions
4
third_party/mbedtls/secp384r1.c
vendored
4
third_party/mbedtls/secp384r1.c
vendored
|
@ -42,7 +42,7 @@
|
|||
* @see FIPS 186-3 §D.2.4
|
||||
*/
|
||||
void secp384r1(uint64_t p[12]) {
|
||||
uint64_t A, B, C, D, E, F, G, a, b;
|
||||
uint64_t A, B, C, D, E, F, G, a, b, o;
|
||||
A = Q(0);
|
||||
B = Q(2);
|
||||
C = Q(4);
|
||||
|
@ -56,7 +56,7 @@ void secp384r1(uint64_t p[12]) {
|
|||
ADC(C, C, a << 1, 0, o);
|
||||
ADC(D, D, b << 1 | a >> 63, o, o);
|
||||
ADC(E, E, b >> 63, o, o);
|
||||
ADC(F, F, o, o, o);
|
||||
ADC(F, F, 0, o, o);
|
||||
G += o;
|
||||
ADC(A, A, Q(12), 0, o);
|
||||
ADC(B, B, Q(14), o, o);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue