summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/recallocarray.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-01-27Add openssl 3.0 interop teststb5-12/+70
The plan is to retire the 1.0.2 interop tests soon so as to be able to drop the dead and dangerous OpenSSL 1.0.2 port. The cert part is extremely slow on arm64: the whole interop test on an m1 is about 10x slower (~45 min!) than on a modern amd64 laptop, so people running regress may want to wait a bit with adding OpenSSL 3 to their test boxes until this is sorted out.
2023-01-24Check return value of X509_digestjob1-2/+3
OK tb@
2023-01-23Change include from _internal_s2n_bignum.h to s2n_bignum_internal.h.jsing9-9/+9
2023-01-23Include the ISC license from s2n-bignum's LICENSE file.jsing9-9/+108
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