Andy Polyakov
|
fcc4ee0947
crypto/bn: add more fixed-top routines.
|
6 years ago |
Andy Polyakov
|
71883868ea
bn/bn_{mont|exp}.c: switch to zero-padded intermediate vectors.
|
6 years ago |
Andy Polyakov
|
6c90182a5f
bn/bn_mont.c: improve readability of post-condition code.
|
6 years ago |
Andy Polyakov
|
3c97e4121e
bn/bn_mont.c: move boundary condition check closer to caller.
|
6 years ago |
Matt Caswell
|
b1860d6c71
Return an error from BN_mod_inverse if n is 1 (or -1)
|
6 years ago |
FdaSilvaYY
|
f06080cb3d
Add missing error code when alloc-return-null
|
6 years ago |
Bernd Edlinger
|
f91e026e38
Fix a possible crash in BN_from_montgomery_word
|
6 years ago |
Rich Salz
|
e6e9170d6e
Allow NULL for some _free routines.
|
6 years ago |
Matt Caswell
|
320a81277e
Remove some code for a contributor that we cannot find
|
6 years ago |
David Benjamin
|
f345b1f39d
Fix timing leak in BN_from_montgomery_word.
|
6 years ago |
Richard Levitte
|
48e5119a6b
Copyright update of more files that have changed this year
|
6 years ago |
Matt Caswell
|
7d461736f7
Revert BN_copy() flag copy semantics change
|
6 years ago |
KaoruToda
|
26a7d938c9
Remove parentheses of return.
|
7 years ago |
KaoruToda
|
208fb891e3
Since return is inconsistent, I removed unnecessary parentheses and
|
7 years ago |
Samuel Weiser
|
9f9442918a
BN_copy now propagates BN_FLG_CONSTTIME
|
7 years ago |
Samuel Weiser
|
3de81a5912
Fixed error in propagating BN_FLG_CONSTTIME flag through BN_MONT_CTX_set, which could lead to information disclosure on RSA primes p and q.
|
7 years ago |
Paul Yang
|
edea42c602
Change to check last return value of BN_CTX_get
|
7 years ago |
Rich Salz
|
4f22f40507
Copyright consolidation 06/10
|
8 years ago |
Alessandro Ghedini
|
d188a53617
Convert CRYPTO_LOCK_{DH,DSA,RSA} to new multi-threading API
|
8 years ago |
Rich Salz
|
349807608f
Remove /* foo.c */ comments
|
9 years ago |
Rich Salz
|
d59c7c81e3
Remove BN_init
|
9 years ago |
Matt Caswell
|
90945fa31a
Continue standardising malloc style for libcrypto
|
9 years ago |
Matt Caswell
|
6a009812b2
Check for 0 modulus in BN_MONT_CTX_set
|
9 years ago |
Loganaden Velvindron
|
1a586b3942
Clear BN-mont values when free'ing it.
|
9 years ago |
Rich Salz
|
9f040d6dec
Some cleanups for crypto/bn
|
9 years ago |
Richard Levitte
|
b39fc56061
Identify and move common internal libcrypto header files
|
9 years ago |
Rich Salz
|
16f8d4ebf0
memset, memcpy, sizeof consistency fixes
|
9 years ago |
Rich Salz
|
b4faea50c3
Use safer sizeof variant in malloc
|
9 years ago |
Rich Salz
|
b196e7d936
remove malloc casts
|
9 years ago |
Rich Salz
|
fe6d2a339b
Use memset in bn_mont
|
9 years ago |