CVS: cvs.openbsd.org: src

2023-02-14 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/14 11:19:27 Modified files: lib/libcrypto/bn: bn_div.c Log message: Fix a -0 corner case in BN_div_internal() If the numerator is negative, the numerator and divisor are the same length (in words)

CVS: cvs.openbsd.org: src

2023-02-14 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/14 11:06:06 Modified files: lib/libcrypto/bn: bn_lib.c Log message: Reimplement BN_num_bits_word(). Provide a simpler and more readable bn_word_clz() function that returns the number of leading

CVS: cvs.openbsd.org: src

2023-02-14 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/14 11:01:15 Modified files: lib/libcrypto/bn: bn_lib.c Log message: Make BN_set_negative() closer to constant time. ok tb@

CVS: cvs.openbsd.org: src

2023-02-14 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/14 10:58:26 Modified files: lib/libcrypto/bn: bn_internal.h Log message: Provide bn_ct_{eq,ne}_zero{,_mask}() inline functions. These will be used to test a BN_ULONG in cases where constant time

CVS: cvs.openbsd.org: src

2023-02-12 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/12 21:26:32 Modified files: regress/lib/libcrypto/bn: bn_to_string.c Log message: Revise for negative zero changes.

CVS: cvs.openbsd.org: src

2023-02-12 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/12 21:25:37 Modified files: lib/libcrypto/bn: bn_add.c bn_div.c bn_mont.c bn_mpi.c bn_mul.c bn_print.c bn_recp.c bn_shift.c bn_sqr.c bn_word.c

CVS: cvs.openbsd.org: src

2023-02-12 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/12 21:03:38 Modified files: lib/libcrypto/bn: bn_lib.c Log message: Simplify BN_set_negative(). ok tb@

CVS: cvs.openbsd.org: src

2023-02-12 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/12 21:00:39 Modified files: regress/lib/libcrypto/bn: bn_shift.c Log message: Add currently failing negative zero check to BN_rshift() regress.

CVS: cvs.openbsd.org: src

2023-02-11 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/11 05:17:57 Modified files: lib/libcrypto : Makefile Removed files: lib/libcrypto/bn: bn_exp2.c Log message: Remove bn_exp2.c, which is now empty.

CVS: cvs.openbsd.org: src

2023-02-11 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/11 05:15:02 Removed files: lib/libcrypto/bn/asm: x86_64-gcc.c Log message: Bye bye x86_64-gcc.c. This is no longer used, since we're now using s2n-bignum functions instead.

CVS: cvs.openbsd.org: src

2023-02-09 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/09 02:58:53 Modified files: lib/libcrypto/bn: bn_sqr.c Log message: Pull in bn_internal.h for the generic version of bn_umul_hilo()

CVS: cvs.openbsd.org: src

2023-02-09 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/09 02:16:26 Modified files: lib/libcrypto/bn: bn_local.h bn_sqr.c Log message: Clean up bn_sqr_words() Currently there are two versions of bn_sqr_words(), which call the sqr or sqr64 macro. Replace

CVS: cvs.openbsd.org: src

2023-02-04 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/04 07:00:18 Modified files: lib/libcrypto/bn/arch/amd64: bn_arch.c bn_arch.h Log message: Remove bn_sqr_words() on amd64. s2n-bignum's bignum_sqr() is not the same as bn_sqr_words() (which only

CVS: cvs.openbsd.org: src

2023-02-04 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/04 04:48:55 Modified files: lib/libcrypto/bn/arch/aarch64: bn_arch.h lib/libcrypto/bn/arch/alpha: bn_arch.h lib/libcrypto/bn/arch/powerpc64: bn_arch.h

CVS: cvs.openbsd.org: src

2023-02-02 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/02 22:30:49 Modified files: lib/libcrypto/bn: bn_exp.c bn_exp2.c Log message: Move BN_mod_exp2_mont() to bn_exp.c.

CVS: cvs.openbsd.org: src

2023-02-02 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/02 22:27:50 Modified files: lib/libcrypto/bn: bn_exp.c Log message: Reorder functions in bn_exp.c to be slightly sensible... No functional change intended.

CVS: cvs.openbsd.org: src

2023-02-02 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/02 22:15:40 Modified files: lib/libcrypto/bn: bn_mod.c Log message: Clean up and simplify BN_mod_lshift{,_quick}(). BN_mod_lshift() already has a BN_CTX available, make use of it rather than

CVS: cvs.openbsd.org: src

2023-02-02 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/02 22:10:57 Modified files: lib/libcrypto/bn: bn_mod.c Log message: Clean up BN_mod_mul() and simplify BN_mod_sqr(). Use the same naming/code pattern in BN_mod_mul() as is used in BN_mul(). Note

CVS: cvs.openbsd.org: src

2023-02-02 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/02 22:06:20 Modified files: lib/libcrypto/bn: bn_mod.c Log message: Simplify BN_mod_{lshift1,sub}_quick(). The BN_mod_.*_quick() functions require that their inputs are non-negative and are already

CVS: cvs.openbsd.org: src

2023-02-02 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/02 21:55:13 Modified files: lib/libcrypto/bn: bn_mod.c Log message: Simplify BN_nnmod(). In the case that the result is negative (i.e. one of a or m is negative), the positive result can be

CVS: cvs.openbsd.org: src

2023-02-02 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/02 21:47:59 Modified files: lib/libcrypto/bn: bn_local.h bn_mod.c Log message: Turn BN_mod_{ct,nonct}() into symbols. Also use accurate/useful variables names. ok tb@

CVS: cvs.openbsd.org: src

2023-02-02 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/02 11:39:26 Modified files: lib/libcrypto/bn: bn_add.c lib/libcrypto/bn/arch/amd64: bn_arch.c bn_arch.h Log message: Refactor BN_uadd() and BN_usub(). Unlike bn_add_words()/bn_sub_words(),

CVS: cvs.openbsd.org: src

2023-02-02 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/02/02 11:19:27 Modified files: lib/libcrypto/aes/asm: vpaes-x86.pl Log message: Unbreak vpaes-x86 implementation. Remove remnants of previous PIC handling. ok miod@

CVS: cvs.openbsd.org: src

2023-01-31 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/31 23:23:13 Modified files: lib/libcrypto/bn: bn_mont.c Log message: Pull the MONT_WORD define to the top. Reordering functions with defines hiding in the middle leads to fun outcomes... and

CVS: cvs.openbsd.org: src

2023-01-31 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/31 21:48:08 Modified files: lib/libcrypto/bn: bn_mont.c Log message: Move BN_MONT_CTX_* functions to the top of the file. No functional change.

CVS: cvs.openbsd.org: src

2023-01-30 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/30 23:17:11 Modified files: lib/libcrypto : Makefile lib/libcrypto/arch/aarch64: Makefile.inc lib/libcrypto/arch/alpha: Makefile.inc lib/libcrypto/arch/arm: Makefile.inc

CVS: cvs.openbsd.org: src

2023-01-30 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/30 23:08:23 Modified files: lib/libcrypto/bn: bn_div.c Log message: Simplify bn_div_3_words(). Make use of bn_umul_hilo() and remove the tangle of preprocessor directives that implement different

CVS: cvs.openbsd.org: src

2023-01-30 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/30 22:57:08 Modified files: lib/libcrypto/bn/arch/alpha: bn_arch.h lib/libcrypto/bn/arch/powerpc64: bn_arch.h lib/libcrypto/bn/arch/riscv64: bn_arch.h Log message: Provide inline

CVS: cvs.openbsd.org: src

2023-01-30 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/30 22:53:49 Modified files: lib/libcrypto/bn/arch/aarch64: bn_arch.h lib/libcrypto/bn/arch/amd64: bn_arch.h lib/libcrypto/bn/arch/i386: bn_arch.h Log message: Provide inline

CVS: cvs.openbsd.org: src

2023-01-30 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/30 22:48:39 Added files: lib/libcrypto/bn: bn_internal.h Log message: Provide bn_umul_hilo(). The bignum code needs to be able to multiply two words, producing a double word result. Some

CVS: cvs.openbsd.org: src

2023-01-30 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/30 22:16:52 Modified files: lib/libcrypto/bn: bn_add.c lib/libcrypto/man: BN_add.3 Log message: Correctly detect b < a in BN_usub(). BN_usub() requires that a >= b and should return an

CVS: cvs.openbsd.org: src

2023-01-30 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/30 22:13:28 Modified files: regress/lib/libcrypto/bn: Makefile Log message: Add bn/arch/${MACHINE_CPU} to the include path. This will be needed once headers pull in bn_arch.h.

CVS: cvs.openbsd.org: src

2023-01-30 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/30 22:12:16 Modified files: regress/lib/libcrypto/bn: bn_add_sub.c Log message: Add more regress tests for BN_usub(). This adds more tests for BN_usub(), particularly where b > a, which should be

CVS: cvs.openbsd.org: src

2023-01-30 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/30 22:09:34 Removed files: lib/libcrypto/bn/arch/sparc: bn_arch.h lib/libcrypto/bn/asm: sparcv8.S lib/libcrypto/arch/sparc: Makefile.inc opensslconf.h Log message: Remove sparc

CVS: cvs.openbsd.org: src

2023-01-29 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/29 08:51:26 Modified files: regress/lib/libcrypto/bn: bn_mul_div.c Log message: Use utime in order to make benchmarks less noisy and more consistent.

CVS: cvs.openbsd.org: src

2023-01-29 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/29 08:33:43 Modified files: regress/lib/libcrypto/bn: bn_mul_div.c Log message: Set BN_FLG_CONSTTIME on benchmark inputs. The public APIs still change behaviour based on BN_FLG_CONSTTIME - set it

CVS: cvs.openbsd.org: src

2023-01-29 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/29 08:26:55 Modified files: regress/lib/libcrypto/bn: bn_mul_div.c Log message: Add benchmarks for BN_div()

CVS: cvs.openbsd.org: src

2023-01-29 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/29 08:22:12 Modified files: regress/lib/libcrypto/bn: bn_mul_div.c Log message: Correct setup for BN_mul/BN_sqr benchmarks. BN_rand() takes a bit length, not the top bit.

CVS: cvs.openbsd.org: src

2023-01-29 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/29 08:18:49 Modified files: regress/lib/libcrypto/bn: Makefile Added files: regress/lib/libcrypto/bn: bn_mul_div.c Removed files: regress/lib/libcrypto/bn: bn_mul.c Log message:

CVS: cvs.openbsd.org: src

2023-01-29 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/29 07:06:58 Modified files: lib/libcrypto : Makefile Removed files: lib/libcrypto/bn: bn_depr.c Log message: Remove the now empty/unused bn_depr.c.

CVS: cvs.openbsd.org: src

2023-01-29 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/29 07:00:41 Modified files: lib/libcrypto/arch/amd64: Makefile.inc lib/libcrypto/bn/arch/amd64: bn_arch.c Log message: Use s2n-bignum assembly implementations for libcrypto bignum on amd64.

CVS: cvs.openbsd.org: src

2023-01-28 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/28 10:13:26 Modified files: lib/libcrypto/bn: bn_prime.c Log message: Remove comment referencing bn_depr.c.

CVS: cvs.openbsd.org: src

2023-01-28 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/28 10:09:00 Modified files: lib/libcrypto/bn: bn_depr.c bn_prime.c Log message: Move the three functions that are in bn_depr.c back to bn_prime.c. They should go away, but they have not yet

CVS: cvs.openbsd.org: src

2023-01-28 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/28 10:07:02 Modified files: lib/libcrypto/bn: bn_asm.c bn_mont.c Log message: Move the more readable version of bn_mul_mont() from bn_asm.c to bn_mont.c. Nothing actually uses this code, as

CVS: cvs.openbsd.org: src

2023-01-28 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/28 09:58:24 Modified files: lib/libcrypto/bn: bn_div.c Log message: Fix previous.

CVS: cvs.openbsd.org: src

2023-01-28 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/28 09:33:34 Modified files: lib/libcrypto/bn: bn_div.c bn_local.h bn_word.c lib/libcrypto/bn/arch/amd64: bn_arch.h lib/libcrypto/bn/arch/i386: bn_arch.h Log message: Provide

CVS: cvs.openbsd.org: src

2023-01-23 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/23 11:26:56 Modified files: lib/libcrypto/bn/arch/amd64: bignum_add.S bignum_cmadd.S bignum_cmul.S bignum_mul.S

CVS: cvs.openbsd.org: src

2023-01-23 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/23 11:25:36 Modified files: lib/libcrypto/bn/arch/amd64: bignum_add.S bignum_cmadd.S bignum_cmul.S bignum_mul.S

CVS: cvs.openbsd.org: src

2023-01-23 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/23 11:22:15 Added files: lib/libcrypto/bn/arch/amd64: bignum_add.S bignum_cmadd.S bignum_cmul.S bignum_mul.S

CVS: cvs.openbsd.org: src

2023-01-23 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/23 05:17:58 Modified files: lib/libcrypto/bn: bn_asm.c bn_mul.c lib/libcrypto/bn/arch/amd64: bn_arch.h lib/libcrypto/bn/arch/i386: bn_arch.h lib/libcrypto/bn/arch/mips64:

CVS: cvs.openbsd.org: src

2023-01-23 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/23 05:09:06 Modified files: lib/libcrypto/bn: bn_asm.c bn_sqr.c lib/libcrypto/bn/arch/amd64: bn_arch.h lib/libcrypto/bn/arch/i386: bn_arch.h lib/libcrypto/bn/arch/mips64:

CVS: cvs.openbsd.org: src

2023-01-23 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/23 05:02:48 Modified files: lib/libcrypto/bn: bn_asm.c bn_div.c lib/libcrypto/bn/arch/amd64: bn_arch.h lib/libcrypto/bn/arch/i386: bn_arch.h lib/libcrypto/bn/arch/mips64:

CVS: cvs.openbsd.org: src

2023-01-23 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/23 03:31:03 Modified files: lib/libcrypto/bn: bn_add.c bn_asm.c lib/libcrypto/bn/arch/amd64: bn_arch.h lib/libcrypto/bn/arch/i386: bn_arch.h lib/libcrypto/bn/arch/mips64:

CVS: cvs.openbsd.org: src

2023-01-23 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/23 03:34:22 Modified files: lib/libcrypto/bn: bn_add.c Log message: Include bn_arch.h now that we're using defines from it.

CVS: cvs.openbsd.org: src

2023-01-21 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/21 10:30:50 Modified files: lib/libcrypto/bn/arch/amd64: bn_arch.h Log message: Enable bn_sqr() on amd64. ok tb@

CVS: cvs.openbsd.org: src

2023-01-21 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/21 10:29:57 Modified files: lib/libcrypto : Makefile lib/libcrypto/arch/amd64: Makefile.inc Added files: lib/libcrypto/bn/arch/amd64: bn_arch.c Log message: Provide an

CVS: cvs.openbsd.org: src

2023-01-21 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/21 09:35:18 Modified files: lib/libcrypto/bn/arch/amd64: bignum_sqr.S Log message: Fix include.

CVS: cvs.openbsd.org: src

2023-01-21 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/21 09:30:57 Modified files: lib/libcrypto/bn/arch/amd64: bignum_sqr.S Log message: Include the ISC license from s2n-bignum's LICENSE file.

CVS: cvs.openbsd.org: src

2023-01-21 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/21 09:29:52 Added files: lib/libcrypto/bn/arch/amd64: bignum_sqr.S Log message: Bring in s2n-bignum's bignum_sqr() for amd64. ok tb@

CVS: cvs.openbsd.org: src

2023-01-21 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/21 08:53:54 Modified files: lib/libcrypto/bn: s2n_bignum.h s2n_bignum_internal.h Log message: Include the ISC license from s2n-bignum's LICENSE file.

CVS: cvs.openbsd.org: src

2023-01-21 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/21 08:51:17 Added files: lib/libcrypto/bn: s2n_bignum.h s2n_bignum_internal.h Log message: Bring in the internal and "public" headers for s2n-bignum. s2n-bignum provides a collection of bignum

CVS: cvs.openbsd.org: src

2023-01-21 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/21 08:40:14 Modified files: lib/libcrypto/bn: bn_mul.c Log message: Refactor BN_mul(). This splits BN_mul() into two parts, one of which is a separate bn_mul() function. This makes the code more

CVS: cvs.openbsd.org: src

2023-01-21 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/21 07:10:46 Modified files: lib/libcrypto/bn: bn_sqr.c Log message: Refactor BN_sqr(). This splits BN_sqr() into two parts, one of which is a separate bn_sqr() function. This makes the code more

CVS: cvs.openbsd.org: src

2023-01-21 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/21 06:24:39 Modified files: regress/lib/libcrypto/bn: Makefile Added files: regress/lib/libcrypto/bn: bn_mul.c Log message: Provide basic benchmarks for BN_mul() and BN_sqr().

CVS: cvs.openbsd.org: src

2023-01-21 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/21 02:21:11 Modified files: lib/libcrypto/bn: bn_gcd.c Log message: Reorder functions and drop unnessary static prototypes. No functional change.

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 10:34:52 Modified files: lib/libcrypto/bn: bn_sqr.c Log message: Remove various #ifndef BN_SQR_COMBA. bn_sqr_comba{4,8}() is now always available. ok tb@

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 10:31:52 Modified files: lib/libcrypto/bn: bn_asm.c bn_mul.c bn_sqr.c lib/libcrypto/bn/arch/amd64: bn_arch.h lib/libcrypto/bn/arch/i386: bn_arch.h

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 10:26:03 Modified files: lib/libcrypto/bn: bn_asm.c bn_local.h lib/libcrypto/bn/asm: x86_64-gcc.c Log message: Move {mul,sqr}_add_c{,2} macros from bn_asm.c to bn_local.h. These depend

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 05:16:46 Modified files: lib/libcrypto/bn: bn_local.h bn_mul.c lib/libcrypto/man: bn_dump.3 Log message: Remove unused code. ok tb@

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:07:52 Modified files: lib/libcrypto/arch/mips64: Makefile.inc lib/libcrypto/bn: bn_div.c lib/libcrypto/bn/arch/mips64: bn_arch.h Log message: Replace BN_DIV3W with

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:04:34 Modified files: lib/libcrypto : Makefile Added files: lib/libcrypto/bn/arch/aarch64: bn_arch.h lib/libcrypto/bn/arch/alpha: bn_arch.h

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:56 src/lib/libcrypto/bn/arch/riscv64 Update of /cvs/src/lib/libcrypto/bn/arch/riscv64 In directory cvs.openbsd.org:/tmp/cvs-serv51879/riscv64 Log Message: Directory

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:56 src/lib/libcrypto/bn/arch/powerpc64 Update of /cvs/src/lib/libcrypto/bn/arch/powerpc64 In directory cvs.openbsd.org:/tmp/cvs-serv51879/powerpc64 Log Message: Directory

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:56 src/lib/libcrypto/bn/arch/i386 Update of /cvs/src/lib/libcrypto/bn/arch/i386 In directory cvs.openbsd.org:/tmp/cvs-serv51879/i386 Log Message: Directory /cvs/src/lib/libcrypto/bn/arch/i386 added

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:56 src/lib/libcrypto/bn/arch/sparc Update of /cvs/src/lib/libcrypto/bn/arch/sparc In directory cvs.openbsd.org:/tmp/cvs-serv51879/sparc Log Message: Directory /cvs/src/lib/libcrypto/bn/arch/sparc

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:56 src/lib/libcrypto/bn/arch/mips64 Update of /cvs/src/lib/libcrypto/bn/arch/mips64 In directory cvs.openbsd.org:/tmp/cvs-serv51879/mips64 Log Message: Directory

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:56 src/lib/libcrypto/bn/arch/hppa Update of /cvs/src/lib/libcrypto/bn/arch/hppa In directory cvs.openbsd.org:/tmp/cvs-serv51879/hppa Log Message: Directory /cvs/src/lib/libcrypto/bn/arch/hppa added

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:56 src/lib/libcrypto/bn/arch/sh Update of /cvs/src/lib/libcrypto/bn/arch/sh In directory cvs.openbsd.org:/tmp/cvs-serv51879/sh Log Message: Directory /cvs/src/lib/libcrypto/bn/arch/sh added to the

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:56 src/lib/libcrypto/bn/arch/m88k Update of /cvs/src/lib/libcrypto/bn/arch/m88k In directory cvs.openbsd.org:/tmp/cvs-serv51879/m88k Log Message: Directory /cvs/src/lib/libcrypto/bn/arch/m88k added

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:56 src/lib/libcrypto/bn/arch/amd64 Update of /cvs/src/lib/libcrypto/bn/arch/amd64 In directory cvs.openbsd.org:/tmp/cvs-serv51879/amd64 Log Message: Directory /cvs/src/lib/libcrypto/bn/arch/amd64

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:55 src/lib/libcrypto/bn/arch/aarch64 Update of /cvs/src/lib/libcrypto/bn/arch/aarch64 In directory cvs.openbsd.org:/tmp/cvs-serv51879/aarch64 Log Message: Directory

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:56 src/lib/libcrypto/bn/arch/sparc64 Update of /cvs/src/lib/libcrypto/bn/arch/sparc64 In directory cvs.openbsd.org:/tmp/cvs-serv51879/sparc64 Log Message: Directory

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:56 src/lib/libcrypto/bn/arch/powerpc Update of /cvs/src/lib/libcrypto/bn/arch/powerpc In directory cvs.openbsd.org:/tmp/cvs-serv51879/powerpc Log Message: Directory

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:56 src/lib/libcrypto/bn/arch/arm Update of /cvs/src/lib/libcrypto/bn/arch/arm In directory cvs.openbsd.org:/tmp/cvs-serv51879/arm Log Message: Directory /cvs/src/lib/libcrypto/bn/arch/arm added to

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:56 src/lib/libcrypto/bn/arch/alpha Update of /cvs/src/lib/libcrypto/bn/arch/alpha In directory cvs.openbsd.org:/tmp/cvs-serv51879/alpha Log Message: Directory /cvs/src/lib/libcrypto/bn/arch/alpha

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:01:41 src/lib/libcrypto/bn/arch Update of /cvs/src/lib/libcrypto/bn/arch In directory cvs.openbsd.org:/tmp/cvs-serv16557/arch Log Message: Directory /cvs/src/lib/libcrypto/bn/arch added to the

CVS: cvs.openbsd.org: src

2023-01-20 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/20 03:00:51 Modified files: lib/libcrypto/bn: bn_mul.c Log message: Reorder functions. No functional change.

CVS: cvs.openbsd.org: src

2023-01-19 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/19 21:49:48 Modified files: lib/libcrypto/bn: bn_add.c Log message: Reorder functions for easier maintenance. No functional change.

CVS: cvs.openbsd.org: src

2023-01-18 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/18 21:51:32 Removed files: lib/libcrypto/bn/asm: x86.pl lib/libcrypto/bn/asm/x86: add.pl comba.pl div.pl mul.pl mul_add.pl sqr.pl sub.pl Log message:

CVS: cvs.openbsd.org: src

2023-01-18 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/18 21:43:25 Removed files: lib/libcrypto/bn/asm: pa-risc2.s pa-risc2W.s sparcv8plus.S sparcv9-mont.pl sparcv9a-mont.pl via-mont.pl

CVS: cvs.openbsd.org: src

2023-01-17 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/17 22:29:48 Modified files: lib/libcrypto/bn: bn_div.c Log message: Bring in a description of bn_words_3_div(). This comes from OpenSSL commit 3da2e9c4ee45989a426ff513dc6c6250d1e460de. ok tb@

CVS: cvs.openbsd.org: src

2023-01-17 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/17 22:27:30 Modified files: lib/libcrypto/bn: bn_div.c Log message: Start cleaning up BN_div_internal(). Always provide a bn_div_3_words() function, rather than having deeply nested compiler

CVS: cvs.openbsd.org: src

2023-01-16 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/16 10:56:25 Modified files: lib/libcrypto/bn: bn_sqr.c Log message: Move BN_sqr() to the bottom of the file. This will simplify review/upcoming changes. No functional change.

CVS: cvs.openbsd.org: src

2023-01-16 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/16 09:53:19 Modified files: lib/libcrypto/bn: bn_mont.c bn_mul.c bn_sqr.c Log message: Mop up debug code that escaped previously. This is the result of `unifdef -m -U BN_COUNT'.

CVS: cvs.openbsd.org: src

2023-01-14 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/14 08:45:44 Modified files: lib/libcrypto : Makefile lib/libcrypto/arch/amd64: Makefile.inc lib/libcrypto/arch/arm: Makefile.inc lib/libcrypto/arch/i386: Makefile.inc

CVS: cvs.openbsd.org: src

2023-01-14 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/14 08:23:27 Modified files: lib/libcrypto/bn: bn_ctx.c Log message: Rewrite BN_CTX. The current BN_CTX implementation is an incredibly overengineered piece of code, which even includes its own

CVS: cvs.openbsd.org: src

2023-01-14 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/14 08:12:27 Modified files: lib/libcrypto/bn: bn_lib.c Log message: Greatly simplify bn_expand_internal(). We have a function called recallocarray() - make use of it rather than handrolling a

CVS: cvs.openbsd.org: src

2023-01-14 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/14 08:10:45 Modified files: lib/libcrypto/ec: ec_key.c Log message: Clean up and simplify EC_KEY handling, mostly from a BN_CTX perspective. If we have a BN_CTX available, make use of it rather

CVS: cvs.openbsd.org: src

2023-01-10 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/10 21:39:42 Modified files: lib/libcrypto/dsa: dsa_ameth.c dsa_gen.c dsa_ossl.c Log message: Clean up and simplify BIGNUM handling in DSA code. This adds missing BN_CTX_start()/BN_CTX_end() calls,

CVS: cvs.openbsd.org: src

2023-01-10 Thread Joel Sing
CVSROOT:/cvs Module name:src Changes by: js...@cvs.openbsd.org 2023/01/10 21:35:26 Modified files: lib/libcrypto/dsa: dsa_key.c Log message: Simplify BIGNUM handling in dsa_builtin_keygen(). Rather than having complicated "attempt to reuse" dances, always allocate

<    1   2   3   4   5   6   7   8   9   10   >