summaryrefslogtreecommitdiff
path: root/lib/libcrypto/bn
AgeCommit message (Expand)Author
2023-03-25Add RCSIDTheo Buehler
2023-03-25Add checks to ensure the uint16_t array isn't overflowed when thisTheo Buehler
2023-03-25Zap an empty lineTheo Buehler
2023-03-15Ensure negative input to BN_mod_exp_mont_consttime() is correctly reduced.Joel Sing
2023-03-11Avoid -0 in BN_div_word().Joel Sing
2023-03-11Correct sign handling in BN_add_word().Joel Sing
2023-03-07Improve bn_montgomery_multiply_words().Joel Sing
2023-03-07Slightly rework bn_mulw_addtw().Joel Sing
2023-03-07Call BN_free() instead of BN_clear_free().Joel Sing
2023-03-07Limit bn_mul_mont() usage to sizes less than or equal to 8192 bits.Joel Sing
2023-03-07Implement bn_montgomery_multiply()Joel Sing
2023-03-07Refactor BN_mod_mul_montgomery().Joel Sing
2023-03-07Delete unused and unsafe bn_mul_mont() example code.Joel Sing
2023-03-07Fix comment for bn_mul2_mulw_addtw()Joel Sing
2023-02-28Rewrite/simplify BN_from_montgomery_word() and BN_from_montgomery().Joel Sing
2023-02-25Use separate lines instead of semicolons.Brent Cook
2023-02-23Use explicit .text instead of .previous to please Windows/MinGW on amd64Theo Buehler
2023-02-22Adjust parentheses in mont->ri assignment.Joel Sing
2023-02-22Replace bn_sub_part_words() with bn_sub().Joel Sing
2023-02-22Rework bn_add()/bn_sub() to operate on word arrays.Joel Sing
2023-02-22Rewrite and simplify BN_MONT_CTX_set()Joel Sing
2023-02-21remove extra argumentBrent Cook
2023-02-21Unifdef MONT_WORD.Joel Sing
2023-02-19Move BN_MONT_CTX back to bn_local.h for now. It's still used by bn_exp.cTheo Buehler
2023-02-19Rewrite BN_MONT_CTX_set_locked()Joel Sing
2023-02-19First pass clean up of bn_mont.c.Joel Sing
2023-02-19Move BN_MONT_CTX_copy().Joel Sing
2023-02-19Move struct bn_mont_ctx_st from bn_local.h to bn_mont.c.Joel Sing
2023-02-17Provide optimised versions of bn_addw() and bn_subw() for aarch64.Joel Sing
2023-02-17Remove now unused tangle of mul*/sqr* and BN_UMULT_* macros.Joel Sing
2023-02-17Reimplement bn_sqr_comba{4,8}().Joel Sing
2023-02-16Enable s2n-bignum word_clz() on amd64.Joel Sing
2023-02-16Use bn_addw() in bn_mulw(), rather than duplicating add with carry code.Joel Sing
2023-02-16Change include from _internal_s2n_bignum.h to s2n_bignum_internal.h.Joel Sing
2023-02-16Include the ISC license from s2n-bignum's LICENSE file.Joel Sing
2023-02-16Bring in word_clz.S from s2n-bignum for amd64.Joel Sing
2023-02-16Rename bn_umul_hilo() to bn_mulw().Joel Sing
2023-02-16Add missing masks to accumulator version of bn_umul_hilo()Joel Sing
2023-02-16Reimplement bn_add_words() and bn_sub_words() using bignum primitives.Joel Sing
2023-02-15Place bn_mul_add_words() after bn_mul_words().Joel Sing
2023-02-15zap tabTheo Buehler
2023-02-14Remove the misnamed and now unused mul, mul_add and mul_add_c macros.Joel Sing
2023-02-14Reimplement bn_mul_words(), bn_mul_add_words() and bn_mul_comba{4,8}().Joel Sing
2023-02-14Provide big number primitives for word addition/multiplication.Joel Sing
2023-02-14Make BN_is_zero() check word values.Joel Sing
2023-02-14Fix a -0 corner case in BN_div_internal()Joel Sing
2023-02-14Reimplement BN_num_bits_word().Joel Sing
2023-02-14Make BN_set_negative() closer to constant time.Joel Sing
2023-02-14Provide bn_ct_{eq,ne}_zero{,_mask}() inline functions.Joel Sing
2023-02-13Avoid negative zero.Joel Sing