Path: blob/main/crypto/openssl/providers/common/der/der_rsa_gen.c
108698 views
/*1* WARNING: do not edit!2* Generated by Makefile from providers/common/der/der_rsa_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_rsa.h"1314/* Well known OIDs precompiled */15/* clang-format off */1617/*18* hashAlgs OBJECT IDENTIFIER ::= { nistAlgorithms 2 }19*/20const unsigned char ossl_der_oid_hashAlgs[DER_OID_SZ_hashAlgs] = {21DER_OID_V_hashAlgs22};2324/*25* rsaEncryption OBJECT IDENTIFIER ::= { pkcs-1 1 }26*/27const unsigned char ossl_der_oid_rsaEncryption[DER_OID_SZ_rsaEncryption] = {28DER_OID_V_rsaEncryption29};3031/*32* id-RSAES-OAEP OBJECT IDENTIFIER ::= { pkcs-1 7 }33*/34const unsigned char ossl_der_oid_id_RSAES_OAEP[DER_OID_SZ_id_RSAES_OAEP] = {35DER_OID_V_id_RSAES_OAEP36};3738/*39* id-pSpecified OBJECT IDENTIFIER ::= { pkcs-1 9 }40*/41const unsigned char ossl_der_oid_id_pSpecified[DER_OID_SZ_id_pSpecified] = {42DER_OID_V_id_pSpecified43};4445/*46* id-RSASSA-PSS OBJECT IDENTIFIER ::= { pkcs-1 10 }47*/48const unsigned char ossl_der_oid_id_RSASSA_PSS[DER_OID_SZ_id_RSASSA_PSS] = {49DER_OID_V_id_RSASSA_PSS50};5152/*53* md2WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 2 }54*/55const unsigned char ossl_der_oid_md2WithRSAEncryption[DER_OID_SZ_md2WithRSAEncryption] = {56DER_OID_V_md2WithRSAEncryption57};5859/*60* md5WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 4 }61*/62const unsigned char ossl_der_oid_md5WithRSAEncryption[DER_OID_SZ_md5WithRSAEncryption] = {63DER_OID_V_md5WithRSAEncryption64};6566/*67* sha1WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 5 }68*/69const unsigned char ossl_der_oid_sha1WithRSAEncryption[DER_OID_SZ_sha1WithRSAEncryption] = {70DER_OID_V_sha1WithRSAEncryption71};7273/*74* sha224WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 14 }75*/76const unsigned char ossl_der_oid_sha224WithRSAEncryption[DER_OID_SZ_sha224WithRSAEncryption] = {77DER_OID_V_sha224WithRSAEncryption78};7980/*81* sha256WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 11 }82*/83const unsigned char ossl_der_oid_sha256WithRSAEncryption[DER_OID_SZ_sha256WithRSAEncryption] = {84DER_OID_V_sha256WithRSAEncryption85};8687/*88* sha384WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 12 }89*/90const unsigned char ossl_der_oid_sha384WithRSAEncryption[DER_OID_SZ_sha384WithRSAEncryption] = {91DER_OID_V_sha384WithRSAEncryption92};9394/*95* sha512WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 13 }96*/97const unsigned char ossl_der_oid_sha512WithRSAEncryption[DER_OID_SZ_sha512WithRSAEncryption] = {98DER_OID_V_sha512WithRSAEncryption99};100101/*102* sha512-224WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 15 }103*/104const unsigned char ossl_der_oid_sha512_224WithRSAEncryption[DER_OID_SZ_sha512_224WithRSAEncryption] = {105DER_OID_V_sha512_224WithRSAEncryption106};107108/*109* sha512-256WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 16 }110*/111const unsigned char ossl_der_oid_sha512_256WithRSAEncryption[DER_OID_SZ_sha512_256WithRSAEncryption] = {112DER_OID_V_sha512_256WithRSAEncryption113};114115/*116* id-mgf1 OBJECT IDENTIFIER ::= { pkcs-1 8 }117*/118const unsigned char ossl_der_oid_id_mgf1[DER_OID_SZ_id_mgf1] = {119DER_OID_V_id_mgf1120};121122/*123* id-rsassa-pkcs1-v1_5-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 13 }124*/125const unsigned char ossl_der_oid_id_rsassa_pkcs1_v1_5_with_sha3_224[DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_224] = {126DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_224127};128129/*130* id-rsassa-pkcs1-v1_5-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 14 }131*/132const unsigned char ossl_der_oid_id_rsassa_pkcs1_v1_5_with_sha3_256[DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_256] = {133DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_256134};135136/*137* id-rsassa-pkcs1-v1_5-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 15 }138*/139const unsigned char ossl_der_oid_id_rsassa_pkcs1_v1_5_with_sha3_384[DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_384] = {140DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_384141};142143/*144* id-rsassa-pkcs1-v1_5-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 16 }145*/146const unsigned char ossl_der_oid_id_rsassa_pkcs1_v1_5_with_sha3_512[DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_512] = {147DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_512148};149150/*151* md4WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 3 }152*/153const unsigned char ossl_der_oid_md4WithRSAEncryption[DER_OID_SZ_md4WithRSAEncryption] = {154DER_OID_V_md4WithRSAEncryption155};156157/*158* ripemd160WithRSAEncryption OBJECT IDENTIFIER ::= {159* iso(1) identified-organization(3) teletrust(36) algorithm(3) signatureAlgorithm(3) rsaSignature(1) 2160* }161*/162const unsigned char ossl_der_oid_ripemd160WithRSAEncryption[DER_OID_SZ_ripemd160WithRSAEncryption] = {163DER_OID_V_ripemd160WithRSAEncryption164};165166/*167* mdc2WithRSASignature OBJECT IDENTIFIER ::= {168* iso(1) identified-organization(3) oiw(14) secsig(3) algorithms(2) mdc2WithRSASignature(14)169* }170*/171const unsigned char ossl_der_oid_mdc2WithRSASignature[DER_OID_SZ_mdc2WithRSASignature] = {172DER_OID_V_mdc2WithRSASignature173};174175/* clang-format on */176177178