Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/lib checkpoint



details:   https://anonhg.NetBSD.org/src/rev/3b6546932224
branches:  trunk
changeset: 374586:3b6546932224
user:      christos <christos%NetBSD.org@localhost>
date:      Sat May 06 17:07:22 2023 +0000

description:
checkpoint

diffstat:

 crypto/external/bsd/openssl/lib/libcommon/Makefile                                     |    67 +
 crypto/external/bsd/openssl/lib/libcommon/PROTO.in                                     |    12 +
 crypto/external/bsd/openssl/lib/libcommon/der_digests_gen.c                            |   160 +
 crypto/external/bsd/openssl/lib/libcommon/der_dsa_gen.c                                |    94 +
 crypto/external/bsd/openssl/lib/libcommon/der_ec_gen.c                                 |   279 +
 crypto/external/bsd/openssl/lib/libcommon/der_ecx_gen.c                                |    44 +
 crypto/external/bsd/openssl/lib/libcommon/der_rsa_gen.c                                |   174 +
 crypto/external/bsd/openssl/lib/libcommon/der_wrap_gen.c                               |    46 +
 crypto/external/bsd/openssl/lib/libcommon/mkinc                                        |    40 +
 crypto/external/bsd/openssl/lib/libcommon/providers_common.inc                         |    13 +
 crypto/external/bsd/openssl/lib/libcommon/providers_common_der.inc                     |    23 +
 crypto/external/bsd/openssl/lib/libcommon/providers_implementations_ciphers.inc        |    18 +
 crypto/external/bsd/openssl/lib/libcommon/providers_implementations_digests.inc        |    12 +
 crypto/external/bsd/openssl/lib/libcommon/srcs.inc                                     |    16 +
 crypto/external/bsd/openssl/lib/libcommon/ssl_record.inc                               |    12 +
 crypto/external/bsd/openssl/lib/libcrypto/Makefile                                     |    80 +-
 crypto/external/bsd/openssl/lib/libcrypto/PROTO.in                                     |    12 +
 crypto/external/bsd/openssl/lib/libcrypto/aes.inc                                      |    10 +-
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/Makefile                         |     3 +-
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/aes-x86_64.S                     |    46 +-
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/aesni-gcm-x86_64.S               |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/aesni-mb-x86_64.S                |   102 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/aesni-sha1-x86_64.S              |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/aesni-sha256-x86_64.S            |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/aesni-x86_64.S                   |    32 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/bn.inc                           |     2 +-
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/bsaes-x86_64.S                   |    61 +-
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/chacha-x86_64.S                  |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/cmll-x86_64.S                    |    22 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/e_padlock-x86_64.S               |    23 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/ecp_nistz256-x86_64.S            |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/ghash-x86_64.S                   |    27 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/keccak1600-x86_64.S              |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/md5-x86_64.S                     |    29 +-
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/poly1305-x86_64.S                |    23 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/rc4-md5-x86_64.S                 |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/rc4-x86_64.S                     |    24 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/rsaz-avx2.S                      |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/rsaz-avx512.S                    |   902 ++++
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/rsaz-x86_64.S                    |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/sha1-mb-x86_64.S                 |    57 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/sha1-x86_64.S                    |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/sha256-mb-x86_64.S               |    57 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/sha512-x86_64.S                  |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/vpaes-x86_64.S                   |    26 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/wp-x86_64.S                      |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/x25519-x86_64.S                  |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/x86_64-gf2m.S                    |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/x86_64-mont.S                    |    21 +
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/x86_64-mont5.S                   |   200 +-
 crypto/external/bsd/openssl/lib/libcrypto/arch/x86_64/x86_64cpuid.S                    |    31 +
 crypto/external/bsd/openssl/lib/libcrypto/aria.inc                                     |     9 +-
 crypto/external/bsd/openssl/lib/libcrypto/asn1.inc                                     |    20 +-
 crypto/external/bsd/openssl/lib/libcrypto/async.inc                                    |    14 +-
 crypto/external/bsd/openssl/lib/libcrypto/bf.inc                                       |    21 +-
 crypto/external/bsd/openssl/lib/libcrypto/bio.inc                                      |    29 +-
 crypto/external/bsd/openssl/lib/libcrypto/blake2.inc                                   |    11 +-
 crypto/external/bsd/openssl/lib/libcrypto/bn.inc                                       |    15 +-
 crypto/external/bsd/openssl/lib/libcrypto/buffer.inc                                   |    13 +-
 crypto/external/bsd/openssl/lib/libcrypto/camellia.inc                                 |    16 +-
 crypto/external/bsd/openssl/lib/libcrypto/cast.inc                                     |    20 +-
 crypto/external/bsd/openssl/lib/libcrypto/chacha.inc                                   |    13 +-
 crypto/external/bsd/openssl/lib/libcrypto/cmac.inc                                     |    10 +-
 crypto/external/bsd/openssl/lib/libcrypto/cmp.inc                                      |    23 +
 crypto/external/bsd/openssl/lib/libcrypto/cms.inc                                      |    30 +-
 crypto/external/bsd/openssl/lib/libcrypto/comp.inc                                     |    14 +-
 crypto/external/bsd/openssl/lib/libcrypto/conf.inc                                     |    20 +-
 crypto/external/bsd/openssl/lib/libcrypto/crmf.inc                                     |    15 +
 crypto/external/bsd/openssl/lib/libcrypto/crypto.inc                                   |    49 +-
 crypto/external/bsd/openssl/lib/libcrypto/crypto.map                                   |  2223 +++++++--
 crypto/external/bsd/openssl/lib/libcrypto/ct.inc                                       |    14 +-
 crypto/external/bsd/openssl/lib/libcrypto/curve448.inc                                 |     7 +-
 crypto/external/bsd/openssl/lib/libcrypto/des.inc                                      |    12 +-
 crypto/external/bsd/openssl/lib/libcrypto/dh.inc                                       |    15 +-
 crypto/external/bsd/openssl/lib/libcrypto/dsa.inc                                      |    16 +-
 crypto/external/bsd/openssl/lib/libcrypto/dso.inc                                      |    19 +-
 crypto/external/bsd/openssl/lib/libcrypto/ec.inc                                       |    30 +-
 crypto/external/bsd/openssl/lib/libcrypto/ecdh.inc                                     |    16 -
 crypto/external/bsd/openssl/lib/libcrypto/ecdsa.inc                                    |    17 -
 crypto/external/bsd/openssl/lib/libcrypto/encode_decode.inc                            |    23 +
 crypto/external/bsd/openssl/lib/libcrypto/engine.inc                                   |    16 +-
 crypto/external/bsd/openssl/lib/libcrypto/err.inc                                      |    16 +-
 crypto/external/bsd/openssl/lib/libcrypto/ess.inc                                      |    14 +
 crypto/external/bsd/openssl/lib/libcrypto/evp.inc                                      |    63 +-
 crypto/external/bsd/openssl/lib/libcrypto/ffc.inc                                      |    18 +
 crypto/external/bsd/openssl/lib/libcrypto/hmac.inc                                     |    12 +-
 crypto/external/bsd/openssl/lib/libcrypto/http.inc                                     |    14 +
 crypto/external/bsd/openssl/lib/libcrypto/idea.inc                                     |    18 +-
 crypto/external/bsd/openssl/lib/libcrypto/kdf.inc                                      |    14 +-
 crypto/external/bsd/openssl/lib/libcrypto/krb5.inc                                     |    16 -
 crypto/external/bsd/openssl/lib/libcrypto/lhash.inc                                    |    13 +-
 crypto/external/bsd/openssl/lib/libcrypto/libc-sha1.c                                  |    30 +
 crypto/external/bsd/openssl/lib/libcrypto/libc-sha256.c                                |     2 +
 crypto/external/bsd/openssl/lib/libcrypto/libc-sha2xx.c                                |     7 +-
 crypto/external/bsd/openssl/lib/libcrypto/libc-sha512.c                                |     4 +-
 crypto/external/bsd/openssl/lib/libcrypto/md2.inc                                      |    16 -
 crypto/external/bsd/openssl/lib/libcrypto/md4.inc                                      |    13 +-
 crypto/external/bsd/openssl/lib/libcrypto/md5.inc                                      |    14 +-
 crypto/external/bsd/openssl/lib/libcrypto/mdc2.inc                                     |    15 +-
 crypto/external/bsd/openssl/lib/libcrypto/mkinc                                        |    26 +
 crypto/external/bsd/openssl/lib/libcrypto/modes.inc                                    |    13 +-
 crypto/external/bsd/openssl/lib/libcrypto/objects.inc                                  |    16 +-
 crypto/external/bsd/openssl/lib/libcrypto/ocsp.inc                                     |    16 +-
 crypto/external/bsd/openssl/lib/libcrypto/pem.inc                                      |    23 +-
 crypto/external/bsd/openssl/lib/libcrypto/pkcs12.inc                                   |    14 +-
 crypto/external/bsd/openssl/lib/libcrypto/pkcs7.inc                                    |    20 +-
 crypto/external/bsd/openssl/lib/libcrypto/poly1305.inc                                 |    12 +-
 crypto/external/bsd/openssl/lib/libcrypto/property.inc                                 |    17 +
 crypto/external/bsd/openssl/lib/libcrypto/providers.inc                                |    16 +
 crypto/external/bsd/openssl/lib/libcrypto/rand.inc                                     |    25 +-
 crypto/external/bsd/openssl/lib/libcrypto/rc2.inc                                      |    16 +-
 crypto/external/bsd/openssl/lib/libcrypto/rc4.inc                                      |     8 +-
 crypto/external/bsd/openssl/lib/libcrypto/rc5.inc                                      |    17 -
 crypto/external/bsd/openssl/lib/libcrypto/ripemd.inc                                   |    13 +-
 crypto/external/bsd/openssl/lib/libcrypto/rsa.inc                                      |    20 +-
 crypto/external/bsd/openssl/lib/libcrypto/seed.inc                                     |    16 +-
 crypto/external/bsd/openssl/lib/libcrypto/sha.inc                                      |    19 +-
 crypto/external/bsd/openssl/lib/libcrypto/shlib_version                                |     6 +-
 crypto/external/bsd/openssl/lib/libcrypto/siphash.inc                                  |    13 +-
 crypto/external/bsd/openssl/lib/libcrypto/sm2.inc                                      |    11 +-
 crypto/external/bsd/openssl/lib/libcrypto/sm3.inc                                      |    11 +-
 crypto/external/bsd/openssl/lib/libcrypto/sm4.inc                                      |    10 +-
 crypto/external/bsd/openssl/lib/libcrypto/srcs.inc                                     |    16 +-
 crypto/external/bsd/openssl/lib/libcrypto/srp.inc                                      |    11 +-
 crypto/external/bsd/openssl/lib/libcrypto/stack.inc                                    |    12 +-
 crypto/external/bsd/openssl/lib/libcrypto/store.inc                                    |    15 +-
 crypto/external/bsd/openssl/lib/libcrypto/ts.inc                                       |    25 +-
 crypto/external/bsd/openssl/lib/libcrypto/txt_db.inc                                   |    12 +-
 crypto/external/bsd/openssl/lib/libcrypto/ui.inc                                       |    13 +-
 crypto/external/bsd/openssl/lib/libcrypto/whrlpool.inc                                 |    16 +-
 crypto/external/bsd/openssl/lib/libcrypto/x509.inc                                     |    56 +-
 crypto/external/bsd/openssl/lib/libcrypto/x509v3.inc                                   |    54 -
 crypto/external/bsd/openssl/lib/libcryptotest/Makefile                                 |    29 +-
 crypto/external/bsd/openssl/lib/libdefault/Makefile                                    |    66 +
 crypto/external/bsd/openssl/lib/libdefault/PROTO.in                                    |    12 +
 crypto/external/bsd/openssl/lib/libdefault/der_sm2_gen.c                               |    30 +
 crypto/external/bsd/openssl/lib/libdefault/mkinc                                       |    37 +
 crypto/external/bsd/openssl/lib/libdefault/prov/der_digests.h                          |   160 +
 crypto/external/bsd/openssl/lib/libdefault/prov/der_dsa.h                              |    94 +
 crypto/external/bsd/openssl/lib/libdefault/prov/der_ec.h                               |   286 +
 crypto/external/bsd/openssl/lib/libdefault/prov/der_ecx.h                              |    50 +
 crypto/external/bsd/openssl/lib/libdefault/prov/der_rsa.h                              |   187 +
 crypto/external/bsd/openssl/lib/libdefault/prov/der_sm2.h                              |    37 +
 crypto/external/bsd/openssl/lib/libdefault/prov/der_wrap.h                             |    46 +
 crypto/external/bsd/openssl/lib/libdefault/providers_common.inc                        |    18 +
 crypto/external/bsd/openssl/lib/libdefault/providers_common_der.inc                    |    15 +
 crypto/external/bsd/openssl/lib/libdefault/providers_implementations_asymciphers.inc   |    13 +
 crypto/external/bsd/openssl/lib/libdefault/providers_implementations_ciphers.inc       |    51 +
 crypto/external/bsd/openssl/lib/libdefault/providers_implementations_digests.inc       |    21 +
 crypto/external/bsd/openssl/lib/libdefault/providers_implementations_encode_decode.inc |    22 +
 crypto/external/bsd/openssl/lib/libdefault/providers_implementations_exchange.inc      |    15 +
 crypto/external/bsd/openssl/lib/libdefault/providers_implementations_kdfs.inc          |    22 +
 crypto/external/bsd/openssl/lib/libdefault/providers_implementations_kem.inc           |    12 +
 crypto/external/bsd/openssl/lib/libdefault/providers_implementations_keymgmt.inc       |    18 +
 crypto/external/bsd/openssl/lib/libdefault/providers_implementations_macs.inc          |    19 +
 crypto/external/bsd/openssl/lib/libdefault/providers_implementations_rands.inc         |    18 +
 crypto/external/bsd/openssl/lib/libdefault/providers_implementations_rands_seeding.inc |    15 +
 crypto/external/bsd/openssl/lib/libdefault/providers_implementations_signature.inc     |    17 +
 crypto/external/bsd/openssl/lib/libdefault/providers_implementations_storemgmt.inc     |    13 +
 crypto/external/bsd/openssl/lib/libdefault/srcs.inc                                    |    27 +
 crypto/external/bsd/openssl/lib/libdefault/ssl.inc                                     |    12 +
 crypto/external/bsd/openssl/lib/libdes/shlib_version                                   |     4 +-
 crypto/external/bsd/openssl/lib/libssl/Makefile                                        |    12 +-
 crypto/external/bsd/openssl/lib/libssl/record.inc                                      |     3 +-
 crypto/external/bsd/openssl/lib/libssl/shlib_version                                   |     4 +-
 crypto/external/bsd/openssl/lib/libssl/ssl.inc                                         |    12 +-
 crypto/external/bsd/openssl/lib/libssl/ssl.map                                         |   232 +-
 167 files changed, 6656 insertions(+), 1704 deletions(-)

diffs (truncated from 13583 to 300 lines):

diff -r 02962a2243c9 -r 3b6546932224 crypto/external/bsd/openssl/lib/libcommon/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/openssl/lib/libcommon/Makefile        Sat May 06 17:07:22 2023 +0000
@@ -0,0 +1,67 @@
+#      $NetBSD: Makefile,v 1.1 2023/05/06 17:07:22 christos Exp $
+
+# RCSid:
+#      Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
+#
+#      @(#) Copyright (c) 1994 Simon J. Gerraty
+#
+#      This file is provided in the hope that it will
+#      be of use.  There is absolutely NO WARRANTY.
+#      Permission to copy, redistribute or otherwise
+#      use this file is hereby granted provided that 
+#      the above copyright notice and this notice are
+#      left intact. 
+#      
+#      Please send copies of changes and bug-fixes to:
+#      sjg%quick.com.au@localhost
+#
+LIBISPRIVATE=  yes
+LIB=   common
+USE_FORT?= yes # cryptographic software
+USE_SHLIBDIR=  no
+USE_FIPS=      no
+#DBG=-g
+
+.include <bsd.own.mk>
+.include <bsd.shlib.mk>
+
+# XXX: There's a bit of work to do before we can enable warnings.
+WARNS=0
+CWARNFLAGS.clang+=     -Wno-empty-body -Wno-unused-value -Wno-parentheses -Wno-implicit-int-float-conversion
+# XXX: This warning seems to trigger incorrectly
+CWARNFLAGS.clang+=     -Wno-atomic-alignment
+
+LINTFLAGS+=    -X 161  # constant in conditional context
+LINTFLAGS+=    -X 129  # expression has null effect
+LINTFLAGS+=    -X 117  # bitwise '>>' on signed value possibly nonportable
+LINTFLAGS+=    -X 231  # argument '%s' unused in function '%s'
+LINTFLAGS+=    -X 220  # fallthrough on case statement
+LINTFLAGS+=    -X 118  # semantics of '%s' change in ANSI C; use explicit cast
+
+CPPFLAGS+= -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto -I${OPENSSLSRC} -I${.CURDIR}
+CPPFLAGS+= -I${OPENSSLSRC}/include -I${OPENSSLSRC}/crypto/include
+CPPFLAGS+= -I${OPENSSLSRC}/crypto/asn1 -I${OPENSSLSRC}/crypto/evp
+CPPFLAGS+= -I${OPENSSLSRC}/crypto/modes
+CPPFLAGS+= -I${OPENSSLSRC}/../include
+CPPFLAGS+= -I${OPENSSLSRC}/providers/common/include
+CPPFLAGS+= -I${OPENSSLSRC}/providers/implementations/include
+CPPFLAGS+= -I${.CURDIR}/../libdefault
+
+
+CRYPTODIST=    ${NETBSDSRCDIR}/crypto
+OPENSSLINC=    ${OPENSSLSRC}/include/openssl
+
+.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
+.PATH: ${OPENSSLSRC} ${OPENSSLINC}
+.PATH: ${OPENSSLSRC}/../include/openssl
+.PATH: ${OPENSSLSRC}/providers/implementations/digests
+.PATH: ${OPENSSLSRC}/providers/implementations/macs
+
+.include "srcs.inc"
+
+AFLAGS+=-DELF
+
+OS_VERSION!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
+
+.include <bsd.lib.mk>
+
diff -r 02962a2243c9 -r 3b6546932224 crypto/external/bsd/openssl/lib/libcommon/PROTO.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/openssl/lib/libcommon/PROTO.in        Sat May 06 17:07:22 2023 +0000
@@ -0,0 +1,12 @@
+#      $NetBSD: PROTO.in,v 1.1 2023/05/06 17:07:22 christos Exp $
+
+.PATH: ${OPENSSLSRC}/@proto@
+
+@PROTO@_SRCS += \
+@SRCS@
+
+SRCS += ${@PROTO@_SRCS}
+
+.for commonsrc in ${@PROTO@_SRCS}
+CPPFLAGS.${commonsrc} += -I${OPENSSLSRC}/@proto@ ${@PROTO@CPPFLAGS}
+.endfor
diff -r 02962a2243c9 -r 3b6546932224 crypto/external/bsd/openssl/lib/libcommon/der_digests_gen.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/openssl/lib/libcommon/der_digests_gen.c       Sat May 06 17:07:22 2023 +0000
@@ -0,0 +1,160 @@
+/*
+ * WARNING: do not edit!
+ * Generated by Makefile from providers/common/der/der_digests_gen.c.in
+ *
+ * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License").  You may not use
+ * this file except in compliance with the License.  You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#include "prov/der_digests.h"
+
+/* Well known OIDs precompiled */
+
+/*
+ * sigAlgs OBJECT IDENTIFIER ::= { nistAlgorithms 3 }
+ */
+const unsigned char ossl_der_oid_sigAlgs[DER_OID_SZ_sigAlgs] = {
+    DER_OID_V_sigAlgs
+};
+
+/*
+ * id-sha1  OBJECT IDENTIFIER  ::=  { iso(1)
+ *                      identified-organization(3) oiw(14)
+ *                      secsig(3) algorithms(2) 26 }
+ */
+const unsigned char ossl_der_oid_id_sha1[DER_OID_SZ_id_sha1] = {
+    DER_OID_V_id_sha1
+};
+
+/*
+ * id-md2  OBJECT IDENTIFIER ::= {
+ *   iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 2 }
+ */
+const unsigned char ossl_der_oid_id_md2[DER_OID_SZ_id_md2] = {
+    DER_OID_V_id_md2
+};
+
+/*
+ * id-md5  OBJECT IDENTIFIER ::= {
+ *   iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 5 }
+ */
+const unsigned char ossl_der_oid_id_md5[DER_OID_SZ_id_md5] = {
+    DER_OID_V_id_md5
+};
+
+/*
+ * id-sha256 OBJECT IDENTIFIER ::= { hashAlgs 1 }
+ */
+const unsigned char ossl_der_oid_id_sha256[DER_OID_SZ_id_sha256] = {
+    DER_OID_V_id_sha256
+};
+
+/*
+ * id-sha384 OBJECT IDENTIFIER ::= { hashAlgs 2 }
+ */
+const unsigned char ossl_der_oid_id_sha384[DER_OID_SZ_id_sha384] = {
+    DER_OID_V_id_sha384
+};
+
+/*
+ * id-sha512 OBJECT IDENTIFIER ::= { hashAlgs 3 }
+ */
+const unsigned char ossl_der_oid_id_sha512[DER_OID_SZ_id_sha512] = {
+    DER_OID_V_id_sha512
+};
+
+/*
+ * id-sha224 OBJECT IDENTIFIER ::= { hashAlgs 4 }
+ */
+const unsigned char ossl_der_oid_id_sha224[DER_OID_SZ_id_sha224] = {
+    DER_OID_V_id_sha224
+};
+
+/*
+ * id-sha512-224 OBJECT IDENTIFIER ::= { hashAlgs 5 }
+ */
+const unsigned char ossl_der_oid_id_sha512_224[DER_OID_SZ_id_sha512_224] = {
+    DER_OID_V_id_sha512_224
+};
+
+/*
+ * id-sha512-256 OBJECT IDENTIFIER ::= { hashAlgs 6 }
+ */
+const unsigned char ossl_der_oid_id_sha512_256[DER_OID_SZ_id_sha512_256] = {
+    DER_OID_V_id_sha512_256
+};
+
+/*
+ * id-sha3-224 OBJECT IDENTIFIER ::= { hashAlgs 7 }
+ */
+const unsigned char ossl_der_oid_id_sha3_224[DER_OID_SZ_id_sha3_224] = {
+    DER_OID_V_id_sha3_224
+};
+
+/*
+ * id-sha3-256 OBJECT IDENTIFIER ::= { hashAlgs 8 }
+ */
+const unsigned char ossl_der_oid_id_sha3_256[DER_OID_SZ_id_sha3_256] = {
+    DER_OID_V_id_sha3_256
+};
+
+/*
+ * id-sha3-384 OBJECT IDENTIFIER ::= { hashAlgs 9 }
+ */
+const unsigned char ossl_der_oid_id_sha3_384[DER_OID_SZ_id_sha3_384] = {
+    DER_OID_V_id_sha3_384
+};
+
+/*
+ * id-sha3-512 OBJECT IDENTIFIER ::= { hashAlgs 10 }
+ */
+const unsigned char ossl_der_oid_id_sha3_512[DER_OID_SZ_id_sha3_512] = {
+    DER_OID_V_id_sha3_512
+};
+
+/*
+ * id-shake128 OBJECT IDENTIFIER ::= { hashAlgs 11 }
+ */
+const unsigned char ossl_der_oid_id_shake128[DER_OID_SZ_id_shake128] = {
+    DER_OID_V_id_shake128
+};
+
+/*
+ * id-shake256 OBJECT IDENTIFIER ::= { hashAlgs 12 }
+ */
+const unsigned char ossl_der_oid_id_shake256[DER_OID_SZ_id_shake256] = {
+    DER_OID_V_id_shake256
+};
+
+/*
+ * id-shake128-len OBJECT IDENTIFIER ::= { hashAlgs 17 }
+ */
+const unsigned char ossl_der_oid_id_shake128_len[DER_OID_SZ_id_shake128_len] = {
+    DER_OID_V_id_shake128_len
+};
+
+/*
+ * id-shake256-len OBJECT IDENTIFIER ::= { hashAlgs 18 }
+ */
+const unsigned char ossl_der_oid_id_shake256_len[DER_OID_SZ_id_shake256_len] = {
+    DER_OID_V_id_shake256_len
+};
+
+/*
+ * id-KMACWithSHAKE128 OBJECT IDENTIFIER ::={hashAlgs 19}
+ */
+const unsigned char ossl_der_oid_id_KMACWithSHAKE128[DER_OID_SZ_id_KMACWithSHAKE128] = {
+    DER_OID_V_id_KMACWithSHAKE128
+};
+
+/*
+ * id-KMACWithSHAKE256 OBJECT IDENTIFIER ::={ hashAlgs 20}
+ */
+const unsigned char ossl_der_oid_id_KMACWithSHAKE256[DER_OID_SZ_id_KMACWithSHAKE256] = {
+    DER_OID_V_id_KMACWithSHAKE256
+};
+
diff -r 02962a2243c9 -r 3b6546932224 crypto/external/bsd/openssl/lib/libcommon/der_dsa_gen.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crypto/external/bsd/openssl/lib/libcommon/der_dsa_gen.c   Sat May 06 17:07:22 2023 +0000
@@ -0,0 +1,94 @@
+/*
+ * WARNING: do not edit!
+ * Generated by Makefile from providers/common/der/der_dsa_gen.c.in
+ *
+ * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License").  You may not use
+ * this file except in compliance with the License.  You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+/*
+ * DSA low level APIs are deprecated for public use, but still ok for
+ * internal use.
+ */
+#include "internal/deprecated.h"
+
+#include "prov/der_dsa.h"
+
+/* Well known OIDs precompiled */
+
+/*
+ * id-dsa OBJECT IDENTIFIER ::= {
+ *      iso(1) member-body(2) us(840) x9-57(10040) x9algorithm(4) 1 }
+ */
+const unsigned char ossl_der_oid_id_dsa[DER_OID_SZ_id_dsa] = {
+    DER_OID_V_id_dsa
+};
+
+/*
+ * id-dsa-with-sha1 OBJECT IDENTIFIER ::=  {
+ *      iso(1) member-body(2) us(840) x9-57 (10040) x9algorithm(4) 3 }
+ */
+const unsigned char ossl_der_oid_id_dsa_with_sha1[DER_OID_SZ_id_dsa_with_sha1] = {
+    DER_OID_V_id_dsa_with_sha1
+};
+
+/*
+ * id-dsa-with-sha224 OBJECT IDENTIFIER ::= { sigAlgs 1 }
+ */
+const unsigned char ossl_der_oid_id_dsa_with_sha224[DER_OID_SZ_id_dsa_with_sha224] = {
+    DER_OID_V_id_dsa_with_sha224
+};
+



Home | Main Index | Thread Index | Old Index