der_ec.h.in 949 B

1234567891011121314151617181920212223242526
  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. #include "crypto/ec.h"
  12. #include "internal/der.h"
  13. /* Well known OIDs precompiled */
  14. {-
  15. $OUT = oids_to_c::process_leaves('providers/common/der/EC.asn1',
  16. { dir => $config{sourcedir},
  17. filter => \&oids_to_c::filter_to_H });
  18. -}
  19. /* Subject Public Key Info */
  20. int ossl_DER_w_algorithmIdentifier_EC(WPACKET *pkt, int cont, EC_KEY *ec);
  21. /* Signature */
  22. int ossl_DER_w_algorithmIdentifier_ECDSA_with_MD(WPACKET *pkt, int cont,
  23. EC_KEY *ec, int mdnid);