Path: blob/main/crypto/openssl/providers/common/der/der_rsa_gen.c
48383 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 */1516/*17* hashAlgs OBJECT IDENTIFIER ::= { nistAlgorithms 2 }18*/19const unsigned char ossl_der_oid_hashAlgs[DER_OID_SZ_hashAlgs] = {20DER_OID_V_hashAlgs21};2223/*24* rsaEncryption OBJECT IDENTIFIER ::= { pkcs-1 1 }25*/26const unsigned char ossl_der_oid_rsaEncryption[DER_OID_SZ_rsaEncryption] = {27DER_OID_V_rsaEncryption28};2930/*31* id-RSAES-OAEP OBJECT IDENTIFIER ::= { pkcs-1 7 }32*/33const unsigned char ossl_der_oid_id_RSAES_OAEP[DER_OID_SZ_id_RSAES_OAEP] = {34DER_OID_V_id_RSAES_OAEP35};3637/*38* id-pSpecified OBJECT IDENTIFIER ::= { pkcs-1 9 }39*/40const unsigned char ossl_der_oid_id_pSpecified[DER_OID_SZ_id_pSpecified] = {41DER_OID_V_id_pSpecified42};4344/*45* id-RSASSA-PSS OBJECT IDENTIFIER ::= { pkcs-1 10 }46*/47const unsigned char ossl_der_oid_id_RSASSA_PSS[DER_OID_SZ_id_RSASSA_PSS] = {48DER_OID_V_id_RSASSA_PSS49};5051/*52* md2WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 2 }53*/54const unsigned char ossl_der_oid_md2WithRSAEncryption[DER_OID_SZ_md2WithRSAEncryption] = {55DER_OID_V_md2WithRSAEncryption56};5758/*59* md5WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 4 }60*/61const unsigned char ossl_der_oid_md5WithRSAEncryption[DER_OID_SZ_md5WithRSAEncryption] = {62DER_OID_V_md5WithRSAEncryption63};6465/*66* sha1WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 5 }67*/68const unsigned char ossl_der_oid_sha1WithRSAEncryption[DER_OID_SZ_sha1WithRSAEncryption] = {69DER_OID_V_sha1WithRSAEncryption70};7172/*73* sha224WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 14 }74*/75const unsigned char ossl_der_oid_sha224WithRSAEncryption[DER_OID_SZ_sha224WithRSAEncryption] = {76DER_OID_V_sha224WithRSAEncryption77};7879/*80* sha256WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 11 }81*/82const unsigned char ossl_der_oid_sha256WithRSAEncryption[DER_OID_SZ_sha256WithRSAEncryption] = {83DER_OID_V_sha256WithRSAEncryption84};8586/*87* sha384WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 12 }88*/89const unsigned char ossl_der_oid_sha384WithRSAEncryption[DER_OID_SZ_sha384WithRSAEncryption] = {90DER_OID_V_sha384WithRSAEncryption91};9293/*94* sha512WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 13 }95*/96const unsigned char ossl_der_oid_sha512WithRSAEncryption[DER_OID_SZ_sha512WithRSAEncryption] = {97DER_OID_V_sha512WithRSAEncryption98};99100/*101* sha512-224WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 15 }102*/103const unsigned char ossl_der_oid_sha512_224WithRSAEncryption[DER_OID_SZ_sha512_224WithRSAEncryption] = {104DER_OID_V_sha512_224WithRSAEncryption105};106107/*108* sha512-256WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 16 }109*/110const unsigned char ossl_der_oid_sha512_256WithRSAEncryption[DER_OID_SZ_sha512_256WithRSAEncryption] = {111DER_OID_V_sha512_256WithRSAEncryption112};113114/*115* id-mgf1 OBJECT IDENTIFIER ::= { pkcs-1 8 }116*/117const unsigned char ossl_der_oid_id_mgf1[DER_OID_SZ_id_mgf1] = {118DER_OID_V_id_mgf1119};120121/*122* id-rsassa-pkcs1-v1_5-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 13 }123*/124const unsigned char ossl_der_oid_id_rsassa_pkcs1_v1_5_with_sha3_224[DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_224] = {125DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_224126};127128/*129* id-rsassa-pkcs1-v1_5-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 14 }130*/131const unsigned char ossl_der_oid_id_rsassa_pkcs1_v1_5_with_sha3_256[DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_256] = {132DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_256133};134135/*136* id-rsassa-pkcs1-v1_5-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 15 }137*/138const unsigned char ossl_der_oid_id_rsassa_pkcs1_v1_5_with_sha3_384[DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_384] = {139DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_384140};141142/*143* id-rsassa-pkcs1-v1_5-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 16 }144*/145const unsigned char ossl_der_oid_id_rsassa_pkcs1_v1_5_with_sha3_512[DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_512] = {146DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_512147};148149/*150* md4WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 3 }151*/152const unsigned char ossl_der_oid_md4WithRSAEncryption[DER_OID_SZ_md4WithRSAEncryption] = {153DER_OID_V_md4WithRSAEncryption154};155156/*157* ripemd160WithRSAEncryption OBJECT IDENTIFIER ::= {158* iso(1) identified-organization(3) teletrust(36) algorithm(3) signatureAlgorithm(3) rsaSignature(1) 2159* }160*/161const unsigned char ossl_der_oid_ripemd160WithRSAEncryption[DER_OID_SZ_ripemd160WithRSAEncryption] = {162DER_OID_V_ripemd160WithRSAEncryption163};164165/*166* mdc2WithRSASignature OBJECT IDENTIFIER ::= {167* iso(1) identified-organization(3) oiw(14) secsig(3) algorithms(2) mdc2WithRSASignature(14)168* }169*/170const unsigned char ossl_der_oid_mdc2WithRSASignature[DER_OID_SZ_mdc2WithRSASignature] = {171DER_OID_V_mdc2WithRSASignature172};173174175176