1/* 2 * {- join("\n * ", @autowarntext) -} 3 * 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 use 7 * this file except in compliance with the License. You can obtain a copy 8 * in the file LICENSE in the source distribution or at 9 * https://www.openssl.org/source/license.html 10 */ 11 12#include "crypto/rsa.h" 13#include "internal/der.h" 14 15/* Well known OIDs precompiled */ 16{- 17 $OUT = oids_to_c::process_leaves('providers/common/der/NIST.asn1', 18 'providers/common/der/RSA.asn1', 19 { dir => $config{sourcedir}, 20 filter => \&oids_to_c::filter_to_H }); 21-} 22 23/* PSS parameters */ 24int ossl_DER_w_RSASSA_PSS_params(WPACKET *pkt, int tag, 25 const RSA_PSS_PARAMS_30 *pss); 26/* Subject Public Key Info */ 27int ossl_DER_w_algorithmIdentifier_RSA(WPACKET *pkt, int tag, RSA *rsa); 28int ossl_DER_w_algorithmIdentifier_RSA_PSS(WPACKET *pkt, int tag, 29 int rsa_type, 30 const RSA_PSS_PARAMS_30 *pss); 31/* Signature */ 32int ossl_DER_w_algorithmIdentifier_MDWithRSAEncryption(WPACKET *pkt, int tag, 33 int mdnid); 34