CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/11 09:25:36
Modified files:
lib/libcrypto/sha: sha256.c
Log message:
Demacro sha256.
Replace macros with static inline functions, as well as writing out the
variable rotations instead of trying to o
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/10 08:04:54
Modified files:
lib/libcrypto/md5: md5.c
Log message:
Remove now unnecessary 'do {} while (0);' and move variable declaration.
No functional change.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/10 08:03:47
Modified files:
lib/libcrypto/md5: md5.c
Log message:
Expand HASH_MAKE_STRING.
No change to generated assembly.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/10 07:59:31
Modified files:
lib/libcrypto/md5: md5.c
Log message:
Remove MD32_XARRAY remnants.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/10 07:58:34
Modified files:
lib/libcrypto/md5: md5.c
Log message:
Reorder functions.
No functional change.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/10 07:54:21
Modified files:
lib/libcrypto/md5: md5.c
Log message:
Implement MD5_{Update,Transform,Final}() directly in md5.c.
Copy the update, transform and final functions from md32_common.h, manua
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/10 07:41:56
Modified files:
lib/libcrypto/md4: md4.c
Log message:
Tidy includes.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/10 07:41:18
Modified files:
lib/libcrypto/md5: md5.c
Log message:
Tidy includes.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/10 06:27:35
Modified files:
lib/libcrypto/ripemd: ripemd.c
Log message:
Mop up the last MD32_XARRAY.
MD32_XARRAY was added as a workaround for a broken HP C compiler (circa
1999). Clean it up to sim
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/10 05:06:36
Modified files:
lib/libcrypto/ripemd: ripemd.c
Removed files:
lib/libcrypto/ripemd: rmdconst.h
Log message:
Inline the remaining 10 lines from rmdconst.h.
Discussed with tb@
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/10 05:04:30
Modified files:
lib/libcrypto/ripemd: ripemd.c rmdconst.h
Log message:
Inline X variables definitions.
Inline the WL and WR defines, which only add yet another layer of
abstraction and m
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/10 05:00:46
Modified files:
lib/libcrypto/ripemd: ripemd.c rmdconst.h
Log message:
Inline shift values.
Inline the SL and SR defines, which only makes the code harder to follow.
No change to genera
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/10 04:21:37
Modified files:
lib/libcrypto/ripemd: ripemd.c
Log message:
Apply some more style(9).
No change in generated assembly.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/10 01:18:44
Modified files:
lib/libcrypto/modes: gcm128.c
Log message:
Improve byte order handling in gcm128.
Replace a pile of byte order handling mess with htobe*() and be*toh().
ok tb@
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/08/10 01:15:23
Modified files:
lib/libcrypto : md32_common.h
lib/libcrypto/md4: md4.c
lib/libcrypto/md5: md5.c
lib/libcrypto/ripemd: ripemd.c
lib/libcrypto/sha: sha1.c
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/28 05:08:01
Modified files:
lib/libcrypto : Makefile
Added files:
lib/libcrypto/ripemd: ripemd.c
Removed files:
lib/libcrypto/ripemd: rmd_dgst.c rmd_one.c
Log message:
Combine ripe
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/28 05:06:28
Modified files:
lib/libcrypto : Makefile
Added files:
lib/libcrypto/md5: md5.c
Removed files:
lib/libcrypto/md5: md5_dgst.c md5_one.c
Log message:
Combine md5 into a si
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/28 05:04:41
Modified files:
lib/libcrypto : Makefile
Added files:
lib/libcrypto/md4: md4.c
Removed files:
lib/libcrypto/md4: md4_dgst.c md4_one.c
Log message:
Combine md4 into a si
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/26 03:57:34
Modified files:
lib/libcrypto/arch/aarch64: arm64cap.c
lib/libcrypto/arch/arm: armcap.c
Log message:
Remove constructor attribute for OPENSSL_cpuid_setup() on arm/aarch64.
OPENS
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/24 04:24:58
Modified files:
lib/libcrypto/evp: c_all.c
Log message:
Remove OPENSSL_cpuid_setup() call from OPENSSL_add_all_algorithms_noconf()
OPENSSL_cpuid_setup() used to need to be called from
OP
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/24 04:21:29
Modified files:
lib/libcrypto/bn/arch/aarch64: bn_arch.h
Log message:
Mark read/write registers as non-overlapping for bn_qwmulw_{addqw_,}addw()
This does not cause an issue currently, h
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/15 09:37:05
Modified files:
lib/libcrypto/md5: md5_dgst.c
Log message:
Mop up MD32_XARRAY from md5.
MD32_XARRAY was added as a workaround for a broken HP C compiler (circa
1999). Clean it up to simp
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/15 09:30:43
Modified files:
lib/libcrypto/md4: md4_dgst.c
Log message:
Mop up MD32_XARRAY from md4.
MD32_XARRAY was added as a workaround for a broken HP C compiler (circa
1999). Clean it up to simp
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/09 04:37:32
Modified files:
lib/libcrypto/bn/arch/riscv64: bn_arch.h
Log message:
Provide optimised bn_subw() for riscv64.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/09 04:36:53
Modified files:
lib/libcrypto/bn/arch/riscv64: bn_arch.h
Log message:
Provide optimised bn_addw() for riscv64.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/08 01:58:25
Modified files:
lib/libcrypto/sha: sha1.c
Log message:
Remove unused SHA-1 implementation.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/08 01:52:25
Modified files:
lib/libcrypto/sha: sha1.c
Log message:
Remove now unnecessary "do { } while (0)"
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/08 01:49:45
Modified files:
lib/libcrypto/sha: sha1.c
Log message:
Inline HASH_MAKE_STRING macro.
No change to generated assembly.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/08 01:43:44
Modified files:
lib/libcrypto/sha: sha1.c
Log message:
Reorder functions.
No functional change.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/08 01:34:34
Modified files:
lib/libcrypto/des: cbc_cksm.c cfb64ede.c des_enc.c
ede_cbcm_enc.c enc_writ.c fcrypt.c fcrypt_b.c
ncbc_enc.c pcbc_enc.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/08 01:25:43
Modified files:
lib/libcrypto/cast: c_cfb64.c c_ecb.c c_enc.c c_ofb64.c c_skey.c
cast.h cast_local.h cast_s.h
Log message:
Hit cast with the style(9) stick.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/08 01:08:11
Modified files:
lib/libcrypto/sha: sha.h
Log message:
style(9)
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/08 00:52:56
Modified files:
lib/libcrypto/ripemd: ripemd.h rmd_dgst.c rmd_one.c rmdconst.h
Log message:
Hit ripemd with the style(9) stick.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/08 00:50:38
Modified files:
lib/libcrypto/md5: md5.h md5_dgst.c md5_one.c
Log message:
Hit md5 with the style(9) stick.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/08 00:47:26
Modified files:
lib/libcrypto/md4: md4.h md4_dgst.c md4_one.c
Log message:
Hit md4 with the style(9) stick.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/08 00:43:39
Modified files:
lib/libcrypto/ripemd: rmd_dgst.c
Removed files:
lib/libcrypto/ripemd: rmd_local.h
Log message:
Inline rmd_local.h in rmd_dgst.c.
rmd_local.h is not really a loca
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/08 00:41:45
Modified files:
lib/libcrypto/md5: md5_dgst.c
Removed files:
lib/libcrypto/md5: md5_local.h
Log message:
Inline md5_local.h in md5_dgst.c.
md5_local.h is not really a local head
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/08 00:39:19
Modified files:
lib/libcrypto/md4: md4_dgst.c
Removed files:
lib/libcrypto/md4: md4_local.h
Log message:
Inline md4_local.h in md4_dgst.c.
md4_local.h is not really a local head
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/08 00:36:55
Modified files:
lib/libcrypto/sm3: sm3.c
Removed files:
lib/libcrypto/sm3: sm3_local.h
Log message:
Inline sm3_local.h in sm3.c.
sm3_local.h is not really a local header, just a
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/07 10:10:32
Modified files:
lib/libcrypto/bn/arch/riscv64: bn_arch.h
Log message:
Provide optimised bn_mulw() for riscv64.
This provides a 1.5-2x performance gain for BN multiplication, with a
simil
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/07 09:51:03
Added files:
lib/libcrypto/arch/riscv64: Makefile.inc
Log message:
Provide a libcrypto Makefile.inc for riscv64.
This is currently no different from the existing behaviour and just pulls
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/07 09:09:45
Modified files:
lib/libcrypto/sha: sha1.c
Log message:
Implement SHA1_{Update,Transform,Final}() directly in sha1.c.
Copy the update, transform and final functions from md32_common.h, ma
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/07 09:06:50
Modified files:
lib/libcrypto/sha: sha256.c
Log message:
Clean up alignment handling for SHA-256.
If input data is 32 bit aligned use be32toh() directly, otherwise use
crypto_load_be32to
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/07 09:03:55
Modified files:
lib/libcrypto/sha: sha256.c
Log message:
Clean up SHA-256 input handling and round macros.
Avoid reach around and initialisation outside of the macro, cleaning up
the cal
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/07 08:32:41
Modified files:
lib/libcrypto/sha: sha256.c
Log message:
Remove unused SHA-256 implementation.
ok beck@
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/07 04:22:28
Modified files:
lib/libcrypto/sha: sha256.c
Log message:
Replace HOST_l2c() with htob32() or crypto_store_htobe32().
ok beck@
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/07 04:11:23
Modified files:
lib/libcrypto/rsa: rsa_eay.c
Log message:
Rename RSA_eay_* to rsa_*.
Rename all of the RSA_eay_* functions to rsa_*, as well as changing the
method name (and naming). Reo
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/07 00:10:14
Modified files:
lib/libcrypto : Makefile
Log message:
One source file per line.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/02 08:57:58
Modified files:
lib/libcrypto/sha: sha512.c
Log message:
Demacro SHA-512.
Use static inline functions instead of macros to implement SHA-512. At
the same time, make two key changes - fir
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/02 07:11:23
Modified files:
lib/libcrypto/bn: bn_sqr.c
Log message:
Replace bn_sqr_words() with bn_sqr_add_words().
In order to implement efficient squaring, we compute the sum of products
(omitting
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/01 02:27:26
Modified files:
sys/dev/fdt: dwmmc.c
Log message:
Warn and fail to attach dwmmc(4) if no clock base is found.
This makes it easier to track down clock related issues.
ok kettenis@
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/01 02:22:41
Modified files:
sys/dev/fdt: dwmmc.c
Log message:
Add support for JH7110 to dwmmc(4).
This makes the eMMC and microSD mostly work on the Starfive VisionFive 2.
ok kettenis@
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/07/01 02:20:39
Modified files:
sys/arch/riscv64/dev: stftemp.c
Log message:
Add support for JH7110 to stftemp(4).
This adds temperature sensor support for the Starfive VisionFive 2.
ok kettenis@
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/25 05:42:27
Modified files:
lib/libcrypto/bn: bn_internal.h
Log message:
Provide additional BN primitives for BN_ULLONG architectures.
On BN_ULLONG architectures, the C compiler can usually do a dec
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/24 12:26:59
Modified files:
sys/arch/riscv64/dev: stfclock.c
Log message:
Add initial support for StarFive VisionFive V2 to stfclock(4).
This adds initial support for the syscrg and pll clocks on th
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/24 12:21:07
Modified files:
lib/libcrypto/ec: ec_lib.c ec_local.h
Log message:
Remove precompute_mult/have_precompute_mult from EC_METHOD.
These are no longer in use - stub EC_GROUP_precompute_mult(
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/24 11:49:45
Modified files:
lib/libcrypto/ec: ec_lib.c ec_local.h ec_mult.c
Log message:
Mop up EC_GROUP precomp machinery.
Since there are now no EC implementations that perform pre-computation at
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/24 11:18:15
Modified files:
lib/libcrypto/ec: ec_local.h ec_mult.c
Log message:
Mop up ec_wNAF_{,have_}precompute_mult().
These were previously called by GF2m code and are no longer used.
Also remov
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/24 11:06:55
Modified files:
lib/libcrypto/bn: bn_sqr.c
Log message:
Add conditional around bn_mul_words() call.
At least one of our bn_mul_words() assembly implementation fails to handle
n = 0 corre
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/24 10:19:52
Modified files:
lib/libcrypto/bn: bn_sqr.c
Log message:
Assign and test.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/24 10:10:23
Modified files:
lib/libcrypto/bn: bn_sqr.c
Log message:
Check for non-zero length rather than a zero value.
This removes a data dependent timing path from BN_sqr().
ok tb@
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/24 10:01:44
Modified files:
lib/libcrypto/bn: bn_local.h bn_sqr.c
lib/libcrypto/bn/arch/amd64: bn_arch.c
Log message:
Rewrite and simplify bn_sqr()/bn_sqr_normal().
Rework bn_sqr()/bn_sqr_n
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/24 09:51:47
Modified files:
lib/libcrypto/bn/arch/arm: bn_arch.h
Log message:
Provide optimised bn_subw() and bn_subw_subw() for arm.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/21 01:56:43
Modified files:
lib/libcrypto/bn/arch/aarch64: bn_arch.h
Log message:
Provide optimised bn_clzw() for aarch64.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/21 01:48:41
Modified files:
lib/libcrypto/bn: bn_internal.h bn_lib.c bn_primitives.c
Log message:
Provide and use bn_clzw() in place of bn_word_clz().
On some architectures, we can provide an optimi
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/21 01:41:55
Modified files:
lib/libcrypto : Makefile
lib/libcrypto/bn: bn_internal.h bn_lib.c bn_local.h
Added files:
lib/libcrypto/bn: bn_primitives.c
Log message:
Make BN_num_bit
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/21 01:18:10
Modified files:
regress/lib/libcrypto/bn: bn_mul_div.c
Log message:
Add tests for BN_sqr() corner cases.
Test BN_sqr() with a newly allocated BN, a BN explicitly set to zero and
small va
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/21 01:16:08
Modified files:
regress/lib/libcrypto/bn: bn_cmp.c
Log message:
Add BN_cmp()/BN_ucmp() tests with zero padded inputs.
Currently BN_hex2bn() removes the leading zeros, however this will n
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/21 01:15:38
Modified files:
regress/lib/libcrypto/bn: bn_unit.c
Log message:
Add a BN_num_bits() with zero padded input.
Currently BN_hex2bn() removes the leading zeros, however this will not be
the
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/20 00:36:09
Modified files:
regress/lib/libcrypto/bn: bn_unit.c
Log message:
Add regress coverage for BN_num_bits()
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/17 09:40:46
Modified files:
lib/libcrypto/bn/arch/aarch64: bn_arch.h
Log message:
Optimise bn_mul2_mulw_addtw() for aarch64.
This provides significant performance gains for bn_sqr_comba4() and
bn_sq
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/17 08:43:51
Modified files:
lib/libcrypto/bn: bn_mont.c
Log message:
Speed up Montgomery multiplication.
Factor out and optimise the inner loop for Montgomery multiplication,
making use of bn_qwmulw
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/12 12:17:18
Modified files:
lib/libcrypto/ec: ec_local.h
Log message:
Remove prototypes for various ec_GF2m_* functions that no longer exist.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/12 10:42:11
Modified files:
lib/libcrypto/bn/arch/aarch64: bn_arch.h
Log message:
Optimise quad word primitives on aarch64.
This provides a performance gain across most BN operations.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/06/12 10:17:24
Modified files:
lib/libcrypto/bn: bn_add.c bn_internal.h bn_mul.c
Log message:
Provide and use various quad word primitives.
This includes bn_qwaddqw(), bn_qwsubqw(), bn_qwmulw_addw() an
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/28 11:42:30
Modified files:
lib/libcrypto/bn/arch/aarch64: bn_arch.h
Log message:
Provide optimised bn_mulw_{addw,addw_addw,addtw}() for aarch64.
This results in bn_mul_comba4() and bn_mul_comba8()
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/28 11:22:04
Modified files:
lib/libcrypto/bn/arch/aarch64: bn_arch.h
Log message:
Provide optimised bn_addw_addw()/bn_subw_subw() for aarch64.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/28 08:54:37
Modified files:
lib/libcrypto/sha: sha256.c
Log message:
Sprinkle some style(9).
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/28 08:49:21
Modified files:
lib/libcrypto/sha: sha256.c
Log message:
Expand occurrences of HASH_CTX that were previously missed.
No change in generated assembly.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/28 08:14:33
Modified files:
lib/libcrypto/sha: sha256.c
Log message:
Reorder functions.
No intended functional change.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/28 07:57:27
Modified files:
lib/libcrypto/sha: sha256.c
Log message:
Clean up includes.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/28 07:55:55
Modified files:
lib/libcrypto/sha: sha256.c
Log message:
Remove now unnecessary do {} while(0);
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/28 07:53:09
Modified files:
lib/libcrypto/sha: sha256.c
Log message:
Inline HASH_MAKE_STRING for SHA256.
No change to generated assembly.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/28 04:34:17
Modified files:
lib/libcrypto/bn: bn_convert.c
Log message:
Rewrite BN_{asc,dec,hex}2bn() using CBS.
This gives us more readable and safer code. There are two intentional
changes to beha
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/27 12:39:03
Modified files:
lib/libcrypto/sha: sha256.c
Log message:
Implement SHA256_{Update,Transform,Final}() directly in sha256.c.
m32_common.h is a typical OpenSSL macro horror show - copy the
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/27 12:33:34
Modified files:
lib/libcrypto : md32_common.h
Log message:
Add HASH_NO_UPDATE and HASH_NO_TRANSFORM to md32_common.h
This makes it possible to still use minimal parts of md32_common.h,
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/27 09:50:56
Modified files:
regress/lib/libcrypto/bn: bn_convert.c
Log message:
Add coverage for calling BN_{dec,hex}2bn() with NULL inputs.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/27 03:18:17
Modified files:
lib/libcrypto : crypto_internal.h
lib/libcrypto/sha: sha512.c
Log message:
Clean up alignment handling for SHA-512.
This recommits r1.37 of sha512.c, however us
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/17 00:37:14
Modified files:
lib/libcrypto : crypto_internal.h
lib/libcrypto/sha: sha512.c
Log message:
Clean up alignment handling for SHA-512.
All assembly implementations are required to
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/16 01:04:57
Modified files:
lib/libcrypto/sha: sha512.c
Log message:
Clean up SHA-512 input handling and round macros.
Avoid reach around and initialisation outside of the macro, cleaning up
the cal
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/12 04:10:55
Modified files:
lib/libcrypto/sha: sha512.c
Log message:
Reduce the number of SHA-512 C implementations from three to one.
We currently have three C implementations for SHA-512 - a versi
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/08 23:15:55
Modified files:
lib/libcrypto/bn: bn_convert.c
Log message:
Rewrite BN_bn2hex() using CBB/CBS.
ok tb@
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/05/08 23:12:49
Modified files:
lib/libcrypto/bn: bn_convert.c
Log message:
Rewrite BN_bn2dec() using CBB/CBS.
ok tb@
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/04/22 08:31:44
Modified files:
lib/libcrypto/bn: bn_mont.c
Log message:
Improve bn_montgomery_multiply_words()
Pull a number of invariants into variables, which avoids repeated loading
from memory on a
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/04/22 08:03:03
Modified files:
regress/lib/libcrypto/bn: Makefile
Added files:
regress/lib/libcrypto/bn: bn_convert.c
Log message:
Provide initial regress for BN_{asc,dec,hex}2bn()/BN_bn2{dec,h
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/04/19 05:14:04
Modified files:
lib/libcrypto/bn: bn_convert.c
Log message:
Rename Hex array to hex_digits.
ok tb@
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/04/19 05:12:43
Modified files:
lib/libcrypto/bn: bn_convert.c bn_lib.c
Log message:
Move the BN_bn2bin()/BN_bin2bn() family to bn_convert.c
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/04/19 05:05:11
Modified files:
lib/libcrypto/bn: bn_convert.c
Log message:
Reorder functions.
No functional change.
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/04/19 04:54:49
Modified files:
lib/libcrypto/bn: bn_convert.c bn_lib.c
Log message:
Move BN_options() from bn_convert.c to bn_lib.c
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org 2023/04/19 04:51:22
Modified files:
lib/libcrypto/bn: bn.h bn_lib.c bn_local.h bn_mul.c bn_sqr.c
Log message:
unifdef BN_RECURSION
This removes a bunch of incomplete and scary code, which potentially leaks
201 - 300 of 2438 matches
Mail list logo