der_rsa.h.in 1.1 KB

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
  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. #include "crypto/rsa.h"
  10. #include "internal/der.h"
  11. /* Well known OIDs precompiled */
  12. {-
  13. $OUT = oids_to_c::process_leaves('providers/common/der/NIST.asn1',
  14. 'providers/common/der/RSA.asn1',
  15. { dir => $config{sourcedir},
  16. filter => \&oids_to_c::filter_to_H });
  17. -}
  18. /* PSS parameters */
  19. int ossl_DER_w_RSASSA_PSS_params(WPACKET *pkt, int tag,
  20. const RSA_PSS_PARAMS_30 *pss);
  21. /* Subject Public Key Info */
  22. int ossl_DER_w_algorithmIdentifier_RSA(WPACKET *pkt, int tag, RSA *rsa);
  23. /* Signature */
  24. int ossl_DER_w_algorithmIdentifier_MDWithRSAEncryption(WPACKET *pkt, int tag,
  25. RSA *rsa, int mdnid);