CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64
Module Name:src Committed By: christos Date: Wed Oct 16 16:23:02 UTC 2024 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64: sha.inc Log Message: We don't have assembly for sha512 in aarch64. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/sha.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/sha.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/sha.inc:1.3 src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/sha.inc:1.4 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/sha.inc:1.3 Sun Sep 23 09:33:04 2018 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/sha.inc Wed Oct 16 12:23:02 2024 @@ -1,5 +1,5 @@ .PATH.S: ${.PARSEDIR} SHA_SRCS = sha1-armv8.S sha512-armv8.S keccak1600-armv8.S -SHACPPFLAGS = -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM +SHACPPFLAGS = -DSHA1_ASM -DSHA256_ASM -DKECCAK1600_ASM KECCAKNI = yes .include "../../sha.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64
Module Name:src Committed By: christos Date: Wed Oct 16 16:23:02 UTC 2024 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64: sha.inc Log Message: We don't have assembly for sha512 in aarch64. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/sha.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64
Module Name:src Committed By: rin Date: Sat Jul 8 23:54:27 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64: ec.inc Log Message: Sprinkle OPENSSL_NO_EC_NISTP_64_GCC_128 for aarch64eb. Otherwise, the following tests fail with wrong results: - crypto/libcrypto/t_ciphers:evp - crypto/libcrypto/t_pubkey:ec Official document says ec_nistp_64_gcc_128 does not support big endian: https://github.com/openssl/openssl/blob/master/INSTALL.md#enable-ec_nistp_64_gcc_128 Thanks @a_rin for pointing this out on Twitter! Note that an equivalent hack was present in openssl.old for aarch64eb, alpha, and sparc64. But: - alpha received upstream fix (PR lib/55701) - sparc64 has been fixed differently (PR port-sparc64/57472) To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64
Module Name:src Committed By: rin Date: Sat Jul 8 23:54:27 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64: ec.inc Log Message: Sprinkle OPENSSL_NO_EC_NISTP_64_GCC_128 for aarch64eb. Otherwise, the following tests fail with wrong results: - crypto/libcrypto/t_ciphers:evp - crypto/libcrypto/t_pubkey:ec Official document says ec_nistp_64_gcc_128 does not support big endian: https://github.com/openssl/openssl/blob/master/INSTALL.md#enable-ec_nistp_64_gcc_128 Thanks @a_rin for pointing this out on Twitter! Note that an equivalent hack was present in openssl.old for aarch64eb, alpha, and sparc64. But: - alpha received upstream fix (PR lib/55701) - sparc64 has been fixed differently (PR port-sparc64/57472) To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/ec.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/ec.inc:1.3 src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/ec.inc:1.4 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/ec.inc:1.3 Wed May 17 19:09:41 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/ec.inc Sat Jul 8 23:54:27 2023 @@ -2,4 +2,7 @@ ECCPPFLAGS+=-DECP_NISTZ256_ASM EC_SRCS += ecp_nistz256-armv8.S ECNI = yes +.if ${MACHINE_ARCH} == "aarch64eb" +ECCPPFLAGS+=-DOPENSSL_NO_EC_NISTP_64_GCC_128 +.endif .include "../../ec.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64
Module Name:src Committed By: martin Date: Tue Jun 27 07:25:55 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64: Makefile sha512-sparcv9.S Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64: sha256-sparcv9.S Log Message: The sha512 generator perl script can output a sha256 version too, but needs a special cased invocation to do so. Fix the regen script and update the output. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/Makefile cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/sha256-sparcv9.S cvs rdiff -u -r1.8 -r1.9 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/sha512-sparcv9.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/Makefile diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/Makefile:1.6 src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/Makefile:1.7 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/Makefile:1.6 Sun Feb 18 23:38:47 2018 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/Makefile Tue Jun 27 07:25:55 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2018/02/18 23:38:47 christos Exp $ +# $NetBSD: Makefile,v 1.7 2023/06/27 07:25:55 martin Exp $ .include "bsd.own.mk" @@ -12,6 +12,7 @@ regen: j=$$(basename $$i .pl).S; \ case $$j in \ sparc*_modes.pl|sha1-*) perl $$i $$j;; \ + sha512-*) perl $$i $$j; perl $$i $${j:S/512/256/};; \ *) perl $$i > $$j;; \ esac; \ done Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/sha512-sparcv9.S diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/sha512-sparcv9.S:1.8 src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/sha512-sparcv9.S:1.9 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/sha512-sparcv9.S:1.8 Tue May 9 17:21:17 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/sha512-sparcv9.S Tue Jun 27 07:25:55 2023 @@ -11,1938 +11,2348 @@ .section ".text",#alloc,#execinstr .align 64 -K256: -.type K256,#object - .long 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5 - .long 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5 - .long 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3 - .long 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174 - .long 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc - .long 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da - .long 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7 - .long 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967 - .long 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13 - .long 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85 - .long 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3 - .long 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070 - .long 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5 - .long 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3 - .long 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208 - .long 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2 -.size K256,.-K256 +K512: +.type K512,#object + .long 0x428a2f98,0xd728ae22, 0x71374491,0x23ef65cd + .long 0xb5c0fbcf,0xec4d3b2f, 0xe9b5dba5,0x8189dbbc + .long 0x3956c25b,0xf348b538, 0x59f111f1,0xb605d019 + .long 0x923f82a4,0xaf194f9b, 0xab1c5ed5,0xda6d8118 + .long 0xd807aa98,0xa3030242, 0x12835b01,0x45706fbe + .long 0x243185be,0x4ee4b28c, 0x550c7dc3,0xd5ffb4e2 + .long 0x72be5d74,0xf27b896f, 0x80deb1fe,0x3b1696b1 + .long 0x9bdc06a7,0x25c71235, 0xc19bf174,0xcf692694 + .long 0xe49b69c1,0x9ef14ad2, 0xefbe4786,0x384f25e3 + .long 0x0fc19dc6,0x8b8cd5b5, 0x240ca1cc,0x77ac9c65 + .long 0x2de92c6f,0x592b0275, 0x4a7484aa,0x6ea6e483 + .long 0x5cb0a9dc,0xbd41fbd4, 0x76f988da,0x831153b5 + .long 0x983e5152,0xee66dfab, 0xa831c66d,0x2db43210 + .long 0xb00327c8,0x98fb213f, 0xbf597fc7,0xbeef0ee4 + .long 0xc6e00bf3,0x3da88fc2, 0xd5a79147,0x930aa725 + .long 0x06ca6351,0xe003826f, 0x14292967,0x0a0e6e70 + .long 0x27b70a85,0x46d22ffc, 0x2e1b2138,0x5c26c926 + .long 0x4d2c6dfc,0x5ac42aed, 0x53380d13,0x9d95b3df + .long 0x650a7354,0x8baf63de, 0x766a0abb,0x3c77b2a8 + .long 0x81c2c92e,0x47edaee6, 0x92722c85,0x1482353b + .long 0xa2bfe8a1,0x4cf10364, 0xa81a664b,0xbc423001 + .long 0xc24b8b70,0xd0f89791, 0xc76c51a3,0x0654be30 + .long 0xd192e819,0xd6ef5218, 0xd6990624,0x5565a910 + .long 0xf40e3585,0x5771202a, 0x106aa070,0x32bbd1b8 + .long 0x19a4c116,0xb8d2d0c8, 0x1e376c08,0x5141ab53 + .long 0x2748774c,0xdf8eeb99, 0x34b0bcb5,0xe19b48a8 + .long 0x391c0cb3,0xc5c95a63, 0x4ed8aa4a,0xe3418acb + .long 0x5b9cca4f,0x7763e373, 0x682e6ff3,0xd6b2b8a3 + .long 0x748f82ee,0x5defb2fc, 0x78a5636f,0x43172f60 + .long 0x84c87814,0xa1f0ab72, 0x8cc70208,0x1a6439ec + .long 0x90befffa,0x23631e28, 0xa4506ceb,0xde82bde9 + .long 0xbef9a3f7,0xb2c67915, 0xc67178f2,0xe372532b + .long 0xca273ece,0xea26619c, 0xd
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64
Module Name:src Committed By: martin Date: Tue Jun 27 07:25:55 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64: Makefile sha512-sparcv9.S Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64: sha256-sparcv9.S Log Message: The sha512 generator perl script can output a sha256 version too, but needs a special cased invocation to do so. Fix the regen script and update the output. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/Makefile cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/sha256-sparcv9.S cvs rdiff -u -r1.8 -r1.9 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/sha512-sparcv9.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
Module Name:src Committed By: christos Date: Wed May 31 19:35:31 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64: aes-gcm-armv8_64.S aesv8-armx.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: aes-gcm-armv8_64.S bsaes-armv7.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc: ecp_nistp521-ppc64.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64: ecp_nistp521-ppc64.S Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aes-gcm-armv8_64.S cvs rdiff -u -r1.5 -r1.6 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aesv8-armx.S cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes-gcm-armv8_64.S cvs rdiff -u -r1.6 -r1.7 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/bsaes-armv7.S cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ecp_nistp521-ppc64.S cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ecp_nistp521-ppc64.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
Module Name:src Committed By: christos Date: Wed May 31 19:35:31 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64: aes-gcm-armv8_64.S aesv8-armx.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: aes-gcm-armv8_64.S bsaes-armv7.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc: ecp_nistp521-ppc64.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64: ecp_nistp521-ppc64.S Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aes-gcm-armv8_64.S cvs rdiff -u -r1.5 -r1.6 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aesv8-armx.S cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes-gcm-armv8_64.S cvs rdiff -u -r1.6 -r1.7 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/bsaes-armv7.S cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ecp_nistp521-ppc64.S cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ecp_nistp521-ppc64.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aes-gcm-armv8_64.S diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aes-gcm-armv8_64.S:1.2 src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aes-gcm-armv8_64.S:1.3 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aes-gcm-armv8_64.S:1.2 Wed May 10 21:31:54 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aes-gcm-armv8_64.S Wed May 31 15:35:31 2023 @@ -19,28 +19,36 @@ aes_gcm_enc_128_kernel: stp d14, d15, [sp, #96] ldp x10, x11, [x16] //ctr96_b64, ctr96_t32 +#ifdef __AARCH64EB__ + rev x10, x10 + rev x11, x11 +#endif ldp x13, x14, [x8, #160] //load rk10 - +#ifdef __AARCH64EB__ + ror x13, x13, #32 + ror x14, x14, #32 +#endif ld1 {v11.16b}, [x3] ext v11.16b, v11.16b, v11.16b, #8 rev64 v11.16b, v11.16b lsr x5, x1, #3 //byte_len mov x15, x5 - ldr q27, [x8, #144]//load rk9 + ld1 {v18.4s}, [x8], #16 //load rk0 add x4, x0, x1, lsr #3 //end_input_ptr sub x5, x5, #1 //byte_len - 1 lsr x12, x11, #32 ldr q15, [x3, #112]//load h4l | h4h +#ifndef __AARCH64EB__ ext v15.16b, v15.16b, v15.16b, #8 - +#endif fmov d1, x10 //CTR block 1 rev w12, w12//rev_ctr32 add w12, w12, #1//increment rev_ctr32 orr w11, w11, w11 - ldr q18, [x8, #0] //load rk0 + ld1 {v19.4s}, [x8], #16 //load rk1 rev w9, w12 //CTR block 1 add w12, w12, #1//CTR block 1 @@ -60,30 +68,33 @@ aes_gcm_enc_128_kernel: rev w9, w12 //CTR block 3 orr x9, x11, x9, lsl #32//CTR block 3 - ldr q19, [x8, #16] //load rk1 + ld1 {v20.4s}, [x8], #16 //load rk2 add w12, w12, #1//CTR block 3 fmov v3.d[1], x9 //CTR block 3 ldr q14, [x3, #80] //load h3l | h3h +#ifndef __AARCH64EB__ ext v14.16b, v14.16b, v14.16b, #8 - +#endif aese v1.16b, v18.16b aesmc v1.16b, v1.16b //AES block 1 - round 0 - ldr q20, [x8, #32] //load rk2 + ld1 {v21.4s}, [x8], #16 //load rk3 aese v2.16b, v18.16b aesmc v2.16b, v2.16b //AES block 2 - round 0 ldr q12, [x3, #32] //load h1l | h1h +#ifndef __AARCH64EB__ ext v12.16b, v12.16b, v12.16b, #8 +#endif aese v0.16b, v18.16b aesmc v0.16b, v0.16b //AES block 0 - round 0 - ldr q26, [x8, #128]//load rk8 + ld1 {v22.4s}, [x8], #16 //load rk4 aese v3.16b, v18.16b aesmc v3.16b, v3.16b //AES block 3 - round 0 - ldr q21, [x8, #48] //load rk3 + ld1 {v23.4s}, [x8], #16 //load rk5 aese v2.16b, v19.16b aesmc v2.16b, v2.16b //AES block 2 - round 1 @@ -91,11 +102,11 @@ aes_gcm_enc_128_kernel: aese v0.16b, v19.16b aesmc v0.16b, v0.16b //AES block 0 - round 1 - ldr q24, [x8, #96] //load rk6 + ld1 {v24.4s}, [x8], #16 //load rk6 aese v1.16b, v19.16b aesmc v1.16b, v1.16b //AES block 1 - round 1 - ldr q25, [x8, #112]//load rk7 + ld1 {v25.4s}, [x8], #16 //load rk7 aese v3.16b, v19.16b aesmc v3.16b, v3.16b //AES block 3 - round 1 @@ -103,12 +114,14 @@
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32
Module Name:src Committed By: christos Date: Thu May 18 00:27:08 UTC 2023 Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32: crypto.inc ec.inc Log Message: fix riscv32 To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/crypto.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32
Module Name:src Committed By: christos Date: Thu May 18 00:27:08 UTC 2023 Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32: crypto.inc ec.inc Log Message: fix riscv32 To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/crypto.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Added files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/crypto.inc diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/crypto.inc:1.1 --- /dev/null Wed May 17 20:27:08 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/crypto.inc Wed May 17 20:27:08 2023 @@ -0,0 +1,4 @@ + +COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS # no atomic 64 bit ops + +.include "../../crypto.inc" Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/ec.inc diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/ec.inc:1.1 --- /dev/null Wed May 17 20:27:08 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/ec.inc Wed May 17 20:27:08 2023 @@ -0,0 +1,3 @@ +ECCPPFLAGS+= -DOPENSSL_NO_EC_NISTP_64_GCC_128 + +.include "../../ec.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm
Module Name:src Committed By: christos Date: Tue May 16 19:22:58 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: crypto.inc Log Message: include earm to <=5 To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc:1.14 src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc:1.15 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc:1.14 Tue May 16 05:52:30 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc Tue May 16 15:22:58 2023 @@ -1,3 +1,4 @@ +.include "arm.inc" .PATH.S: ${.PARSEDIR} CPUID_SRCS += armv4cpuid.S armcap.c armv4-mont.S armv4-gf2m.S @@ -5,7 +6,7 @@ CPUID = yes CPPFLAGS += -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m CPPFLAGS += -DOPENSSL_CPUID_OBJ -.if ${MACHINE_ARCH:Nearmv[45]*} == "" +.if ${ARM_MAX_ARCH} <= 5 COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS # no atomic 64 bit ops .endif
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm
Module Name:src Committed By: christos Date: Tue May 16 19:22:58 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: crypto.inc Log Message: include earm to <=5 To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/ia64
Module Name:src Committed By: christos Date: Tue May 16 19:10:23 UTC 2023 Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/ia64: ec.inc Log Message: fix ia64 To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/ia64/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Added files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/ia64/ec.inc diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/ia64/ec.inc:1.1 --- /dev/null Tue May 16 15:10:23 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/ia64/ec.inc Tue May 16 15:10:23 2023 @@ -0,0 +1,5 @@ +# $NetBSD: ec.inc,v 1.1 2023/05/16 19:10:23 christos Exp $ +ECNI=yes +ECNONISTZ=yes + +.include "../../ec.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/ia64
Module Name:src Committed By: christos Date: Tue May 16 19:10:23 UTC 2023 Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/ia64: ec.inc Log Message: fix ia64 To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/ia64/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm
Module Name:src Committed By: riastradh Date: Tue May 16 18:25:54 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: aes.inc ec.inc Log Message: openssl: Limit armv8 stuff to aarch64. Strictly speaking there is armv8 aarch32, e.g. AES instructions are exposed to 32-bit mode, but OpenSSL's `*_armv8.S' files are staunchly aarch64 and don't work when built for aarch64 32-bit compat libraries (which could take advantage of armv8 instructions, but only if the code is actually aarch32, which it isn't). The armv8 stuff is still included in aarch64 /usr/lib/libcrypto, just not in the 32-bit compat libraries. With any luck, this will fix the aarch64 clang build (again). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes.inc cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm
Module Name:src Committed By: riastradh Date: Tue May 16 18:25:54 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: aes.inc ec.inc Log Message: openssl: Limit armv8 stuff to aarch64. Strictly speaking there is armv8 aarch32, e.g. AES instructions are exposed to 32-bit mode, but OpenSSL's `*_armv8.S' files are staunchly aarch64 and don't work when built for aarch64 32-bit compat libraries (which could take advantage of armv8 instructions, but only if the code is actually aarch32, which it isn't). The armv8 stuff is still included in aarch64 /usr/lib/libcrypto, just not in the 32-bit compat libraries. With any luck, this will fix the aarch64 clang build (again). To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes.inc cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes.inc:1.6 src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes.inc:1.7 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes.inc:1.6 Sun May 14 17:50:29 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes.inc Tue May 16 18:25:54 2023 @@ -3,10 +3,7 @@ .PATH.S: ${.PARSEDIR} AES_SRCS += aes-armv4.S aes_cbc.c aesv8-armx.S -.if ${ARM_MAX_ARCH} >= 8 -AES_SRCS+=vpaes-armv8.S -AESCPPFLAGS += -DVPAES_ASM -.elif ${ARM_MAX_ARCH} >= 7 +.if ${ARM_MAX_ARCH} >= 7 AES_SRCS+=bsaes-armv7.S AESCPPFLAGS += -DBSAES_ASM .endif Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ec.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ec.inc:1.1 src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ec.inc:1.2 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ec.inc:1.1 Sun May 14 17:50:29 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ec.inc Tue May 16 18:25:54 2023 @@ -1,9 +1,6 @@ .PATH.S: ${.PARSEDIR} -.if ${ARM_MAX_ARCH} >= 8 -EC_SRCS += ecp_nistz256-armv8.S -ECNI = yes -.elif ${ARM_MAX_ARCH} >= 4 +.if ${ARM_MAX_ARCH} >= 4 EC_SRCS += ecp_nistz256-armv4.S ECNI = yes .endif
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm
Module Name:src Committed By: martin Date: Tue May 16 09:52:30 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: crypto.inc Log Message: Simplify previous, from Riastradh To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc:1.13 src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc:1.14 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc:1.13 Mon May 15 14:27:29 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc Tue May 16 09:52:30 2023 @@ -5,7 +5,7 @@ CPUID = yes CPPFLAGS += -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m CPPFLAGS += -DOPENSSL_CPUID_OBJ -.if ${MACHINE_ARCH:Nearmv[4,5]*} == "" +.if ${MACHINE_ARCH:Nearmv[45]*} == "" COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS # no atomic 64 bit ops .endif
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm
Module Name:src Committed By: martin Date: Tue May 16 09:52:30 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: crypto.inc Log Message: Simplify previous, from Riastradh To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
Module Name:src Committed By: christos Date: Mon May 15 21:55:26 UTC 2023 Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv64: ec.inc Removed Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riskv64: ec.inc Log Message: fix typo To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv64/ec.inc cvs rdiff -u -r1.1 -r0 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riskv64/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
Module Name:src Committed By: christos Date: Mon May 15 21:55:26 UTC 2023 Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv64: ec.inc Removed Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riskv64: ec.inc Log Message: fix typo To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv64/ec.inc cvs rdiff -u -r1.1 -r0 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riskv64/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Added files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv64/ec.inc diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv64/ec.inc:1.1 --- /dev/null Mon May 15 17:55:26 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv64/ec.inc Mon May 15 17:55:26 2023 @@ -0,0 +1,3 @@ +ECCPPFLAGS+= -DOPENSSL_NO_EC_NISTP_64_GCC_128 + +.include "../../ec.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riskv64
Module Name:src Committed By: christos Date: Mon May 15 21:09:11 UTC 2023 Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riskv64: ec.inc Log Message: add riskv64 from Robert Swindells To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riskv64/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Added files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riskv64/ec.inc diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/riskv64/ec.inc:1.1 --- /dev/null Mon May 15 17:09:11 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riskv64/ec.inc Mon May 15 17:09:10 2023 @@ -0,0 +1,3 @@ +ECCPPFLAGS+= -DOPENSSL_NO_EC_NISTP_64_GCC_128 + +.include "../../ec.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riskv64
Module Name:src Committed By: christos Date: Mon May 15 21:09:11 UTC 2023 Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riskv64: ec.inc Log Message: add riskv64 from Robert Swindells To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riskv64/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc
Module Name:src Committed By: martin Date: Mon May 15 17:06:05 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc: crypto.inc Log Message: 32bit sparc needs the atomic hack too To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc:1.13 src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc:1.14 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc:1.13 Sun Jun 21 22:16:08 2020 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc Mon May 15 17:06:05 2023 @@ -12,4 +12,8 @@ AFLAGS.sparcv9a-mont.S+= -Wa,-Av9a AFLAGS.sparct4-mont.S+= -Wa,-Av9a AFLAGS.vis3-mont.S+= -Wa,-Av9a +.if ${MACHINE} == "sparc" +COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS # no atomic 64 bit ops +.endif + .include "../../crypto.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc
Module Name:src Committed By: martin Date: Mon May 15 17:06:05 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc: crypto.inc Log Message: 32bit sparc needs the atomic hack too To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
Module Name:src Committed By: christos Date: Mon May 15 16:12:03 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3: crypto.inc Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc: ec.inc src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3: ec.inc Log Message: fix ppc, sh3 To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ec.inc cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3/crypto.inc cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
Module Name:src Committed By: christos Date: Mon May 15 16:12:03 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3: crypto.inc Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc: ec.inc src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3: ec.inc Log Message: fix ppc, sh3 To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ec.inc cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3/crypto.inc cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3/crypto.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3/crypto.inc:1.2 src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3/crypto.inc:1.3 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3/crypto.inc:1.2 Mon Sep 24 07:03:40 2018 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3/crypto.inc Mon May 15 12:12:03 2023 @@ -1,3 +1,4 @@ -#CRYPTO_SRCS += libc-memequal.c +COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS # no atomic 64 bit ops + .include "../../crypto.inc" Added files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ec.inc diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ec.inc:1.1 --- /dev/null Mon May 15 12:12:03 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ec.inc Mon May 15 12:12:03 2023 @@ -0,0 +1,3 @@ +ECCPPFLAGS+= -DOPENSSL_NO_EC_NISTP_64_GCC_128 + +.include "../../ec.inc" Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3/ec.inc diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3/ec.inc:1.1 --- /dev/null Mon May 15 12:12:03 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sh3/ec.inc Mon May 15 12:12:03 2023 @@ -0,0 +1,3 @@ +ECCPPFLAGS+= -DOPENSSL_NO_EC_NISTP_64_GCC_128 + +.include "../../ec.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm
Module Name:src Committed By: martin Date: Mon May 15 14:27:29 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: crypto.inc Log Message: armv4 also needs the atomic hack To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm
Module Name:src Committed By: martin Date: Mon May 15 14:27:29 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: crypto.inc Log Message: armv4 also needs the atomic hack To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc:1.12 src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc:1.13 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc:1.12 Mon May 15 14:08:17 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc Mon May 15 14:27:29 2023 @@ -5,7 +5,7 @@ CPUID = yes CPPFLAGS += -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m CPPFLAGS += -DOPENSSL_CPUID_OBJ -.if ${MACHINE_ARCH:Nearmv5*} == "" +.if ${MACHINE_ARCH:Nearmv[4,5]*} == "" COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS # no atomic 64 bit ops .endif
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm
Module Name:src Committed By: martin Date: Mon May 15 14:08:17 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: crypto.inc Log Message: Fix armv5 To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm
Module Name:src Committed By: martin Date: Mon May 15 14:08:17 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: crypto.inc Log Message: Fix armv5 To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc:1.11 src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc:1.12 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc:1.11 Sat May 9 13:16:42 2020 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc Mon May 15 14:08:17 2023 @@ -5,5 +5,9 @@ CPUID = yes CPPFLAGS += -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m CPPFLAGS += -DOPENSSL_CPUID_OBJ +.if ${MACHINE_ARCH:Nearmv5*} == "" +COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS # no atomic 64 bit ops +.endif + .include "../../crypto.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64
Module Name:src Committed By: christos Date: Mon May 15 14:04:38 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64: bn.inc chacha.inc ec.inc Log Message: fix build To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/bn.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/chacha.inc cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64
Module Name:src Committed By: christos Date: Mon May 15 14:04:38 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64: bn.inc chacha.inc ec.inc Log Message: fix build To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/bn.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/chacha.inc cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/bn.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/bn.inc:1.1 src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/bn.inc:1.2 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/bn.inc:1.1 Sat Oct 15 08:19:02 2016 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/bn.inc Mon May 15 10:04:38 2023 @@ -1,4 +1,4 @@ .PATH.S: ${.PARSEDIR} -BN_SRCS = ppc.S ppc-mont.S ppc64-mont.S +BN_SRCS = ppc.S ppc-mont.S ppc64-mont.S bn_ppc.c CPPFLAGS += -DOPENSSL_BN_ASM_MONT .include "../../bn.inc" Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/chacha.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/chacha.inc:1.1 src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/chacha.inc:1.2 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/chacha.inc:1.1 Sun Mar 4 11:45:12 2018 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/chacha.inc Mon May 15 10:04:38 2023 @@ -1,5 +1,5 @@ .PATH.S: ${.PARSEDIR} -CHACHA_SRCS = chacha-ppc.S +CHACHA_SRCS = chacha-ppc.S chacha_ppc.c .include "../../chacha.inc" Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ec.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ec.inc:1.2 src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ec.inc:1.3 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ec.inc:1.2 Fri Sep 28 13:28:01 2018 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ec.inc Mon May 15 10:04:38 2023 @@ -1,8 +1,11 @@ .PATH.S: ${.PARSEDIR} EC_SRCS += \ ecp_nistz256-ppc64.S \ +ecp_nistp521-ppc64.S \ +ecp_ppc.c \ x25519-ppc64.S ECCPPFLAGS+= -DX25519_ASM +ECNI=yes .include "../../ec.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips
Module Name:src Committed By: christos Date: Mon May 15 13:54:12 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips: crypto.inc Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips: ec.inc Log Message: fix mips To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/crypto.inc cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips
Module Name:src Committed By: christos Date: Mon May 15 13:54:12 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips: crypto.inc Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips: ec.inc Log Message: fix mips To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/crypto.inc cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/crypto.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/crypto.inc:1.8 src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/crypto.inc:1.9 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/crypto.inc:1.8 Mon Apr 26 14:06:09 2021 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/crypto.inc Mon May 15 09:54:12 2023 @@ -6,4 +6,8 @@ CRYPTO_SRCS += mips-mont${MIPS_64}.S .endif +.if ${MIPS_64} == "" +COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS # no atomic 64 bit ops +.endif + .include "../../crypto.inc" Added files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/ec.inc diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/ec.inc:1.1 --- /dev/null Mon May 15 09:54:12 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips/ec.inc Mon May 15 09:54:12 2023 @@ -0,0 +1,3 @@ +ECCPPFLAGS+= -DOPENSSL_NO_EC_NISTP_64_GCC_128 + +.include "../../ec.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc
Module Name:src Committed By: christos Date: Sun May 14 21:28:36 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc: bn.inc chacha.inc crypto.inc Log Message: fix powerpc To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/bn.inc cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/chacha.inc cvs rdiff -u -r1.4 -r1.5 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/crypto.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/bn.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/bn.inc:1.2 src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/bn.inc:1.3 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/bn.inc:1.2 Fri Oct 14 12:09:44 2016 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/bn.inc Sun May 14 17:28:36 2023 @@ -1,4 +1,4 @@ .PATH.S: ${.PARSEDIR} -BN_SRCS = ppc.S ppc-mont.S ppc64-mont.S +BN_SRCS = ppc.S ppc-mont.S ppc64-mont.S bn_ppc.c CPPFLAGS += -DOPENSSL_BN_ASM_MONT .include "../../bn.inc" Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/chacha.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/chacha.inc:1.1 src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/chacha.inc:1.2 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/chacha.inc:1.1 Sat Mar 3 22:25:18 2018 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/chacha.inc Sun May 14 17:28:36 2023 @@ -1,5 +1,5 @@ .PATH.S: ${.PARSEDIR} -CHACHA_SRCS = chacha-ppc.S +CHACHA_SRCS = chacha-ppc.S chacha_ppc.c .include "../../chacha.inc" Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/crypto.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/crypto.inc:1.4 src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/crypto.inc:1.5 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/crypto.inc:1.4 Sat May 9 09:16:42 2020 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/crypto.inc Sun May 14 17:28:36 2023 @@ -1,4 +1,7 @@ CPUID_SRCS = ppccap.c ppccpuid.S CPPFLAGS += -DOPENSSL_CPUID_OBJ CPUID = yes + +COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS # no atomic 64 bit ops + .include "../../crypto.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc
Module Name:src Committed By: christos Date: Sun May 14 21:28:36 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc: bn.inc chacha.inc crypto.inc Log Message: fix powerpc To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/bn.inc cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/chacha.inc cvs rdiff -u -r1.4 -r1.5 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/crypto.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa
Module Name:src Committed By: christos Date: Sun May 14 19:52:39 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa: crypto.inc Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa: ec.inc Log Message: make things link To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa/crypto.inc cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa
Module Name:src Committed By: christos Date: Sun May 14 19:52:39 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa: crypto.inc Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa: ec.inc Log Message: make things link To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa/crypto.inc cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa/crypto.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa/crypto.inc:1.2 src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa/crypto.inc:1.3 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa/crypto.inc:1.2 Mon Sep 24 07:03:39 2018 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa/crypto.inc Sun May 14 15:52:39 2023 @@ -1,3 +1,5 @@ #CRYPTO_SRCS += libc-memequal.c +COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS # no atomic 64 bit ops + .include "../../crypto.inc" Added files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa/ec.inc diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa/ec.inc:1.1 --- /dev/null Sun May 14 15:52:39 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/hppa/ec.inc Sun May 14 15:52:39 2023 @@ -0,0 +1,3 @@ +ECCPPFLAGS+= -DOPENSSL_NO_EC_NISTP_64_GCC_128 + +.include "../../ec.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm
Module Name:src Committed By: christos Date: Sun May 14 17:50:29 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: aes.inc Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: ec.inc Log Message: make arm build To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes.inc cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes.inc:1.5 src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes.inc:1.6 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes.inc:1.5 Wed Mar 7 15:38:39 2018 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes.inc Sun May 14 13:50:29 2023 @@ -1,13 +1,15 @@ .include "arm.inc" .PATH.S: ${.PARSEDIR} -AES_SRCS += aes-armv4.S aes_cbc.c +AES_SRCS += aes-armv4.S aes_cbc.c aesv8-armx.S -.if ${ARM_MAX_ARCH} >= 7 +.if ${ARM_MAX_ARCH} >= 8 +AES_SRCS+=vpaes-armv8.S +AESCPPFLAGS += -DVPAES_ASM +.elif ${ARM_MAX_ARCH} >= 7 AES_SRCS+=bsaes-armv7.S -.elif ${ARM_MAX_ARCH} >= 8 -AES_SRCS+=aesv8-armx.S +AESCPPFLAGS += -DBSAES_ASM .endif -AESCPPFLAGS = -DAES_ASM -DBSAES_ASM +AESCPPFLAGS += -DAES_ASM .include "../../aes.inc" Added files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ec.inc diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ec.inc:1.1 --- /dev/null Sun May 14 13:50:29 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ec.inc Sun May 14 13:50:29 2023 @@ -0,0 +1,12 @@ +.PATH.S: ${.PARSEDIR} + +.if ${ARM_MAX_ARCH} >= 8 +EC_SRCS += ecp_nistz256-armv8.S +ECNI = yes +.elif ${ARM_MAX_ARCH} >= 4 +EC_SRCS += ecp_nistz256-armv4.S +ECNI = yes +.endif +ECCPPFLAGS+= -DOPENSSL_NO_EC_NISTP_64_GCC_128 + +.include "../../ec.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm
Module Name:src Committed By: christos Date: Sun May 14 17:50:29 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: aes.inc Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: ec.inc Log Message: make arm build To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes.inc cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
Module Name:src Committed By: christos Date: Sat May 13 13:43:26 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386: crypto.inc ec.inc src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k: crypto.inc Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k: ec.inc Log Message: fix m68k/i386 To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/crypto.inc cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/ec.inc cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/crypto.inc cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
Module Name:src Committed By: christos Date: Sat May 13 13:43:26 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386: crypto.inc ec.inc src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k: crypto.inc Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k: ec.inc Log Message: fix m68k/i386 To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/crypto.inc cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/ec.inc cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/crypto.inc cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/crypto.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/crypto.inc:1.3 src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/crypto.inc:1.4 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/crypto.inc:1.3 Sat May 9 09:16:42 2020 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/crypto.inc Sat May 13 09:43:25 2023 @@ -2,4 +2,6 @@ CPUID_SRCS = x86cpuid.S CPUID = yes CPPFLAGS += -DOPENSSL_CPUID_OBJ +COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS # no atomic 64 bit ops + .include "../../crypto.inc" Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/ec.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/ec.inc:1.2 src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/ec.inc:1.3 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/ec.inc:1.2 Thu May 11 22:23:32 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/ec.inc Sat May 13 09:43:25 2023 @@ -2,7 +2,7 @@ EC_SRCS += \ ecp_nistz256-x86.S -ECCPPFLAGS+= -DX25519_ASM -DOPENSSL_NO_EC_NISTP_64_GCC_128 +ECCPPFLAGS+= -DOPENSSL_NO_EC_NISTP_64_GCC_128 ECNI = yes .include "../../ec.inc" Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/crypto.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/crypto.inc:1.2 src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/crypto.inc:1.3 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/crypto.inc:1.2 Mon Sep 24 07:03:39 2018 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/crypto.inc Sat May 13 09:43:25 2023 @@ -1,5 +1,4 @@ -.PATH.S: ${.PARSEDIR} -#CRYPTO_SRCS += libc-memequal.c +COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS # no atomic 64 bit ops .include "../../crypto.inc" Added files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/ec.inc diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/ec.inc:1.1 --- /dev/null Sat May 13 09:43:26 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/ec.inc Sat May 13 09:43:25 2023 @@ -0,0 +1,3 @@ +ECCPPFLAGS+= -DOPENSSL_NO_EC_NISTP_64_GCC_128 + +.include "../../ec.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386
Module Name:src Committed By: christos Date: Fri May 12 02:23:32 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386: ec.inc Log Message: we don't have int128 To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/ec.inc diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/ec.inc:1.1 src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/ec.inc:1.2 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/ec.inc:1.1 Fri Feb 9 11:06:59 2018 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/ec.inc Thu May 11 22:23:32 2023 @@ -2,5 +2,7 @@ EC_SRCS += \ ecp_nistz256-x86.S +ECCPPFLAGS+= -DX25519_ASM -DOPENSSL_NO_EC_NISTP_64_GCC_128 + ECNI = yes .include "../../ec.inc"
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386
Module Name:src Committed By: christos Date: Fri May 12 02:23:32 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386: ec.inc Log Message: we don't have int128 To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386/ec.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64
Module Name:src Committed By: christos Date: Thu May 11 01:45:39 UTC 2023 Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64: chacha.inc whrlpool.inc Log Message: add glue to make it link To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/chacha.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/whrlpool.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Added files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/chacha.inc diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/chacha.inc:1.1 --- /dev/null Wed May 10 21:45:39 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/chacha.inc Wed May 10 21:45:38 2023 @@ -0,0 +1,5 @@ +# $NetBSD: chacha.inc,v 1.1 2023/05/11 01:45:38 christos Exp $ + +CHACHA_SRCS += chacha_enc.c +.include "../../chacha.inc" + Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/whrlpool.inc diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/whrlpool.inc:1.1 --- /dev/null Wed May 10 21:45:39 2023 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/whrlpool.inc Wed May 10 21:45:38 2023 @@ -0,0 +1,5 @@ +# $NetBSD: whrlpool.inc,v 1.1 2023/05/11 01:45:38 christos Exp $ + +WHRLPOOL_SRCS += wp_block.c +.include "../../whrlpool.inc" +
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64
Module Name:src Committed By: christos Date: Thu May 11 01:45:39 UTC 2023 Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64: chacha.inc whrlpool.inc Log Message: add glue to make it link To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/chacha.inc \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64/whrlpool.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64
Module Name:src Committed By: christos Date: Thu May 11 01:31:54 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64: Makefile aes-gcm-armv8_64.S aes.inc aesv8-armx.S ghashv8-armx.S modes.inc Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64: whrlpool.inc Log Message: regen for 64 bit arm and make it link To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/Makefile \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/modes.inc cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aes-gcm-armv8_64.S cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aes.inc cvs rdiff -u -r1.4 -r1.5 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aesv8-armx.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/ghashv8-armx.S cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/whrlpool.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
Module Name:src Committed By: christos Date: Tue May 9 17:22:44 UTC 2023 Added Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64: aes-gcm-armv8_64.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: aes-gcm-armv8_64.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc: ecp_nistp521-ppc64.S ppc64-mont-fixed.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64: ecp_nistp521-ppc64.S ppc64-mont-fixed.S Log Message: Add new files To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aes-gcm-armv8_64.S cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes-gcm-armv8_64.S cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ecp_nistp521-ppc64.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ppc64-mont-fixed.S cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ecp_nistp521-ppc64.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/ppc64-mont-fixed.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
Module Name:src Committed By: christos Date: Tue May 9 17:21:17 UTC 2023 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64: aesv8-armx.S arm64cpuid.S armv8-mont.S chacha-armv8.S ecp_nistz256-armv8.S ghashv8-armx.S keccak1600-armv8.S poly1305-armv8.S sha1-armv8.S sha512-armv8.S vpaes-armv8.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm: aes-armv4.S aesv8-armx.S arm64cpuid.S armv4-gf2m.S armv4-mont.S armv4cpuid.S armv8-mont.S bsaes-armv7.S chacha-armv4.S chacha-armv8.S ecp_nistz256-armv4.S ecp_nistz256-armv8.S ghash-armv4.S ghashv8-armx.S keccak1600-armv4.S keccak1600-armv8.S poly1305-armv4.S poly1305-armv8.S sha1-armv4-large.S sha1-armv8.S sha256-armv4.S sha512-armv4.S sha512-armv8.S vpaes-armv8.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386: aesni-x86.S bf-586.S bn-586.S cast-586.S chacha-x86.S cmll-x86.S co-586.S crypt586.S des-586.S e_padlock-x86.S ecp_nistz256-x86.S ghash-x86.S md5-586.S poly1305-x86.S rc4-586.S rc5-586.S rmd-586.S sha1-586.S sha256-586.S sha512-586.S uplink-x86.S vpaes-x86.S x86cpuid.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/mips: aes-mips.S aes-mips64.S mips.S mips64.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc: Makefile poly1305-ppc.S sha512-ppc.S sha512p8-ppc.S vpaes-ppc.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64: keccak1600-ppc64.S poly1305-ppc.S sha512-ppc.S sha512p8-ppc.S vpaes-ppc.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc: aes-sparcv9.S aesfx-sparcv9.S aest4-sparcv9.S bn-sparcv8.S cmllt4-sparcv9.S des_enc-sparc.S dest4-sparcv9.S ecp_nistz256-sparcv9.S ghash-sparcv9.S md5-sparcv9.S poly1305-sparcv9.S sha1-sparcv9.S sha512-sparcv9.S sparct4-mont.S sparcv9-gf2m.S sparcv9-mont.S sparcv9a-mont.S vis3-mont.S src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc64: aes-sparcv9.S aesfx-sparcv9.S aest4-sparcv9.S cmllt4-sparcv9.S des_enc-sparc.S dest4-sparcv9.S ecp_nistz256-sparcv9.S ghash-sparcv9.S md5-sparcv9.S poly1305-sparcv9.S sha1-sparcv9.S sha512-sparcv9.S sparct4-mont.S sparcv9-gf2m.S sparcv9-mont.S sparcv9a-mont.S vis3-mont.S Log Message: Regen To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/aesv8-armx.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/chacha-armv8.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/ecp_nistz256-armv8.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/ghashv8-armx.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/poly1305-armv8.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/sha1-armv8.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/vpaes-armv8.S cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/arm64cpuid.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/armv8-mont.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/keccak1600-armv8.S cvs rdiff -u -r1.4 -r1.5 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/aarch64/sha512-armv8.S cvs rdiff -u -r1.6 -r1.7 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aes-armv4.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ghash-armv4.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/sha256-armv4.S cvs rdiff -u -r1.5 -r1.6 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/aesv8-armx.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/armv4cpuid.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/bsaes-armv7.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ecp_nistz256-armv4.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/ghashv8-armx.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/sha512-armv4.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/sha512-armv8.S cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/arm64cpuid.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/armv8-mont.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/chacha-armv4.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/keccak1600-armv4.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/keccak1600-armv8.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/poly1305-armv4.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/sha1-armv8.S cvs rdiff -u -r1.4 -r1.5 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/armv4-gf2m.S \
re: CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc
"Martin Husemann" writes: > Module Name: src > Committed By: martin > Date: Thu Apr 8 15:06:50 UTC 2021 > > Removed Files: > src/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc: modes.inc > > Log Message: > Do not pretend we have GHASH asm code please see my other message -- this is relevant for sparc64 32 bit builds as well as sparc builds. the fix christos made to restore __arch64__ should be used similarly here, i guess. .mrg.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k
Module Name:src Committed By: rin Date: Sun Aug 18 09:51:06 UTC 2019 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k: aes-m68k.S Log Message: Fix copy-paste. Pointed out by Takehiko NOZAKI. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/aes-m68k.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k
Module Name:src Committed By: rin Date: Sun Aug 18 09:51:06 UTC 2019 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k: aes-m68k.S Log Message: Fix copy-paste. Pointed out by Takehiko NOZAKI. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/aes-m68k.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/aes-m68k.S diff -u src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/aes-m68k.S:1.3 src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/aes-m68k.S:1.4 --- src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/aes-m68k.S:1.3 Wed Mar 7 06:55:01 2018 +++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/m68k/aes-m68k.S Sun Aug 18 09:51:06 2019 @@ -1,4 +1,4 @@ -| $NetBSD: aes-m68k.S,v 1.3 2018/03/07 06:55:01 mlelstv Exp $ +| $NetBSD: aes-m68k.S,v 1.4 2019/08/18 09:51:06 rin Exp $ | Copyright (C) 2016 Tetsuya Isaki. All rights reserved. | Copyright (C) 2016 Y.Sugahara (moveccr). All rights reserved. @@ -828,7 +828,7 @@ AES_encrypt: moveml %sp@+,%d2-%d7/%a2-%a5 rts - .size AES_set_decrypt_key, .-AES_set_decrypt_key + .size AES_encrypt, .-AES_encrypt | void | AES_decrypt(const unsigned char *in,
Re: CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
>>> Takeshi Nakayama wrote > >>> "Joerg Sonnenberger" wrote > > > Module Name:src > > Committed By: joerg > > Date: Fri Jun 3 15:42:15 UTC 2016 > > > > Modified Files: > > src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386: x86cpuid.S > > src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64: > > x86_64cpuid.S > > > > Log Message: > > Regenerate to use .ctor. > > It seems that libcrypto on amd64 and i386 is broken by this change. > > http://releng.netbsd.org/b5reports/amd64/ > http://releng.netbsd.org/b5reports/i386/ Oops, thanks to christos for reverting. -- Takeshi Nakayama
Re: CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
>>> "Joerg Sonnenberger" wrote > Module Name: src > Committed By: joerg > Date: Fri Jun 3 15:42:15 UTC 2016 > > Modified Files: > src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386: x86cpuid.S > src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64: > x86_64cpuid.S > > Log Message: > Regenerate to use .ctor. It seems that libcrypto on amd64 and i386 is broken by this change. http://releng.netbsd.org/b5reports/amd64/ http://releng.netbsd.org/b5reports/i386/ -- Takeshi Nakayama
Re: CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
On Mon, Jul 25, 2011 at 08:38:13PM +0200, Joerg Sonnenberger wrote: > On Mon, Jul 25, 2011 at 07:24:57PM +0100, David Laight wrote: > > On Mon, Jul 25, 2011 at 11:52:52AM +0200, Joerg Sonnenberger wrote: > > > Much better. One thing remains. It would be nice to replace > > > .byte 0xf3,0xc3 > > > with either a simple ret or a ret $0, depending on whether it has a > > > label on it or not. The reason for this mess seems to be a bug in > > > certain generation of AMD CPUs. So essentially, > > > > IIRC it is something to do with branch prediction? > > But my memory keeps thinking of a constraint about the number > > of branches/labels in a cache line - and I'm sure the non-use of > > 1 byte return instructions was all related. > > When I asked around, I get the following reference, which seems to > summarize the situation nicely: > > http://mikedimmick.blogspot.com/2008/03/what-heck-does-ret-mean.html That is sort of consistent with what I remember from those guides. I wonder what the additional cost of 'rep ret' and 'ret $0' is on other cpus (apart from the obvious extra code byte). Looking at the code (now with fewer 'rep ret') I notice that a fair number of the jumps are unconditional - why have an unconditional jump to a return instruction! I also haven't checked what the critical paths are, and what the static predicton will do! I also don't know the cycle times of these special instructions to know how much it really matters! David -- David Laight: da...@l8s.co.uk
Re: CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
On Mon, Jul 25, 2011 at 07:24:57PM +0100, David Laight wrote: > On Mon, Jul 25, 2011 at 11:52:52AM +0200, Joerg Sonnenberger wrote: > > Much better. One thing remains. It would be nice to replace > > .byte 0xf3,0xc3 > > with either a simple ret or a ret $0, depending on whether it has a > > label on it or not. The reason for this mess seems to be a bug in > > certain generation of AMD CPUs. So essentially, > > IIRC it is something to do with branch prediction? > But my memory keeps thinking of a constraint about the number > of branches/labels in a cache line - and I'm sure the non-use of > 1 byte return instructions was all related. When I asked around, I get the following reference, which seems to summarize the situation nicely: http://mikedimmick.blogspot.com/2008/03/what-heck-does-ret-mean.html Joerg
Re: CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
On Mon, Jul 25, 2011 at 11:52:52AM +0200, Joerg Sonnenberger wrote: > Much better. One thing remains. It would be nice to replace > .byte 0xf3,0xc3 > with either a simple ret or a ret $0, depending on whether it has a > label on it or not. The reason for this mess seems to be a bug in > certain generation of AMD CPUs. So essentially, IIRC it is something to do with branch prediction? But my memory keeps thinking of a constraint about the number of branches/labels in a cache line - and I'm sure the non-use of 1 byte return instructions was all related. David -- David Laight: da...@l8s.co.uk
Re: CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch
On Fri, Jul 22, 2011 at 10:50:56PM +, Jean-Yves Migeon wrote: > Module Name: src > Committed By: jym > Date: Fri Jul 22 22:50:56 UTC 2011 > > Modified Files: > src/crypto/external/bsd/openssl/lib/libcrypto/arch/i386: aesni-586.S > aesni-x86.S > src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64: > aesni-x86_64.S > > Log Message: > Turn AES NI support code into something more readable. > > i386 and amd64 both tested with their own chroot. No regression observed. Much better. One thing remains. It would be nice to replace .byte 0xf3,0xc3 with either a simple ret or a ret $0, depending on whether it has a label on it or not. The reason for this mess seems to be a bug in certain generation of AMD CPUs. So essentially, .Lfoo: .byte 0xf3,0xc3 should become: .Lfoo: ret $0 and all other instances can be converted to plain ret. This is a bit longer than the 0xf3,0xc3 encoding, but has the advantage of not depending on invalid instruction encodings. This is kind of cosmetical though. Joerg
Re: CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64
On 17.07.2011 23:18, David Laight wrote: >>> The .byte streams are required for the inclusion of the AES NI >>> instructions, which are not supported with our current gcc version. >>> >>> Should be fixed once we have stabilized gcc 4.5 (dunno about other >>> compilers though, especially pcc). >> >> That doesn't make any sense. This are *assembler* instructions, not GCC >> intrinsics. nm, sorry; was thinking about gas, not gcc. > Also, having looked at the file, even if it is using instructions that > the assembler can't process, it is a horrid mess. > There are much better ways to specify instructions than just .byte sequences. > Even if you aren't using CPP, the assmembler will support local constants > and expressions. > Even a few comments would help. IIRC, this is the code as generated by the Perl scripts in openssl (byte streams and the resulting ugliness are neither my own nor spz@). I tend to steer away from manipulating code (particularly crypto) when I don't have good knowledge of it. And this is far from being the case for me with OpenSSL. Anyway, I'll look into it next week for cleanup. -- Jean-Yves Migeon jeanyves.mig...@free.fr
Re: CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64
On Sun, Jul 17, 2011 at 10:31:44PM +0200, Joerg Sonnenberger wrote: > On Sun, Jul 17, 2011 at 10:25:47PM +0200, Jean-Yves Migeon wrote: > > On 17.07.2011 21:48, Joerg Sonnenberger wrote: > > > Module Name: src > > > Committed By: joerg > > > Date: Sun Jul 17 19:48:31 UTC 2011 > > > > > > Modified Files: > > > src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64: aes.inc > > > > > > Log Message: > > > Disable Clang's integrated assembler for the AES-NI files for now. > > > Somewhere in this mess of .byte streams, corruption happens. Disassembly > > > only shows slightly different filling of alignment sequences, further > > > analysis is needed. > > > > > > XXX This should be rewritten to be proper assembler code > > > > The .byte streams are required for the inclusion of the AES NI > > instructions, which are not supported with our current gcc version. > > > > Should be fixed once we have stabilized gcc 4.5 (dunno about other > > compilers though, especially pcc). > > That doesn't make any sense. This are *assembler* instructions, not GCC > intrinsics. Also, having looked at the file, even if it is using instructions that the assembler can't process, it is a horrid mess. There are much better ways to specify instructions than just .byte sequences. Even if you aren't using CPP, the assmembler will support local constants and expressions. Even a few comments would help. David -- David Laight: da...@l8s.co.uk
Re: CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64
On Sun, Jul 17, 2011 at 10:25:47PM +0200, Jean-Yves Migeon wrote: > On 17.07.2011 21:48, Joerg Sonnenberger wrote: > > Module Name:src > > Committed By: joerg > > Date: Sun Jul 17 19:48:31 UTC 2011 > > > > Modified Files: > > src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64: aes.inc > > > > Log Message: > > Disable Clang's integrated assembler for the AES-NI files for now. > > Somewhere in this mess of .byte streams, corruption happens. Disassembly > > only shows slightly different filling of alignment sequences, further > > analysis is needed. > > > > XXX This should be rewritten to be proper assembler code > > The .byte streams are required for the inclusion of the AES NI > instructions, which are not supported with our current gcc version. > > Should be fixed once we have stabilized gcc 4.5 (dunno about other > compilers though, especially pcc). That doesn't make any sense. This are *assembler* instructions, not GCC intrinsics. Joerg
Re: CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64
On 17.07.2011 21:48, Joerg Sonnenberger wrote: > Module Name: src > Committed By: joerg > Date: Sun Jul 17 19:48:31 UTC 2011 > > Modified Files: > src/crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64: aes.inc > > Log Message: > Disable Clang's integrated assembler for the AES-NI files for now. > Somewhere in this mess of .byte streams, corruption happens. Disassembly > only shows slightly different filling of alignment sequences, further > analysis is needed. > > XXX This should be rewritten to be proper assembler code The .byte streams are required for the inclusion of the AES NI instructions, which are not supported with our current gcc version. Should be fixed once we have stabilized gcc 4.5 (dunno about other compilers though, especially pcc). -- Jean-Yves Migeon jeanyves.mig...@free.fr