summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/reallocarray.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-01-23Bring in various s2n-bignum functions for amd64.jsing9-0/+1458
This brings in bignum_add(), bignum_cmadd(), bignum_cmul(), bignum_mul() and bignum_sub(), along with bignum_{mul,sqr}_4_8_alt() and bignum_{mul,sqr}_8_16_alt(). Discussed with tb@
2023-01-23Move bn_mul_add_words() and bn_mul_words() from bn_asm.c to bn_mul.c.jsing7-138/+156
These are wrapped with #ifndef HAVE_BN_ADD_MUL_WORDS/HAVE_BN_MUL_WORDS, which are defined for architectures that provide their own assembly versions.
2023-01-23Move bn_sqr_words from bn_asm.c to bn_sqr.c.jsing7-59/+69
This is wrapped with #ifndef HAVE_BN_SQR_WORDS, which is then defined for architectures that provide their own assembly versions.
2023-01-23Move bn_div_words from bn_asm.c to bn_div.c.jsing7-86/+98
This is wrapped with #ifndef HAVE_BN_DIV_WORDS, which are defined for architectures that provide their own assembly versions.
2023-01-23Include bn_arch.h now that we're using defines from it.jsing1-1/+2
2023-01-23Move bn_add_words() and bn_sub_words from bn_asm.c to bn_add.c.jsing7-159/+184
These are wrapped with #ifndef HAVE_BN_ADD_WORDS/HAVE_BN_SUB_WORDS, which are defined for architectures that provide their own assembly versions.
2023-01-21Enable bn_sqr() on amd64.jsing1-1/+2
ok tb@
2023-01-21Provide an implementation of bn_sqr() that calls s2n-bignum's bignum_sqr().jsing3-3/+41
ok tb@
2023-01-21Fix include.jsing1-1/+1
2023-01-21Include the ISC license from s2n-bignum's LICENSE file.jsing1-1/+12