Deprecate EC_KEY + Update ec apps to use EVP_PKEY
[openssl.git] / providers / common / der / der_ec.h.in
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
10 #include "crypto/ec.h"
11 #include "internal/der.h"
12
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
20 /* Subject Public Key Info */
21 int ossl_DER_w_algorithmIdentifier_EC(WPACKET *pkt, int cont, EC_KEY *ec);
22 /* Signature */
23 int ossl_DER_w_algorithmIdentifier_ECDSA_with_MD(WPACKET *pkt, int cont,
24                                                  EC_KEY *ec, int mdnid);