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