Path: blob/main/crypto/openssl/providers/common/include/prov/der_digests.h
48535 views
/*1* WARNING: do not edit!2* Generated by Makefile from providers/common/include/prov/der_digests.h.in3*4* Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.5*6* Licensed under the Apache License 2.0 (the "License"). You may not use7* this file except in compliance with the License. You can obtain a copy8* in the file LICENSE in the source distribution or at9* https://www.openssl.org/source/license.html10*/1112#include "internal/der.h"1314/* Well known OIDs precompiled */1516/*17* sigAlgs OBJECT IDENTIFIER ::= { nistAlgorithms 3 }18*/19#define DER_OID_V_sigAlgs DER_P_OBJECT, 8, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x0320#define DER_OID_SZ_sigAlgs 1021extern const unsigned char ossl_der_oid_sigAlgs[DER_OID_SZ_sigAlgs];2223/*24* id-sha1 OBJECT IDENTIFIER ::= { iso(1)25* identified-organization(3) oiw(14)26* secsig(3) algorithms(2) 26 }27*/28#define DER_OID_V_id_sha1 DER_P_OBJECT, 5, 0x2B, 0x0E, 0x03, 0x02, 0x1A29#define DER_OID_SZ_id_sha1 730extern const unsigned char ossl_der_oid_id_sha1[DER_OID_SZ_id_sha1];3132/*33* id-md2 OBJECT IDENTIFIER ::= {34* iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 2 }35*/36#define DER_OID_V_id_md2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x0237#define DER_OID_SZ_id_md2 1038extern const unsigned char ossl_der_oid_id_md2[DER_OID_SZ_id_md2];3940/*41* id-md5 OBJECT IDENTIFIER ::= {42* iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 5 }43*/44#define DER_OID_V_id_md5 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x0545#define DER_OID_SZ_id_md5 1046extern const unsigned char ossl_der_oid_id_md5[DER_OID_SZ_id_md5];4748/*49* id-sha256 OBJECT IDENTIFIER ::= { hashAlgs 1 }50*/51#define DER_OID_V_id_sha256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0152#define DER_OID_SZ_id_sha256 1153extern const unsigned char ossl_der_oid_id_sha256[DER_OID_SZ_id_sha256];5455/*56* id-sha384 OBJECT IDENTIFIER ::= { hashAlgs 2 }57*/58#define DER_OID_V_id_sha384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0259#define DER_OID_SZ_id_sha384 1160extern const unsigned char ossl_der_oid_id_sha384[DER_OID_SZ_id_sha384];6162/*63* id-sha512 OBJECT IDENTIFIER ::= { hashAlgs 3 }64*/65#define DER_OID_V_id_sha512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0366#define DER_OID_SZ_id_sha512 1167extern const unsigned char ossl_der_oid_id_sha512[DER_OID_SZ_id_sha512];6869/*70* id-sha224 OBJECT IDENTIFIER ::= { hashAlgs 4 }71*/72#define DER_OID_V_id_sha224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0473#define DER_OID_SZ_id_sha224 1174extern const unsigned char ossl_der_oid_id_sha224[DER_OID_SZ_id_sha224];7576/*77* id-sha512-224 OBJECT IDENTIFIER ::= { hashAlgs 5 }78*/79#define DER_OID_V_id_sha512_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0580#define DER_OID_SZ_id_sha512_224 1181extern const unsigned char ossl_der_oid_id_sha512_224[DER_OID_SZ_id_sha512_224];8283/*84* id-sha512-256 OBJECT IDENTIFIER ::= { hashAlgs 6 }85*/86#define DER_OID_V_id_sha512_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0687#define DER_OID_SZ_id_sha512_256 1188extern const unsigned char ossl_der_oid_id_sha512_256[DER_OID_SZ_id_sha512_256];8990/*91* id-sha3-224 OBJECT IDENTIFIER ::= { hashAlgs 7 }92*/93#define DER_OID_V_id_sha3_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0794#define DER_OID_SZ_id_sha3_224 1195extern const unsigned char ossl_der_oid_id_sha3_224[DER_OID_SZ_id_sha3_224];9697/*98* id-sha3-256 OBJECT IDENTIFIER ::= { hashAlgs 8 }99*/100#define DER_OID_V_id_sha3_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x08101#define DER_OID_SZ_id_sha3_256 11102extern const unsigned char ossl_der_oid_id_sha3_256[DER_OID_SZ_id_sha3_256];103104/*105* id-sha3-384 OBJECT IDENTIFIER ::= { hashAlgs 9 }106*/107#define DER_OID_V_id_sha3_384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x09108#define DER_OID_SZ_id_sha3_384 11109extern const unsigned char ossl_der_oid_id_sha3_384[DER_OID_SZ_id_sha3_384];110111/*112* id-sha3-512 OBJECT IDENTIFIER ::= { hashAlgs 10 }113*/114#define DER_OID_V_id_sha3_512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0A115#define DER_OID_SZ_id_sha3_512 11116extern const unsigned char ossl_der_oid_id_sha3_512[DER_OID_SZ_id_sha3_512];117118/*119* id-shake128 OBJECT IDENTIFIER ::= { hashAlgs 11 }120*/121#define DER_OID_V_id_shake128 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0B122#define DER_OID_SZ_id_shake128 11123extern const unsigned char ossl_der_oid_id_shake128[DER_OID_SZ_id_shake128];124125/*126* id-shake256 OBJECT IDENTIFIER ::= { hashAlgs 12 }127*/128#define DER_OID_V_id_shake256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0C129#define DER_OID_SZ_id_shake256 11130extern const unsigned char ossl_der_oid_id_shake256[DER_OID_SZ_id_shake256];131132/*133* id-shake128-len OBJECT IDENTIFIER ::= { hashAlgs 17 }134*/135#define DER_OID_V_id_shake128_len DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x11136#define DER_OID_SZ_id_shake128_len 11137extern const unsigned char ossl_der_oid_id_shake128_len[DER_OID_SZ_id_shake128_len];138139/*140* id-shake256-len OBJECT IDENTIFIER ::= { hashAlgs 18 }141*/142#define DER_OID_V_id_shake256_len DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x12143#define DER_OID_SZ_id_shake256_len 11144extern const unsigned char ossl_der_oid_id_shake256_len[DER_OID_SZ_id_shake256_len];145146/*147* id-KMACWithSHAKE128 OBJECT IDENTIFIER ::={hashAlgs 19}148*/149#define DER_OID_V_id_KMACWithSHAKE128 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x13150#define DER_OID_SZ_id_KMACWithSHAKE128 11151extern const unsigned char ossl_der_oid_id_KMACWithSHAKE128[DER_OID_SZ_id_KMACWithSHAKE128];152153/*154* id-KMACWithSHAKE256 OBJECT IDENTIFIER ::={ hashAlgs 20}155*/156#define DER_OID_V_id_KMACWithSHAKE256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x14157#define DER_OID_SZ_id_KMACWithSHAKE256 11158extern const unsigned char ossl_der_oid_id_KMACWithSHAKE256[DER_OID_SZ_id_KMACWithSHAKE256];159160161162