node-linux-s390x 20.2.0 → 20.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +207 -1
- package/LICENSE +0 -11
- package/README.md +14 -10
- package/bin/node +0 -0
- package/include/node/config.gypi +1 -1
- package/include/node/js_native_api.h +6 -6
- package/include/node/js_native_api_types.h +2 -1
- package/include/node/node_api.h +2 -2
- package/include/node/node_version.h +3 -3
- package/include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h +11 -11
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h +9 -9
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h +24 -24
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h +24 -24
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h +24 -24
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h +2 -2
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h +2 -2
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h +2 -2
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h +9 -10
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h +9 -9
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h +9 -9
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/crypto/buildinf.h +29 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/crypto/bn_conf.h +29 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/crypto/dso_conf.h +19 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/asn1.h +1128 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/asn1t.h +946 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/bio.h +887 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/cmp.h +597 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/cms.h +493 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/conf.h +211 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/configuration.h +137 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/crmf.h +227 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/crypto.h +558 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ct.h +573 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/err.h +504 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ess.h +128 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/fipskey.h +36 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/lhash.h +288 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ocsp.h +483 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h +114 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/pkcs12.h +350 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/pkcs7.h +427 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/safestack.h +297 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/srp.h +285 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ssl.h +2668 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ui.h +407 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/x509.h +1276 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/x509_vfy.h +894 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/x509v3.h +1450 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/progs.h +123 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_digests.h +160 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_dsa.h +94 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_ec.h +286 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_ecx.h +50 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_rsa.h +187 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_sm2.h +37 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_wrap.h +46 -0
- package/include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h +9 -8
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h +9 -8
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h +1 -1
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/cmp.h +4 -3
- package/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h +5 -5
- package/include/node/openssl/cmperr.h +3 -1
- package/include/node/openssl/dsaerr.h +2 -1
- package/include/node/openssl/ecerr.h +2 -1
- package/include/node/uv/errno.h +12 -1
- package/include/node/uv/unix.h +0 -1
- package/include/node/uv/version.h +2 -2
- package/include/node/uv/win.h +18 -15
- package/include/node/uv.h +57 -16
- package/include/node/zconf.h +5 -1
- package/include/node/zlib.h +4 -4
- package/package.json +1 -1
- package/include/node/uv/stdint-msvc2008.h +0 -247
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* WARNING: do not edit!
|
|
3
|
+
* Generated by apps/progs.pl
|
|
4
|
+
*
|
|
5
|
+
* Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
8
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
9
|
+
* in the file LICENSE in the source distribution or at
|
|
10
|
+
* https://www.openssl.org/source/license.html
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
#include "function.h"
|
|
14
|
+
|
|
15
|
+
extern int asn1parse_main(int argc, char *argv[]);
|
|
16
|
+
extern int ca_main(int argc, char *argv[]);
|
|
17
|
+
extern int ciphers_main(int argc, char *argv[]);
|
|
18
|
+
extern int cmp_main(int argc, char *argv[]);
|
|
19
|
+
extern int cms_main(int argc, char *argv[]);
|
|
20
|
+
extern int crl_main(int argc, char *argv[]);
|
|
21
|
+
extern int crl2pkcs7_main(int argc, char *argv[]);
|
|
22
|
+
extern int dgst_main(int argc, char *argv[]);
|
|
23
|
+
extern int dhparam_main(int argc, char *argv[]);
|
|
24
|
+
extern int dsa_main(int argc, char *argv[]);
|
|
25
|
+
extern int dsaparam_main(int argc, char *argv[]);
|
|
26
|
+
extern int ec_main(int argc, char *argv[]);
|
|
27
|
+
extern int ecparam_main(int argc, char *argv[]);
|
|
28
|
+
extern int enc_main(int argc, char *argv[]);
|
|
29
|
+
extern int engine_main(int argc, char *argv[]);
|
|
30
|
+
extern int errstr_main(int argc, char *argv[]);
|
|
31
|
+
extern int fipsinstall_main(int argc, char *argv[]);
|
|
32
|
+
extern int gendsa_main(int argc, char *argv[]);
|
|
33
|
+
extern int genpkey_main(int argc, char *argv[]);
|
|
34
|
+
extern int genrsa_main(int argc, char *argv[]);
|
|
35
|
+
extern int help_main(int argc, char *argv[]);
|
|
36
|
+
extern int info_main(int argc, char *argv[]);
|
|
37
|
+
extern int kdf_main(int argc, char *argv[]);
|
|
38
|
+
extern int list_main(int argc, char *argv[]);
|
|
39
|
+
extern int mac_main(int argc, char *argv[]);
|
|
40
|
+
extern int nseq_main(int argc, char *argv[]);
|
|
41
|
+
extern int ocsp_main(int argc, char *argv[]);
|
|
42
|
+
extern int passwd_main(int argc, char *argv[]);
|
|
43
|
+
extern int pkcs12_main(int argc, char *argv[]);
|
|
44
|
+
extern int pkcs7_main(int argc, char *argv[]);
|
|
45
|
+
extern int pkcs8_main(int argc, char *argv[]);
|
|
46
|
+
extern int pkey_main(int argc, char *argv[]);
|
|
47
|
+
extern int pkeyparam_main(int argc, char *argv[]);
|
|
48
|
+
extern int pkeyutl_main(int argc, char *argv[]);
|
|
49
|
+
extern int prime_main(int argc, char *argv[]);
|
|
50
|
+
extern int rand_main(int argc, char *argv[]);
|
|
51
|
+
extern int rehash_main(int argc, char *argv[]);
|
|
52
|
+
extern int req_main(int argc, char *argv[]);
|
|
53
|
+
extern int rsa_main(int argc, char *argv[]);
|
|
54
|
+
extern int rsautl_main(int argc, char *argv[]);
|
|
55
|
+
extern int s_client_main(int argc, char *argv[]);
|
|
56
|
+
extern int s_server_main(int argc, char *argv[]);
|
|
57
|
+
extern int s_time_main(int argc, char *argv[]);
|
|
58
|
+
extern int sess_id_main(int argc, char *argv[]);
|
|
59
|
+
extern int smime_main(int argc, char *argv[]);
|
|
60
|
+
extern int speed_main(int argc, char *argv[]);
|
|
61
|
+
extern int spkac_main(int argc, char *argv[]);
|
|
62
|
+
extern int srp_main(int argc, char *argv[]);
|
|
63
|
+
extern int storeutl_main(int argc, char *argv[]);
|
|
64
|
+
extern int ts_main(int argc, char *argv[]);
|
|
65
|
+
extern int verify_main(int argc, char *argv[]);
|
|
66
|
+
extern int version_main(int argc, char *argv[]);
|
|
67
|
+
extern int x509_main(int argc, char *argv[]);
|
|
68
|
+
|
|
69
|
+
extern const OPTIONS asn1parse_options[];
|
|
70
|
+
extern const OPTIONS ca_options[];
|
|
71
|
+
extern const OPTIONS ciphers_options[];
|
|
72
|
+
extern const OPTIONS cmp_options[];
|
|
73
|
+
extern const OPTIONS cms_options[];
|
|
74
|
+
extern const OPTIONS crl_options[];
|
|
75
|
+
extern const OPTIONS crl2pkcs7_options[];
|
|
76
|
+
extern const OPTIONS dgst_options[];
|
|
77
|
+
extern const OPTIONS dhparam_options[];
|
|
78
|
+
extern const OPTIONS dsa_options[];
|
|
79
|
+
extern const OPTIONS dsaparam_options[];
|
|
80
|
+
extern const OPTIONS ec_options[];
|
|
81
|
+
extern const OPTIONS ecparam_options[];
|
|
82
|
+
extern const OPTIONS enc_options[];
|
|
83
|
+
extern const OPTIONS engine_options[];
|
|
84
|
+
extern const OPTIONS errstr_options[];
|
|
85
|
+
extern const OPTIONS fipsinstall_options[];
|
|
86
|
+
extern const OPTIONS gendsa_options[];
|
|
87
|
+
extern const OPTIONS genpkey_options[];
|
|
88
|
+
extern const OPTIONS genrsa_options[];
|
|
89
|
+
extern const OPTIONS help_options[];
|
|
90
|
+
extern const OPTIONS info_options[];
|
|
91
|
+
extern const OPTIONS kdf_options[];
|
|
92
|
+
extern const OPTIONS list_options[];
|
|
93
|
+
extern const OPTIONS mac_options[];
|
|
94
|
+
extern const OPTIONS nseq_options[];
|
|
95
|
+
extern const OPTIONS ocsp_options[];
|
|
96
|
+
extern const OPTIONS passwd_options[];
|
|
97
|
+
extern const OPTIONS pkcs12_options[];
|
|
98
|
+
extern const OPTIONS pkcs7_options[];
|
|
99
|
+
extern const OPTIONS pkcs8_options[];
|
|
100
|
+
extern const OPTIONS pkey_options[];
|
|
101
|
+
extern const OPTIONS pkeyparam_options[];
|
|
102
|
+
extern const OPTIONS pkeyutl_options[];
|
|
103
|
+
extern const OPTIONS prime_options[];
|
|
104
|
+
extern const OPTIONS rand_options[];
|
|
105
|
+
extern const OPTIONS rehash_options[];
|
|
106
|
+
extern const OPTIONS req_options[];
|
|
107
|
+
extern const OPTIONS rsa_options[];
|
|
108
|
+
extern const OPTIONS rsautl_options[];
|
|
109
|
+
extern const OPTIONS s_client_options[];
|
|
110
|
+
extern const OPTIONS s_server_options[];
|
|
111
|
+
extern const OPTIONS s_time_options[];
|
|
112
|
+
extern const OPTIONS sess_id_options[];
|
|
113
|
+
extern const OPTIONS smime_options[];
|
|
114
|
+
extern const OPTIONS speed_options[];
|
|
115
|
+
extern const OPTIONS spkac_options[];
|
|
116
|
+
extern const OPTIONS srp_options[];
|
|
117
|
+
extern const OPTIONS storeutl_options[];
|
|
118
|
+
extern const OPTIONS ts_options[];
|
|
119
|
+
extern const OPTIONS verify_options[];
|
|
120
|
+
extern const OPTIONS version_options[];
|
|
121
|
+
extern const OPTIONS x509_options[];
|
|
122
|
+
|
|
123
|
+
extern FUNCTION functions[];
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* WARNING: do not edit!
|
|
3
|
+
* Generated by Makefile from providers/common/include/prov/der_digests.h.in
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
8
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
9
|
+
* in the file LICENSE in the source distribution or at
|
|
10
|
+
* https://www.openssl.org/source/license.html
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
#include "internal/der.h"
|
|
14
|
+
|
|
15
|
+
/* Well known OIDs precompiled */
|
|
16
|
+
|
|
17
|
+
/*
|
|
18
|
+
* sigAlgs OBJECT IDENTIFIER ::= { nistAlgorithms 3 }
|
|
19
|
+
*/
|
|
20
|
+
#define DER_OID_V_sigAlgs DER_P_OBJECT, 8, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03
|
|
21
|
+
#define DER_OID_SZ_sigAlgs 10
|
|
22
|
+
extern const unsigned char ossl_der_oid_sigAlgs[DER_OID_SZ_sigAlgs];
|
|
23
|
+
|
|
24
|
+
/*
|
|
25
|
+
* id-sha1 OBJECT IDENTIFIER ::= { iso(1)
|
|
26
|
+
* identified-organization(3) oiw(14)
|
|
27
|
+
* secsig(3) algorithms(2) 26 }
|
|
28
|
+
*/
|
|
29
|
+
#define DER_OID_V_id_sha1 DER_P_OBJECT, 5, 0x2B, 0x0E, 0x03, 0x02, 0x1A
|
|
30
|
+
#define DER_OID_SZ_id_sha1 7
|
|
31
|
+
extern const unsigned char ossl_der_oid_id_sha1[DER_OID_SZ_id_sha1];
|
|
32
|
+
|
|
33
|
+
/*
|
|
34
|
+
* id-md2 OBJECT IDENTIFIER ::= {
|
|
35
|
+
* iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 2 }
|
|
36
|
+
*/
|
|
37
|
+
#define DER_OID_V_id_md2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x02
|
|
38
|
+
#define DER_OID_SZ_id_md2 10
|
|
39
|
+
extern const unsigned char ossl_der_oid_id_md2[DER_OID_SZ_id_md2];
|
|
40
|
+
|
|
41
|
+
/*
|
|
42
|
+
* id-md5 OBJECT IDENTIFIER ::= {
|
|
43
|
+
* iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 5 }
|
|
44
|
+
*/
|
|
45
|
+
#define DER_OID_V_id_md5 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x05
|
|
46
|
+
#define DER_OID_SZ_id_md5 10
|
|
47
|
+
extern const unsigned char ossl_der_oid_id_md5[DER_OID_SZ_id_md5];
|
|
48
|
+
|
|
49
|
+
/*
|
|
50
|
+
* id-sha256 OBJECT IDENTIFIER ::= { hashAlgs 1 }
|
|
51
|
+
*/
|
|
52
|
+
#define DER_OID_V_id_sha256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01
|
|
53
|
+
#define DER_OID_SZ_id_sha256 11
|
|
54
|
+
extern const unsigned char ossl_der_oid_id_sha256[DER_OID_SZ_id_sha256];
|
|
55
|
+
|
|
56
|
+
/*
|
|
57
|
+
* id-sha384 OBJECT IDENTIFIER ::= { hashAlgs 2 }
|
|
58
|
+
*/
|
|
59
|
+
#define DER_OID_V_id_sha384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x02
|
|
60
|
+
#define DER_OID_SZ_id_sha384 11
|
|
61
|
+
extern const unsigned char ossl_der_oid_id_sha384[DER_OID_SZ_id_sha384];
|
|
62
|
+
|
|
63
|
+
/*
|
|
64
|
+
* id-sha512 OBJECT IDENTIFIER ::= { hashAlgs 3 }
|
|
65
|
+
*/
|
|
66
|
+
#define DER_OID_V_id_sha512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x03
|
|
67
|
+
#define DER_OID_SZ_id_sha512 11
|
|
68
|
+
extern const unsigned char ossl_der_oid_id_sha512[DER_OID_SZ_id_sha512];
|
|
69
|
+
|
|
70
|
+
/*
|
|
71
|
+
* id-sha224 OBJECT IDENTIFIER ::= { hashAlgs 4 }
|
|
72
|
+
*/
|
|
73
|
+
#define DER_OID_V_id_sha224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x04
|
|
74
|
+
#define DER_OID_SZ_id_sha224 11
|
|
75
|
+
extern const unsigned char ossl_der_oid_id_sha224[DER_OID_SZ_id_sha224];
|
|
76
|
+
|
|
77
|
+
/*
|
|
78
|
+
* id-sha512-224 OBJECT IDENTIFIER ::= { hashAlgs 5 }
|
|
79
|
+
*/
|
|
80
|
+
#define DER_OID_V_id_sha512_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x05
|
|
81
|
+
#define DER_OID_SZ_id_sha512_224 11
|
|
82
|
+
extern const unsigned char ossl_der_oid_id_sha512_224[DER_OID_SZ_id_sha512_224];
|
|
83
|
+
|
|
84
|
+
/*
|
|
85
|
+
* id-sha512-256 OBJECT IDENTIFIER ::= { hashAlgs 6 }
|
|
86
|
+
*/
|
|
87
|
+
#define DER_OID_V_id_sha512_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x06
|
|
88
|
+
#define DER_OID_SZ_id_sha512_256 11
|
|
89
|
+
extern const unsigned char ossl_der_oid_id_sha512_256[DER_OID_SZ_id_sha512_256];
|
|
90
|
+
|
|
91
|
+
/*
|
|
92
|
+
* id-sha3-224 OBJECT IDENTIFIER ::= { hashAlgs 7 }
|
|
93
|
+
*/
|
|
94
|
+
#define DER_OID_V_id_sha3_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x07
|
|
95
|
+
#define DER_OID_SZ_id_sha3_224 11
|
|
96
|
+
extern const unsigned char ossl_der_oid_id_sha3_224[DER_OID_SZ_id_sha3_224];
|
|
97
|
+
|
|
98
|
+
/*
|
|
99
|
+
* id-sha3-256 OBJECT IDENTIFIER ::= { hashAlgs 8 }
|
|
100
|
+
*/
|
|
101
|
+
#define DER_OID_V_id_sha3_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x08
|
|
102
|
+
#define DER_OID_SZ_id_sha3_256 11
|
|
103
|
+
extern const unsigned char ossl_der_oid_id_sha3_256[DER_OID_SZ_id_sha3_256];
|
|
104
|
+
|
|
105
|
+
/*
|
|
106
|
+
* id-sha3-384 OBJECT IDENTIFIER ::= { hashAlgs 9 }
|
|
107
|
+
*/
|
|
108
|
+
#define DER_OID_V_id_sha3_384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x09
|
|
109
|
+
#define DER_OID_SZ_id_sha3_384 11
|
|
110
|
+
extern const unsigned char ossl_der_oid_id_sha3_384[DER_OID_SZ_id_sha3_384];
|
|
111
|
+
|
|
112
|
+
/*
|
|
113
|
+
* id-sha3-512 OBJECT IDENTIFIER ::= { hashAlgs 10 }
|
|
114
|
+
*/
|
|
115
|
+
#define DER_OID_V_id_sha3_512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0A
|
|
116
|
+
#define DER_OID_SZ_id_sha3_512 11
|
|
117
|
+
extern const unsigned char ossl_der_oid_id_sha3_512[DER_OID_SZ_id_sha3_512];
|
|
118
|
+
|
|
119
|
+
/*
|
|
120
|
+
* id-shake128 OBJECT IDENTIFIER ::= { hashAlgs 11 }
|
|
121
|
+
*/
|
|
122
|
+
#define DER_OID_V_id_shake128 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0B
|
|
123
|
+
#define DER_OID_SZ_id_shake128 11
|
|
124
|
+
extern const unsigned char ossl_der_oid_id_shake128[DER_OID_SZ_id_shake128];
|
|
125
|
+
|
|
126
|
+
/*
|
|
127
|
+
* id-shake256 OBJECT IDENTIFIER ::= { hashAlgs 12 }
|
|
128
|
+
*/
|
|
129
|
+
#define DER_OID_V_id_shake256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0C
|
|
130
|
+
#define DER_OID_SZ_id_shake256 11
|
|
131
|
+
extern const unsigned char ossl_der_oid_id_shake256[DER_OID_SZ_id_shake256];
|
|
132
|
+
|
|
133
|
+
/*
|
|
134
|
+
* id-shake128-len OBJECT IDENTIFIER ::= { hashAlgs 17 }
|
|
135
|
+
*/
|
|
136
|
+
#define DER_OID_V_id_shake128_len DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x11
|
|
137
|
+
#define DER_OID_SZ_id_shake128_len 11
|
|
138
|
+
extern const unsigned char ossl_der_oid_id_shake128_len[DER_OID_SZ_id_shake128_len];
|
|
139
|
+
|
|
140
|
+
/*
|
|
141
|
+
* id-shake256-len OBJECT IDENTIFIER ::= { hashAlgs 18 }
|
|
142
|
+
*/
|
|
143
|
+
#define DER_OID_V_id_shake256_len DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x12
|
|
144
|
+
#define DER_OID_SZ_id_shake256_len 11
|
|
145
|
+
extern const unsigned char ossl_der_oid_id_shake256_len[DER_OID_SZ_id_shake256_len];
|
|
146
|
+
|
|
147
|
+
/*
|
|
148
|
+
* id-KMACWithSHAKE128 OBJECT IDENTIFIER ::={hashAlgs 19}
|
|
149
|
+
*/
|
|
150
|
+
#define DER_OID_V_id_KMACWithSHAKE128 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x13
|
|
151
|
+
#define DER_OID_SZ_id_KMACWithSHAKE128 11
|
|
152
|
+
extern const unsigned char ossl_der_oid_id_KMACWithSHAKE128[DER_OID_SZ_id_KMACWithSHAKE128];
|
|
153
|
+
|
|
154
|
+
/*
|
|
155
|
+
* id-KMACWithSHAKE256 OBJECT IDENTIFIER ::={ hashAlgs 20}
|
|
156
|
+
*/
|
|
157
|
+
#define DER_OID_V_id_KMACWithSHAKE256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x14
|
|
158
|
+
#define DER_OID_SZ_id_KMACWithSHAKE256 11
|
|
159
|
+
extern const unsigned char ossl_der_oid_id_KMACWithSHAKE256[DER_OID_SZ_id_KMACWithSHAKE256];
|
|
160
|
+
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* WARNING: do not edit!
|
|
3
|
+
* Generated by Makefile from providers/common/include/prov/der_dsa.h.in
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
8
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
9
|
+
* in the file LICENSE in the source distribution or at
|
|
10
|
+
* https://www.openssl.org/source/license.html
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
#include "internal/der.h"
|
|
14
|
+
|
|
15
|
+
/* Well known OIDs precompiled */
|
|
16
|
+
|
|
17
|
+
/*
|
|
18
|
+
* id-dsa OBJECT IDENTIFIER ::= {
|
|
19
|
+
* iso(1) member-body(2) us(840) x9-57(10040) x9algorithm(4) 1 }
|
|
20
|
+
*/
|
|
21
|
+
#define DER_OID_V_id_dsa DER_P_OBJECT, 7, 0x2A, 0x86, 0x48, 0xCE, 0x38, 0x04, 0x01
|
|
22
|
+
#define DER_OID_SZ_id_dsa 9
|
|
23
|
+
extern const unsigned char ossl_der_oid_id_dsa[DER_OID_SZ_id_dsa];
|
|
24
|
+
|
|
25
|
+
/*
|
|
26
|
+
* id-dsa-with-sha1 OBJECT IDENTIFIER ::= {
|
|
27
|
+
* iso(1) member-body(2) us(840) x9-57 (10040) x9algorithm(4) 3 }
|
|
28
|
+
*/
|
|
29
|
+
#define DER_OID_V_id_dsa_with_sha1 DER_P_OBJECT, 7, 0x2A, 0x86, 0x48, 0xCE, 0x38, 0x04, 0x03
|
|
30
|
+
#define DER_OID_SZ_id_dsa_with_sha1 9
|
|
31
|
+
extern const unsigned char ossl_der_oid_id_dsa_with_sha1[DER_OID_SZ_id_dsa_with_sha1];
|
|
32
|
+
|
|
33
|
+
/*
|
|
34
|
+
* id-dsa-with-sha224 OBJECT IDENTIFIER ::= { sigAlgs 1 }
|
|
35
|
+
*/
|
|
36
|
+
#define DER_OID_V_id_dsa_with_sha224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x01
|
|
37
|
+
#define DER_OID_SZ_id_dsa_with_sha224 11
|
|
38
|
+
extern const unsigned char ossl_der_oid_id_dsa_with_sha224[DER_OID_SZ_id_dsa_with_sha224];
|
|
39
|
+
|
|
40
|
+
/*
|
|
41
|
+
* id-dsa-with-sha256 OBJECT IDENTIFIER ::= { sigAlgs 2 }
|
|
42
|
+
*/
|
|
43
|
+
#define DER_OID_V_id_dsa_with_sha256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x02
|
|
44
|
+
#define DER_OID_SZ_id_dsa_with_sha256 11
|
|
45
|
+
extern const unsigned char ossl_der_oid_id_dsa_with_sha256[DER_OID_SZ_id_dsa_with_sha256];
|
|
46
|
+
|
|
47
|
+
/*
|
|
48
|
+
* id-dsa-with-sha384 OBJECT IDENTIFIER ::= { sigAlgs 3 }
|
|
49
|
+
*/
|
|
50
|
+
#define DER_OID_V_id_dsa_with_sha384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x03
|
|
51
|
+
#define DER_OID_SZ_id_dsa_with_sha384 11
|
|
52
|
+
extern const unsigned char ossl_der_oid_id_dsa_with_sha384[DER_OID_SZ_id_dsa_with_sha384];
|
|
53
|
+
|
|
54
|
+
/*
|
|
55
|
+
* id-dsa-with-sha512 OBJECT IDENTIFIER ::= { sigAlgs 4 }
|
|
56
|
+
*/
|
|
57
|
+
#define DER_OID_V_id_dsa_with_sha512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x04
|
|
58
|
+
#define DER_OID_SZ_id_dsa_with_sha512 11
|
|
59
|
+
extern const unsigned char ossl_der_oid_id_dsa_with_sha512[DER_OID_SZ_id_dsa_with_sha512];
|
|
60
|
+
|
|
61
|
+
/*
|
|
62
|
+
* id-dsa-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 5 }
|
|
63
|
+
*/
|
|
64
|
+
#define DER_OID_V_id_dsa_with_sha3_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x05
|
|
65
|
+
#define DER_OID_SZ_id_dsa_with_sha3_224 11
|
|
66
|
+
extern const unsigned char ossl_der_oid_id_dsa_with_sha3_224[DER_OID_SZ_id_dsa_with_sha3_224];
|
|
67
|
+
|
|
68
|
+
/*
|
|
69
|
+
* id-dsa-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 6 }
|
|
70
|
+
*/
|
|
71
|
+
#define DER_OID_V_id_dsa_with_sha3_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x06
|
|
72
|
+
#define DER_OID_SZ_id_dsa_with_sha3_256 11
|
|
73
|
+
extern const unsigned char ossl_der_oid_id_dsa_with_sha3_256[DER_OID_SZ_id_dsa_with_sha3_256];
|
|
74
|
+
|
|
75
|
+
/*
|
|
76
|
+
* id-dsa-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 7 }
|
|
77
|
+
*/
|
|
78
|
+
#define DER_OID_V_id_dsa_with_sha3_384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x07
|
|
79
|
+
#define DER_OID_SZ_id_dsa_with_sha3_384 11
|
|
80
|
+
extern const unsigned char ossl_der_oid_id_dsa_with_sha3_384[DER_OID_SZ_id_dsa_with_sha3_384];
|
|
81
|
+
|
|
82
|
+
/*
|
|
83
|
+
* id-dsa-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 8 }
|
|
84
|
+
*/
|
|
85
|
+
#define DER_OID_V_id_dsa_with_sha3_512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x08
|
|
86
|
+
#define DER_OID_SZ_id_dsa_with_sha3_512 11
|
|
87
|
+
extern const unsigned char ossl_der_oid_id_dsa_with_sha3_512[DER_OID_SZ_id_dsa_with_sha3_512];
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
/* Subject Public Key Info */
|
|
91
|
+
int ossl_DER_w_algorithmIdentifier_DSA(WPACKET *pkt, int tag, DSA *dsa);
|
|
92
|
+
/* Signature */
|
|
93
|
+
int ossl_DER_w_algorithmIdentifier_DSA_with_MD(WPACKET *pkt, int tag,
|
|
94
|
+
DSA *dsa, int mdnid);
|
package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_ec.h
ADDED
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* WARNING: do not edit!
|
|
3
|
+
* Generated by Makefile from providers/common/include/prov/der_ec.h.in
|
|
4
|
+
*
|
|
5
|
+
* Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
8
|
+
* this file except in compliance with the License. You can obtain a copy
|
|
9
|
+
* in the file LICENSE in the source distribution or at
|
|
10
|
+
* https://www.openssl.org/source/license.html
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
#include "crypto/ec.h"
|
|
14
|
+
#include "internal/der.h"
|
|
15
|
+
|
|
16
|
+
/* Well known OIDs precompiled */
|
|
17
|
+
|
|
18
|
+
/*
|
|
19
|
+
* ecdsa-with-SHA1 OBJECT IDENTIFIER ::= { id-ecSigType 1 }
|
|
20
|
+
*/
|
|
21
|
+
#define DER_OID_V_ecdsa_with_SHA1 DER_P_OBJECT, 7, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x04, 0x01
|
|
22
|
+
#define DER_OID_SZ_ecdsa_with_SHA1 9
|
|
23
|
+
extern const unsigned char ossl_der_oid_ecdsa_with_SHA1[DER_OID_SZ_ecdsa_with_SHA1];
|
|
24
|
+
|
|
25
|
+
/*
|
|
26
|
+
* id-ecPublicKey OBJECT IDENTIFIER ::= { id-publicKeyType 1 }
|
|
27
|
+
*/
|
|
28
|
+
#define DER_OID_V_id_ecPublicKey DER_P_OBJECT, 7, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x02, 0x01
|
|
29
|
+
#define DER_OID_SZ_id_ecPublicKey 9
|
|
30
|
+
extern const unsigned char ossl_der_oid_id_ecPublicKey[DER_OID_SZ_id_ecPublicKey];
|
|
31
|
+
|
|
32
|
+
/*
|
|
33
|
+
* c2pnb163v1 OBJECT IDENTIFIER ::= { c-TwoCurve 1 }
|
|
34
|
+
*/
|
|
35
|
+
#define DER_OID_V_c2pnb163v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x01
|
|
36
|
+
#define DER_OID_SZ_c2pnb163v1 10
|
|
37
|
+
extern const unsigned char ossl_der_oid_c2pnb163v1[DER_OID_SZ_c2pnb163v1];
|
|
38
|
+
|
|
39
|
+
/*
|
|
40
|
+
* c2pnb163v2 OBJECT IDENTIFIER ::= { c-TwoCurve 2 }
|
|
41
|
+
*/
|
|
42
|
+
#define DER_OID_V_c2pnb163v2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x02
|
|
43
|
+
#define DER_OID_SZ_c2pnb163v2 10
|
|
44
|
+
extern const unsigned char ossl_der_oid_c2pnb163v2[DER_OID_SZ_c2pnb163v2];
|
|
45
|
+
|
|
46
|
+
/*
|
|
47
|
+
* c2pnb163v3 OBJECT IDENTIFIER ::= { c-TwoCurve 3 }
|
|
48
|
+
*/
|
|
49
|
+
#define DER_OID_V_c2pnb163v3 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x03
|
|
50
|
+
#define DER_OID_SZ_c2pnb163v3 10
|
|
51
|
+
extern const unsigned char ossl_der_oid_c2pnb163v3[DER_OID_SZ_c2pnb163v3];
|
|
52
|
+
|
|
53
|
+
/*
|
|
54
|
+
* c2pnb176w1 OBJECT IDENTIFIER ::= { c-TwoCurve 4 }
|
|
55
|
+
*/
|
|
56
|
+
#define DER_OID_V_c2pnb176w1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x04
|
|
57
|
+
#define DER_OID_SZ_c2pnb176w1 10
|
|
58
|
+
extern const unsigned char ossl_der_oid_c2pnb176w1[DER_OID_SZ_c2pnb176w1];
|
|
59
|
+
|
|
60
|
+
/*
|
|
61
|
+
* c2tnb191v1 OBJECT IDENTIFIER ::= { c-TwoCurve 5 }
|
|
62
|
+
*/
|
|
63
|
+
#define DER_OID_V_c2tnb191v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x05
|
|
64
|
+
#define DER_OID_SZ_c2tnb191v1 10
|
|
65
|
+
extern const unsigned char ossl_der_oid_c2tnb191v1[DER_OID_SZ_c2tnb191v1];
|
|
66
|
+
|
|
67
|
+
/*
|
|
68
|
+
* c2tnb191v2 OBJECT IDENTIFIER ::= { c-TwoCurve 6 }
|
|
69
|
+
*/
|
|
70
|
+
#define DER_OID_V_c2tnb191v2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x06
|
|
71
|
+
#define DER_OID_SZ_c2tnb191v2 10
|
|
72
|
+
extern const unsigned char ossl_der_oid_c2tnb191v2[DER_OID_SZ_c2tnb191v2];
|
|
73
|
+
|
|
74
|
+
/*
|
|
75
|
+
* c2tnb191v3 OBJECT IDENTIFIER ::= { c-TwoCurve 7 }
|
|
76
|
+
*/
|
|
77
|
+
#define DER_OID_V_c2tnb191v3 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x07
|
|
78
|
+
#define DER_OID_SZ_c2tnb191v3 10
|
|
79
|
+
extern const unsigned char ossl_der_oid_c2tnb191v3[DER_OID_SZ_c2tnb191v3];
|
|
80
|
+
|
|
81
|
+
/*
|
|
82
|
+
* c2onb191v4 OBJECT IDENTIFIER ::= { c-TwoCurve 8 }
|
|
83
|
+
*/
|
|
84
|
+
#define DER_OID_V_c2onb191v4 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x08
|
|
85
|
+
#define DER_OID_SZ_c2onb191v4 10
|
|
86
|
+
extern const unsigned char ossl_der_oid_c2onb191v4[DER_OID_SZ_c2onb191v4];
|
|
87
|
+
|
|
88
|
+
/*
|
|
89
|
+
* c2onb191v5 OBJECT IDENTIFIER ::= { c-TwoCurve 9 }
|
|
90
|
+
*/
|
|
91
|
+
#define DER_OID_V_c2onb191v5 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x09
|
|
92
|
+
#define DER_OID_SZ_c2onb191v5 10
|
|
93
|
+
extern const unsigned char ossl_der_oid_c2onb191v5[DER_OID_SZ_c2onb191v5];
|
|
94
|
+
|
|
95
|
+
/*
|
|
96
|
+
* c2pnb208w1 OBJECT IDENTIFIER ::= { c-TwoCurve 10 }
|
|
97
|
+
*/
|
|
98
|
+
#define DER_OID_V_c2pnb208w1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x0A
|
|
99
|
+
#define DER_OID_SZ_c2pnb208w1 10
|
|
100
|
+
extern const unsigned char ossl_der_oid_c2pnb208w1[DER_OID_SZ_c2pnb208w1];
|
|
101
|
+
|
|
102
|
+
/*
|
|
103
|
+
* c2tnb239v1 OBJECT IDENTIFIER ::= { c-TwoCurve 11 }
|
|
104
|
+
*/
|
|
105
|
+
#define DER_OID_V_c2tnb239v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x0B
|
|
106
|
+
#define DER_OID_SZ_c2tnb239v1 10
|
|
107
|
+
extern const unsigned char ossl_der_oid_c2tnb239v1[DER_OID_SZ_c2tnb239v1];
|
|
108
|
+
|
|
109
|
+
/*
|
|
110
|
+
* c2tnb239v2 OBJECT IDENTIFIER ::= { c-TwoCurve 12 }
|
|
111
|
+
*/
|
|
112
|
+
#define DER_OID_V_c2tnb239v2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x0C
|
|
113
|
+
#define DER_OID_SZ_c2tnb239v2 10
|
|
114
|
+
extern const unsigned char ossl_der_oid_c2tnb239v2[DER_OID_SZ_c2tnb239v2];
|
|
115
|
+
|
|
116
|
+
/*
|
|
117
|
+
* c2tnb239v3 OBJECT IDENTIFIER ::= { c-TwoCurve 13 }
|
|
118
|
+
*/
|
|
119
|
+
#define DER_OID_V_c2tnb239v3 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x0D
|
|
120
|
+
#define DER_OID_SZ_c2tnb239v3 10
|
|
121
|
+
extern const unsigned char ossl_der_oid_c2tnb239v3[DER_OID_SZ_c2tnb239v3];
|
|
122
|
+
|
|
123
|
+
/*
|
|
124
|
+
* c2onb239v4 OBJECT IDENTIFIER ::= { c-TwoCurve 14 }
|
|
125
|
+
*/
|
|
126
|
+
#define DER_OID_V_c2onb239v4 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x0E
|
|
127
|
+
#define DER_OID_SZ_c2onb239v4 10
|
|
128
|
+
extern const unsigned char ossl_der_oid_c2onb239v4[DER_OID_SZ_c2onb239v4];
|
|
129
|
+
|
|
130
|
+
/*
|
|
131
|
+
* c2onb239v5 OBJECT IDENTIFIER ::= { c-TwoCurve 15 }
|
|
132
|
+
*/
|
|
133
|
+
#define DER_OID_V_c2onb239v5 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x0F
|
|
134
|
+
#define DER_OID_SZ_c2onb239v5 10
|
|
135
|
+
extern const unsigned char ossl_der_oid_c2onb239v5[DER_OID_SZ_c2onb239v5];
|
|
136
|
+
|
|
137
|
+
/*
|
|
138
|
+
* c2pnb272w1 OBJECT IDENTIFIER ::= { c-TwoCurve 16 }
|
|
139
|
+
*/
|
|
140
|
+
#define DER_OID_V_c2pnb272w1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x10
|
|
141
|
+
#define DER_OID_SZ_c2pnb272w1 10
|
|
142
|
+
extern const unsigned char ossl_der_oid_c2pnb272w1[DER_OID_SZ_c2pnb272w1];
|
|
143
|
+
|
|
144
|
+
/*
|
|
145
|
+
* c2pnb304w1 OBJECT IDENTIFIER ::= { c-TwoCurve 17 }
|
|
146
|
+
*/
|
|
147
|
+
#define DER_OID_V_c2pnb304w1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x11
|
|
148
|
+
#define DER_OID_SZ_c2pnb304w1 10
|
|
149
|
+
extern const unsigned char ossl_der_oid_c2pnb304w1[DER_OID_SZ_c2pnb304w1];
|
|
150
|
+
|
|
151
|
+
/*
|
|
152
|
+
* c2tnb359v1 OBJECT IDENTIFIER ::= { c-TwoCurve 18 }
|
|
153
|
+
*/
|
|
154
|
+
#define DER_OID_V_c2tnb359v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x12
|
|
155
|
+
#define DER_OID_SZ_c2tnb359v1 10
|
|
156
|
+
extern const unsigned char ossl_der_oid_c2tnb359v1[DER_OID_SZ_c2tnb359v1];
|
|
157
|
+
|
|
158
|
+
/*
|
|
159
|
+
* c2pnb368w1 OBJECT IDENTIFIER ::= { c-TwoCurve 19 }
|
|
160
|
+
*/
|
|
161
|
+
#define DER_OID_V_c2pnb368w1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x13
|
|
162
|
+
#define DER_OID_SZ_c2pnb368w1 10
|
|
163
|
+
extern const unsigned char ossl_der_oid_c2pnb368w1[DER_OID_SZ_c2pnb368w1];
|
|
164
|
+
|
|
165
|
+
/*
|
|
166
|
+
* c2tnb431r1 OBJECT IDENTIFIER ::= { c-TwoCurve 20 }
|
|
167
|
+
*/
|
|
168
|
+
#define DER_OID_V_c2tnb431r1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x14
|
|
169
|
+
#define DER_OID_SZ_c2tnb431r1 10
|
|
170
|
+
extern const unsigned char ossl_der_oid_c2tnb431r1[DER_OID_SZ_c2tnb431r1];
|
|
171
|
+
|
|
172
|
+
/*
|
|
173
|
+
* prime192v1 OBJECT IDENTIFIER ::= { primeCurve 1 }
|
|
174
|
+
*/
|
|
175
|
+
#define DER_OID_V_prime192v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x01
|
|
176
|
+
#define DER_OID_SZ_prime192v1 10
|
|
177
|
+
extern const unsigned char ossl_der_oid_prime192v1[DER_OID_SZ_prime192v1];
|
|
178
|
+
|
|
179
|
+
/*
|
|
180
|
+
* prime192v2 OBJECT IDENTIFIER ::= { primeCurve 2 }
|
|
181
|
+
*/
|
|
182
|
+
#define DER_OID_V_prime192v2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x02
|
|
183
|
+
#define DER_OID_SZ_prime192v2 10
|
|
184
|
+
extern const unsigned char ossl_der_oid_prime192v2[DER_OID_SZ_prime192v2];
|
|
185
|
+
|
|
186
|
+
/*
|
|
187
|
+
* prime192v3 OBJECT IDENTIFIER ::= { primeCurve 3 }
|
|
188
|
+
*/
|
|
189
|
+
#define DER_OID_V_prime192v3 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x03
|
|
190
|
+
#define DER_OID_SZ_prime192v3 10
|
|
191
|
+
extern const unsigned char ossl_der_oid_prime192v3[DER_OID_SZ_prime192v3];
|
|
192
|
+
|
|
193
|
+
/*
|
|
194
|
+
* prime239v1 OBJECT IDENTIFIER ::= { primeCurve 4 }
|
|
195
|
+
*/
|
|
196
|
+
#define DER_OID_V_prime239v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x04
|
|
197
|
+
#define DER_OID_SZ_prime239v1 10
|
|
198
|
+
extern const unsigned char ossl_der_oid_prime239v1[DER_OID_SZ_prime239v1];
|
|
199
|
+
|
|
200
|
+
/*
|
|
201
|
+
* prime239v2 OBJECT IDENTIFIER ::= { primeCurve 5 }
|
|
202
|
+
*/
|
|
203
|
+
#define DER_OID_V_prime239v2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x05
|
|
204
|
+
#define DER_OID_SZ_prime239v2 10
|
|
205
|
+
extern const unsigned char ossl_der_oid_prime239v2[DER_OID_SZ_prime239v2];
|
|
206
|
+
|
|
207
|
+
/*
|
|
208
|
+
* prime239v3 OBJECT IDENTIFIER ::= { primeCurve 6 }
|
|
209
|
+
*/
|
|
210
|
+
#define DER_OID_V_prime239v3 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x06
|
|
211
|
+
#define DER_OID_SZ_prime239v3 10
|
|
212
|
+
extern const unsigned char ossl_der_oid_prime239v3[DER_OID_SZ_prime239v3];
|
|
213
|
+
|
|
214
|
+
/*
|
|
215
|
+
* prime256v1 OBJECT IDENTIFIER ::= { primeCurve 7 }
|
|
216
|
+
*/
|
|
217
|
+
#define DER_OID_V_prime256v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x07
|
|
218
|
+
#define DER_OID_SZ_prime256v1 10
|
|
219
|
+
extern const unsigned char ossl_der_oid_prime256v1[DER_OID_SZ_prime256v1];
|
|
220
|
+
|
|
221
|
+
/*
|
|
222
|
+
* ecdsa-with-SHA224 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
|
|
223
|
+
* us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 1 }
|
|
224
|
+
*/
|
|
225
|
+
#define DER_OID_V_ecdsa_with_SHA224 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x04, 0x03, 0x01
|
|
226
|
+
#define DER_OID_SZ_ecdsa_with_SHA224 10
|
|
227
|
+
extern const unsigned char ossl_der_oid_ecdsa_with_SHA224[DER_OID_SZ_ecdsa_with_SHA224];
|
|
228
|
+
|
|
229
|
+
/*
|
|
230
|
+
* ecdsa-with-SHA256 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
|
|
231
|
+
* us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 2 }
|
|
232
|
+
*/
|
|
233
|
+
#define DER_OID_V_ecdsa_with_SHA256 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x04, 0x03, 0x02
|
|
234
|
+
#define DER_OID_SZ_ecdsa_with_SHA256 10
|
|
235
|
+
extern const unsigned char ossl_der_oid_ecdsa_with_SHA256[DER_OID_SZ_ecdsa_with_SHA256];
|
|
236
|
+
|
|
237
|
+
/*
|
|
238
|
+
* ecdsa-with-SHA384 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
|
|
239
|
+
* us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 3 }
|
|
240
|
+
*/
|
|
241
|
+
#define DER_OID_V_ecdsa_with_SHA384 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x04, 0x03, 0x03
|
|
242
|
+
#define DER_OID_SZ_ecdsa_with_SHA384 10
|
|
243
|
+
extern const unsigned char ossl_der_oid_ecdsa_with_SHA384[DER_OID_SZ_ecdsa_with_SHA384];
|
|
244
|
+
|
|
245
|
+
/*
|
|
246
|
+
* ecdsa-with-SHA512 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
|
|
247
|
+
* us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 4 }
|
|
248
|
+
*/
|
|
249
|
+
#define DER_OID_V_ecdsa_with_SHA512 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x04, 0x03, 0x04
|
|
250
|
+
#define DER_OID_SZ_ecdsa_with_SHA512 10
|
|
251
|
+
extern const unsigned char ossl_der_oid_ecdsa_with_SHA512[DER_OID_SZ_ecdsa_with_SHA512];
|
|
252
|
+
|
|
253
|
+
/*
|
|
254
|
+
* id-ecdsa-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 9 }
|
|
255
|
+
*/
|
|
256
|
+
#define DER_OID_V_id_ecdsa_with_sha3_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x09
|
|
257
|
+
#define DER_OID_SZ_id_ecdsa_with_sha3_224 11
|
|
258
|
+
extern const unsigned char ossl_der_oid_id_ecdsa_with_sha3_224[DER_OID_SZ_id_ecdsa_with_sha3_224];
|
|
259
|
+
|
|
260
|
+
/*
|
|
261
|
+
* id-ecdsa-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 10 }
|
|
262
|
+
*/
|
|
263
|
+
#define DER_OID_V_id_ecdsa_with_sha3_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x0A
|
|
264
|
+
#define DER_OID_SZ_id_ecdsa_with_sha3_256 11
|
|
265
|
+
extern const unsigned char ossl_der_oid_id_ecdsa_with_sha3_256[DER_OID_SZ_id_ecdsa_with_sha3_256];
|
|
266
|
+
|
|
267
|
+
/*
|
|
268
|
+
* id-ecdsa-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 11 }
|
|
269
|
+
*/
|
|
270
|
+
#define DER_OID_V_id_ecdsa_with_sha3_384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x0B
|
|
271
|
+
#define DER_OID_SZ_id_ecdsa_with_sha3_384 11
|
|
272
|
+
extern const unsigned char ossl_der_oid_id_ecdsa_with_sha3_384[DER_OID_SZ_id_ecdsa_with_sha3_384];
|
|
273
|
+
|
|
274
|
+
/*
|
|
275
|
+
* id-ecdsa-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 12 }
|
|
276
|
+
*/
|
|
277
|
+
#define DER_OID_V_id_ecdsa_with_sha3_512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x0C
|
|
278
|
+
#define DER_OID_SZ_id_ecdsa_with_sha3_512 11
|
|
279
|
+
extern const unsigned char ossl_der_oid_id_ecdsa_with_sha3_512[DER_OID_SZ_id_ecdsa_with_sha3_512];
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
/* Subject Public Key Info */
|
|
283
|
+
int ossl_DER_w_algorithmIdentifier_EC(WPACKET *pkt, int cont, EC_KEY *ec);
|
|
284
|
+
/* Signature */
|
|
285
|
+
int ossl_DER_w_algorithmIdentifier_ECDSA_with_MD(WPACKET *pkt, int cont,
|
|
286
|
+
EC_KEY *ec, int mdnid);
|