Path: blob/main/crypto/openssl/providers/common/der/der_digests_gen.c
108103 views
/*1* WARNING: do not edit!2* Generated by Makefile from providers/common/der/der_digests_gen.c.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 "prov/der_digests.h"1314/* Well known OIDs precompiled */15/* clang-format off */1617/*18* sigAlgs OBJECT IDENTIFIER ::= { nistAlgorithms 3 }19*/20const unsigned char ossl_der_oid_sigAlgs[DER_OID_SZ_sigAlgs] = {21DER_OID_V_sigAlgs22};2324/*25* id-sha1 OBJECT IDENTIFIER ::= { iso(1)26* identified-organization(3) oiw(14)27* secsig(3) algorithms(2) 26 }28*/29const unsigned char ossl_der_oid_id_sha1[DER_OID_SZ_id_sha1] = {30DER_OID_V_id_sha131};3233/*34* id-md2 OBJECT IDENTIFIER ::= {35* iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 2 }36*/37const unsigned char ossl_der_oid_id_md2[DER_OID_SZ_id_md2] = {38DER_OID_V_id_md239};4041/*42* id-md5 OBJECT IDENTIFIER ::= {43* iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 5 }44*/45const unsigned char ossl_der_oid_id_md5[DER_OID_SZ_id_md5] = {46DER_OID_V_id_md547};4849/*50* id-sha256 OBJECT IDENTIFIER ::= { hashAlgs 1 }51*/52const unsigned char ossl_der_oid_id_sha256[DER_OID_SZ_id_sha256] = {53DER_OID_V_id_sha25654};5556/*57* id-sha384 OBJECT IDENTIFIER ::= { hashAlgs 2 }58*/59const unsigned char ossl_der_oid_id_sha384[DER_OID_SZ_id_sha384] = {60DER_OID_V_id_sha38461};6263/*64* id-sha512 OBJECT IDENTIFIER ::= { hashAlgs 3 }65*/66const unsigned char ossl_der_oid_id_sha512[DER_OID_SZ_id_sha512] = {67DER_OID_V_id_sha51268};6970/*71* id-sha224 OBJECT IDENTIFIER ::= { hashAlgs 4 }72*/73const unsigned char ossl_der_oid_id_sha224[DER_OID_SZ_id_sha224] = {74DER_OID_V_id_sha22475};7677/*78* id-sha512-224 OBJECT IDENTIFIER ::= { hashAlgs 5 }79*/80const unsigned char ossl_der_oid_id_sha512_224[DER_OID_SZ_id_sha512_224] = {81DER_OID_V_id_sha512_22482};8384/*85* id-sha512-256 OBJECT IDENTIFIER ::= { hashAlgs 6 }86*/87const unsigned char ossl_der_oid_id_sha512_256[DER_OID_SZ_id_sha512_256] = {88DER_OID_V_id_sha512_25689};9091/*92* id-sha3-224 OBJECT IDENTIFIER ::= { hashAlgs 7 }93*/94const unsigned char ossl_der_oid_id_sha3_224[DER_OID_SZ_id_sha3_224] = {95DER_OID_V_id_sha3_22496};9798/*99* id-sha3-256 OBJECT IDENTIFIER ::= { hashAlgs 8 }100*/101const unsigned char ossl_der_oid_id_sha3_256[DER_OID_SZ_id_sha3_256] = {102DER_OID_V_id_sha3_256103};104105/*106* id-sha3-384 OBJECT IDENTIFIER ::= { hashAlgs 9 }107*/108const unsigned char ossl_der_oid_id_sha3_384[DER_OID_SZ_id_sha3_384] = {109DER_OID_V_id_sha3_384110};111112/*113* id-sha3-512 OBJECT IDENTIFIER ::= { hashAlgs 10 }114*/115const unsigned char ossl_der_oid_id_sha3_512[DER_OID_SZ_id_sha3_512] = {116DER_OID_V_id_sha3_512117};118119/*120* id-shake128 OBJECT IDENTIFIER ::= { hashAlgs 11 }121*/122const unsigned char ossl_der_oid_id_shake128[DER_OID_SZ_id_shake128] = {123DER_OID_V_id_shake128124};125126/*127* id-shake256 OBJECT IDENTIFIER ::= { hashAlgs 12 }128*/129const unsigned char ossl_der_oid_id_shake256[DER_OID_SZ_id_shake256] = {130DER_OID_V_id_shake256131};132133/*134* id-shake128-len OBJECT IDENTIFIER ::= { hashAlgs 17 }135*/136const unsigned char ossl_der_oid_id_shake128_len[DER_OID_SZ_id_shake128_len] = {137DER_OID_V_id_shake128_len138};139140/*141* id-shake256-len OBJECT IDENTIFIER ::= { hashAlgs 18 }142*/143const unsigned char ossl_der_oid_id_shake256_len[DER_OID_SZ_id_shake256_len] = {144DER_OID_V_id_shake256_len145};146147/*148* id-KMACWithSHAKE128 OBJECT IDENTIFIER ::={hashAlgs 19}149*/150const unsigned char ossl_der_oid_id_KMACWithSHAKE128[DER_OID_SZ_id_KMACWithSHAKE128] = {151DER_OID_V_id_KMACWithSHAKE128152};153154/*155* id-KMACWithSHAKE256 OBJECT IDENTIFIER ::={ hashAlgs 20}156*/157const unsigned char ossl_der_oid_id_KMACWithSHAKE256[DER_OID_SZ_id_KMACWithSHAKE256] = {158DER_OID_V_id_KMACWithSHAKE256159};160161/* clang-format on */162163164