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