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