Matt Caswell
|
da1c088f59
Copyright year updates
|
1 year ago |
Matt Caswell
|
69b9a99296
Don't call ossl_assert on the result of bn_wexpand
|
1 year ago |
Dimitri Papadopoulos
|
060f370ebc
Fix a typo found by codespell in a variable name
|
1 year ago |
Bernd Edlinger
|
f06ef1657a
Alternative fix for CVE-2022-4304
|
1 year ago |
Richard Levitte
|
c9466f38e0
bn2bin(): Don't accept len < 0
|
1 year ago |
Richard Levitte
|
1b24b5a1b4
bin2bn(): When len==0, just return a zero BIGNUM
|
1 year ago |
Richard Levitte
|
e077455e9e
Stop raising ERR_R_MALLOC_FAILURE in most places
|
2 years ago |
Billy Brumley
|
a644cb7c1c
[crypto/bn] BN_consttime_swap: remove superfluous early exit
|
2 years ago |
Matt Caswell
|
fecb3aae22
Update copyright year
|
2 years ago |
Kelvin Lee
|
649999dc57
bn_lib.c: Change Endianess check to as a binary condition.
|
2 years ago |
Dimitris Apostolou
|
07c5465e98
Fix typos
|
2 years ago |
Richard Levitte
|
f5e8050fdc
Add signed bn2bin and bin2bn functions
|
3 years ago |
Richard Levitte
|
c30de60185
[refactor] BIGNUM: Modify bin2bn() to work from least to most significant chunk
|
3 years ago |
Richard Levitte
|
4e26fe508b
[refactor] BIGNUM: Modify bn2binpad()'s setup to be more like bin2bn()'s
|
3 years ago |
Richard Levitte
|
c2cab43574
[refactor] BIGNUM: collapse BN_bin2bn() and BN_lebin2bn() into one
|
3 years ago |
Tomas Mraz
|
858d5ac16d
bn2binpad: Use memset as the buffer will be used later
|
2 years ago |
Richard Levitte
|
9311d0c471
Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call
|
4 years ago |
aSoujyuTanaka
|
7a09fab2b3
Disable optimiization of BN_num_bits_word() for VS2005 ARM compiler due to
|
4 years ago |
Richard Levitte
|
310a0edbd0
BN: Check endianness in run-time, in BN_native2bn() and BN_bn2nativepad()
|
4 years ago |
Matt Caswell
|
33388b44b6
Update copyright year
|
4 years ago |
Nicola Tuveri
|
2d9167ed0b
[BN] harden `BN_copy()` against leaks from memory accesses
|
4 years ago |
Richard Levitte
|
00db8c60aa
Update source files for pre-3.0 deprecation
|
5 years ago |
Dr. Matthias St. Pierre
|
706457b7bd
Reorganize local header files
|
5 years ago |
Nicola Tuveri
|
1b338abe3a
Uniform BN_bn2binpad() and BN_bn2lebinpad() implementations
|
5 years ago |
Nicola Tuveri
|
8b44198b91
Make BN_num_bits() consttime upon BN_FLG_CONSTTIME
|
5 years ago |
Pauli
|
82925f9dd0
Avoid double clearing some BIGNUMs
|
5 years ago |
Shane Lontis
|
ce1415ed2c
Added NULL check to BN_clear() & BN_CTX_end()
|
5 years ago |
Richard Levitte
|
fa4d419c25
Add BN_native2bn and BN_bn2nativepad, for native BIGNUM import/export
|
5 years ago |
Matt Caswell
|
576129cd72
Ensure bn_cmp_words can handle the case where n == 0
|
5 years ago |
Richard Levitte
|
367ace6870
Following the license change, modify the boilerplates in crypto/bn/
|
6 years ago |