1*b077aed3SPierre Pronchery /* 2*b077aed3SPierre Pronchery * WARNING: do not edit! 3*b077aed3SPierre Pronchery * Generated by Makefile from providers/common/include/prov/der_digests.h.in 4*b077aed3SPierre Pronchery * 5*b077aed3SPierre Pronchery * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved. 6*b077aed3SPierre Pronchery * 7*b077aed3SPierre Pronchery * Licensed under the Apache License 2.0 (the "License"). You may not use 8*b077aed3SPierre Pronchery * this file except in compliance with the License. You can obtain a copy 9*b077aed3SPierre Pronchery * in the file LICENSE in the source distribution or at 10*b077aed3SPierre Pronchery * https://www.openssl.org/source/license.html 11*b077aed3SPierre Pronchery */ 12*b077aed3SPierre Pronchery 13*b077aed3SPierre Pronchery #include "internal/der.h" 14*b077aed3SPierre Pronchery 15*b077aed3SPierre Pronchery /* Well known OIDs precompiled */ 16*b077aed3SPierre Pronchery 17*b077aed3SPierre Pronchery /* 18*b077aed3SPierre Pronchery * sigAlgs OBJECT IDENTIFIER ::= { nistAlgorithms 3 } 19*b077aed3SPierre Pronchery */ 20*b077aed3SPierre Pronchery #define DER_OID_V_sigAlgs DER_P_OBJECT, 8, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03 21*b077aed3SPierre Pronchery #define DER_OID_SZ_sigAlgs 10 22*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_sigAlgs[DER_OID_SZ_sigAlgs]; 23*b077aed3SPierre Pronchery 24*b077aed3SPierre Pronchery /* 25*b077aed3SPierre Pronchery * id-sha1 OBJECT IDENTIFIER ::= { iso(1) 26*b077aed3SPierre Pronchery * identified-organization(3) oiw(14) 27*b077aed3SPierre Pronchery * secsig(3) algorithms(2) 26 } 28*b077aed3SPierre Pronchery */ 29*b077aed3SPierre Pronchery #define DER_OID_V_id_sha1 DER_P_OBJECT, 5, 0x2B, 0x0E, 0x03, 0x02, 0x1A 30*b077aed3SPierre Pronchery #define DER_OID_SZ_id_sha1 7 31*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_sha1[DER_OID_SZ_id_sha1]; 32*b077aed3SPierre Pronchery 33*b077aed3SPierre Pronchery /* 34*b077aed3SPierre Pronchery * id-md2 OBJECT IDENTIFIER ::= { 35*b077aed3SPierre Pronchery * iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 2 } 36*b077aed3SPierre Pronchery */ 37*b077aed3SPierre Pronchery #define DER_OID_V_id_md2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x02 38*b077aed3SPierre Pronchery #define DER_OID_SZ_id_md2 10 39*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_md2[DER_OID_SZ_id_md2]; 40*b077aed3SPierre Pronchery 41*b077aed3SPierre Pronchery /* 42*b077aed3SPierre Pronchery * id-md5 OBJECT IDENTIFIER ::= { 43*b077aed3SPierre Pronchery * iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 5 } 44*b077aed3SPierre Pronchery */ 45*b077aed3SPierre Pronchery #define DER_OID_V_id_md5 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x05 46*b077aed3SPierre Pronchery #define DER_OID_SZ_id_md5 10 47*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_md5[DER_OID_SZ_id_md5]; 48*b077aed3SPierre Pronchery 49*b077aed3SPierre Pronchery /* 50*b077aed3SPierre Pronchery * id-sha256 OBJECT IDENTIFIER ::= { hashAlgs 1 } 51*b077aed3SPierre Pronchery */ 52*b077aed3SPierre Pronchery #define DER_OID_V_id_sha256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01 53*b077aed3SPierre Pronchery #define DER_OID_SZ_id_sha256 11 54*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_sha256[DER_OID_SZ_id_sha256]; 55*b077aed3SPierre Pronchery 56*b077aed3SPierre Pronchery /* 57*b077aed3SPierre Pronchery * id-sha384 OBJECT IDENTIFIER ::= { hashAlgs 2 } 58*b077aed3SPierre Pronchery */ 59*b077aed3SPierre Pronchery #define DER_OID_V_id_sha384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x02 60*b077aed3SPierre Pronchery #define DER_OID_SZ_id_sha384 11 61*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_sha384[DER_OID_SZ_id_sha384]; 62*b077aed3SPierre Pronchery 63*b077aed3SPierre Pronchery /* 64*b077aed3SPierre Pronchery * id-sha512 OBJECT IDENTIFIER ::= { hashAlgs 3 } 65*b077aed3SPierre Pronchery */ 66*b077aed3SPierre Pronchery #define DER_OID_V_id_sha512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x03 67*b077aed3SPierre Pronchery #define DER_OID_SZ_id_sha512 11 68*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_sha512[DER_OID_SZ_id_sha512]; 69*b077aed3SPierre Pronchery 70*b077aed3SPierre Pronchery /* 71*b077aed3SPierre Pronchery * id-sha224 OBJECT IDENTIFIER ::= { hashAlgs 4 } 72*b077aed3SPierre Pronchery */ 73*b077aed3SPierre Pronchery #define DER_OID_V_id_sha224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x04 74*b077aed3SPierre Pronchery #define DER_OID_SZ_id_sha224 11 75*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_sha224[DER_OID_SZ_id_sha224]; 76*b077aed3SPierre Pronchery 77*b077aed3SPierre Pronchery /* 78*b077aed3SPierre Pronchery * id-sha512-224 OBJECT IDENTIFIER ::= { hashAlgs 5 } 79*b077aed3SPierre Pronchery */ 80*b077aed3SPierre Pronchery #define DER_OID_V_id_sha512_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x05 81*b077aed3SPierre Pronchery #define DER_OID_SZ_id_sha512_224 11 82*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_sha512_224[DER_OID_SZ_id_sha512_224]; 83*b077aed3SPierre Pronchery 84*b077aed3SPierre Pronchery /* 85*b077aed3SPierre Pronchery * id-sha512-256 OBJECT IDENTIFIER ::= { hashAlgs 6 } 86*b077aed3SPierre Pronchery */ 87*b077aed3SPierre Pronchery #define DER_OID_V_id_sha512_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x06 88*b077aed3SPierre Pronchery #define DER_OID_SZ_id_sha512_256 11 89*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_sha512_256[DER_OID_SZ_id_sha512_256]; 90*b077aed3SPierre Pronchery 91*b077aed3SPierre Pronchery /* 92*b077aed3SPierre Pronchery * id-sha3-224 OBJECT IDENTIFIER ::= { hashAlgs 7 } 93*b077aed3SPierre Pronchery */ 94*b077aed3SPierre Pronchery #define DER_OID_V_id_sha3_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x07 95*b077aed3SPierre Pronchery #define DER_OID_SZ_id_sha3_224 11 96*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_sha3_224[DER_OID_SZ_id_sha3_224]; 97*b077aed3SPierre Pronchery 98*b077aed3SPierre Pronchery /* 99*b077aed3SPierre Pronchery * id-sha3-256 OBJECT IDENTIFIER ::= { hashAlgs 8 } 100*b077aed3SPierre Pronchery */ 101*b077aed3SPierre Pronchery #define DER_OID_V_id_sha3_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x08 102*b077aed3SPierre Pronchery #define DER_OID_SZ_id_sha3_256 11 103*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_sha3_256[DER_OID_SZ_id_sha3_256]; 104*b077aed3SPierre Pronchery 105*b077aed3SPierre Pronchery /* 106*b077aed3SPierre Pronchery * id-sha3-384 OBJECT IDENTIFIER ::= { hashAlgs 9 } 107*b077aed3SPierre Pronchery */ 108*b077aed3SPierre Pronchery #define DER_OID_V_id_sha3_384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x09 109*b077aed3SPierre Pronchery #define DER_OID_SZ_id_sha3_384 11 110*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_sha3_384[DER_OID_SZ_id_sha3_384]; 111*b077aed3SPierre Pronchery 112*b077aed3SPierre Pronchery /* 113*b077aed3SPierre Pronchery * id-sha3-512 OBJECT IDENTIFIER ::= { hashAlgs 10 } 114*b077aed3SPierre Pronchery */ 115*b077aed3SPierre Pronchery #define DER_OID_V_id_sha3_512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0A 116*b077aed3SPierre Pronchery #define DER_OID_SZ_id_sha3_512 11 117*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_sha3_512[DER_OID_SZ_id_sha3_512]; 118*b077aed3SPierre Pronchery 119*b077aed3SPierre Pronchery /* 120*b077aed3SPierre Pronchery * id-shake128 OBJECT IDENTIFIER ::= { hashAlgs 11 } 121*b077aed3SPierre Pronchery */ 122*b077aed3SPierre Pronchery #define DER_OID_V_id_shake128 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0B 123*b077aed3SPierre Pronchery #define DER_OID_SZ_id_shake128 11 124*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_shake128[DER_OID_SZ_id_shake128]; 125*b077aed3SPierre Pronchery 126*b077aed3SPierre Pronchery /* 127*b077aed3SPierre Pronchery * id-shake256 OBJECT IDENTIFIER ::= { hashAlgs 12 } 128*b077aed3SPierre Pronchery */ 129*b077aed3SPierre Pronchery #define DER_OID_V_id_shake256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0C 130*b077aed3SPierre Pronchery #define DER_OID_SZ_id_shake256 11 131*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_shake256[DER_OID_SZ_id_shake256]; 132*b077aed3SPierre Pronchery 133*b077aed3SPierre Pronchery /* 134*b077aed3SPierre Pronchery * id-shake128-len OBJECT IDENTIFIER ::= { hashAlgs 17 } 135*b077aed3SPierre Pronchery */ 136*b077aed3SPierre Pronchery #define DER_OID_V_id_shake128_len DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x11 137*b077aed3SPierre Pronchery #define DER_OID_SZ_id_shake128_len 11 138*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_shake128_len[DER_OID_SZ_id_shake128_len]; 139*b077aed3SPierre Pronchery 140*b077aed3SPierre Pronchery /* 141*b077aed3SPierre Pronchery * id-shake256-len OBJECT IDENTIFIER ::= { hashAlgs 18 } 142*b077aed3SPierre Pronchery */ 143*b077aed3SPierre Pronchery #define DER_OID_V_id_shake256_len DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x12 144*b077aed3SPierre Pronchery #define DER_OID_SZ_id_shake256_len 11 145*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_shake256_len[DER_OID_SZ_id_shake256_len]; 146*b077aed3SPierre Pronchery 147*b077aed3SPierre Pronchery /* 148*b077aed3SPierre Pronchery * id-KMACWithSHAKE128 OBJECT IDENTIFIER ::={hashAlgs 19} 149*b077aed3SPierre Pronchery */ 150*b077aed3SPierre Pronchery #define DER_OID_V_id_KMACWithSHAKE128 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x13 151*b077aed3SPierre Pronchery #define DER_OID_SZ_id_KMACWithSHAKE128 11 152*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_KMACWithSHAKE128[DER_OID_SZ_id_KMACWithSHAKE128]; 153*b077aed3SPierre Pronchery 154*b077aed3SPierre Pronchery /* 155*b077aed3SPierre Pronchery * id-KMACWithSHAKE256 OBJECT IDENTIFIER ::={ hashAlgs 20} 156*b077aed3SPierre Pronchery */ 157*b077aed3SPierre Pronchery #define DER_OID_V_id_KMACWithSHAKE256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x14 158*b077aed3SPierre Pronchery #define DER_OID_SZ_id_KMACWithSHAKE256 11 159*b077aed3SPierre Pronchery extern const unsigned char ossl_der_oid_id_KMACWithSHAKE256[DER_OID_SZ_id_KMACWithSHAKE256]; 160*b077aed3SPierre Pronchery 161