summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_lib.c
AgeCommit message (Expand)Author
2023-09-07Copyright year updatesMatt Caswell
2023-08-14Don't call ossl_assert on the result of bn_wexpandMatt Caswell
2023-05-11Fix a typo found by codespell in a variable nameDimitri Papadopoulos
2023-04-04Alternative fix for CVE-2022-4304Bernd Edlinger
2023-01-20bn2bin(): Don't accept len < 0Richard Levitte
2023-01-20bin2bn(): When len==0, just return a zero BIGNUMRichard Levitte
2022-10-05Stop raising ERR_R_MALLOC_FAILURE in most placesRichard Levitte
2022-06-13[crypto/bn] BN_consttime_swap: remove superfluous early exitBilly Brumley
2022-05-03Update copyright yearMatt Caswell
2022-02-10bn_lib.c: Change Endianess check to as a binary condition.Kelvin Lee
2022-02-07Fix typosDimitris Apostolou
2022-01-20Add signed bn2bin and bin2bn functionsRichard Levitte
2022-01-20[refactor] BIGNUM: Modify bin2bn() to work from least to most significant chunkRichard Levitte
2022-01-20[refactor] BIGNUM: Modify bn2binpad()'s setup to be more like bin2bn()'sRichard Levitte
2022-01-20[refactor] BIGNUM: collapse BN_bin2bn() and BN_lebin2bn() into oneRichard Levitte
2021-12-13bn2binpad: Use memset as the buffer will be used laterTomas Mraz
2020-11-13Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() callRichard Levitte
2020-07-15Disable optimiization of BN_num_bits_word() for VS2005 ARM compiler due toaSoujyuTanaka
2020-07-11BN: Check endianness in run-time, in BN_native2bn() and BN_bn2nativepad()Richard Levitte
2020-04-23Update copyright yearMatt Caswell
2020-02-18[BN] harden `BN_copy()` against leaks from memory accessesNicola Tuveri
2019-11-07Update source files for pre-3.0 deprecationRichard Levitte
2019-09-28Reorganize local header filesDr. Matthias St. Pierre
2019-09-07Uniform BN_bn2binpad() and BN_bn2lebinpad() implementationsNicola Tuveri
2019-09-07Make BN_num_bits() consttime upon BN_FLG_CONSTTIMENicola Tuveri
2019-07-23Avoid double clearing some BIGNUMsPauli
2019-03-19Added NULL check to BN_clear() & BN_CTX_end()Shane Lontis
2019-02-26Add BN_native2bn and BN_bn2nativepad, for native BIGNUM import/exportRichard Levitte
2019-02-25Ensure bn_cmp_words can handle the case where n == 0Matt Caswell
2018-12-06Following the license change, modify the boilerplates in crypto/bn/Richard Levitte
2018-12-06Refactor the computation of API version limitsRichard Levitte
2018-11-26Clean up BN_consttime_swap.Billy Brumley
2018-11-10[crypto/bn] swap BN_FLG_FIXED_TOP tooBilly Brumley
2018-08-23bn/bn_lib.c: conceal even memmory access pattern in bn2binpad.Andy Polyakov
2018-07-18bn/bn_lib.c address Coverity nit in bn2binpad.Andy Polyakov
2018-07-14bn/bn_lib.c: make BN_bn2binpad computationally constant-time.Andy Polyakov
2018-07-12bn/bn_lib.c: add BN_FLG_FIXED_TOP flag.Andy Polyakov
2018-07-12bn/bn_lib.c: remove bn_check_top from bn_expand2.Andy Polyakov
2018-04-27fix: BN_swap mishandles flagsBilly Brumley
2018-04-23Remove superfluous NULL checks. Add Andy's BN_FLG comment.Billy Brumley
2018-04-23Elliptic curve scalar multiplication with timing attack defensesBilly Brumley
2018-02-01Make BN_num_bits_word constant-time.David Benjamin
2018-01-19Copyright update of more files that have changed this yearRichard Levitte
2018-01-16Revert BN_copy() flag copy semantics changeMatt Caswell
2017-10-23Correct value for BN_security_bits()Matt Caswell
2017-10-18Remove parentheses of return.KaoruToda
2017-10-12Support constant BN for DH parametersDr. Stephen Henson
2017-10-09Since return is inconsistent, I removed unnecessary parentheses andKaoruToda
2017-09-27BN_copy now propagates BN_FLG_CONSTTIMESamuel Weiser
2017-03-03Ensure we don't call memcpy with a NULL pointerMatt Caswell