1e1051a39Sopenharmony_ci/*
2e1051a39Sopenharmony_ci * {- join("\n * ", @autowarntext) -}
3e1051a39Sopenharmony_ci *
4e1051a39Sopenharmony_ci * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
5e1051a39Sopenharmony_ci *
6e1051a39Sopenharmony_ci * Licensed under the Apache License 2.0 (the "License").  You may not use
7e1051a39Sopenharmony_ci * this file except in compliance with the License.  You can obtain a copy
8e1051a39Sopenharmony_ci * in the file LICENSE in the source distribution or at
9e1051a39Sopenharmony_ci * https://www.openssl.org/source/license.html
10e1051a39Sopenharmony_ci */
11e1051a39Sopenharmony_ci
12e1051a39Sopenharmony_ci#include "crypto/ec.h"
13e1051a39Sopenharmony_ci#include "internal/der.h"
14e1051a39Sopenharmony_ci
15e1051a39Sopenharmony_ci/* Well known OIDs precompiled */
16e1051a39Sopenharmony_ci{-
17e1051a39Sopenharmony_ci    $OUT = oids_to_c::process_leaves('providers/common/der/SM2.asn1',
18e1051a39Sopenharmony_ci                                     { dir => $config{sourcedir},
19e1051a39Sopenharmony_ci                                       filter => \&oids_to_c::filter_to_H });
20e1051a39Sopenharmony_ci-}
21e1051a39Sopenharmony_ci
22e1051a39Sopenharmony_ci/* Subject Public Key Info */
23e1051a39Sopenharmony_ciint ossl_DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec);
24e1051a39Sopenharmony_ci/* Signature */
25e1051a39Sopenharmony_ciint ossl_DER_w_algorithmIdentifier_SM2_with_MD(WPACKET *pkt, int cont,
26e1051a39Sopenharmony_ci                                               EC_KEY *ec, int mdnid);
27