2 * {- join("\n * ", @autowarntext) -}
4 * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
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
12 #include "crypto/ec.h"
13 #include "internal/der.h"
15 /* Well known OIDs precompiled */
17 $OUT = oids_to_c::process_leaves('providers/common/der/SM2.asn1',
18 { dir => $config{sourcedir},
19 filter => \&oids_to_c::filter_to_H });
22 /* Subject Public Key Info */
23 int ossl_DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec);
25 int ossl_DER_w_algorithmIdentifier_SM2_with_MD(WPACKET *pkt, int cont,
26 EC_KEY *ec, int mdnid);