mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
a30027b680
This splits up all the providers/common/der/*.c.in so the generated portion is on its own and all related DER writing routines are in their own files. This also ensures that the DIGEST consstants aren't reproduced in several files (resulting in symbol clashes). Finally, the production of OID macros is moved to the generated header files, allowing other similar macros, or DER constant arrays, to be built on top of them. Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/11868)
24 lines
855 B
C
24 lines
855 B
C
/*
|
|
* Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
|
|
*
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
* in the file LICENSE in the source distribution or at
|
|
* https://www.openssl.org/source/license.html
|
|
*/
|
|
|
|
#include "internal/der.h"
|
|
|
|
/* Well known OIDs precompiled */
|
|
{-
|
|
$OUT = oids_to_c::process_leaves('providers/common/der/DSA.asn1',
|
|
{ dir => $config{sourcedir},
|
|
filter => \&oids_to_c::filter_to_H });
|
|
-}
|
|
|
|
/* Subject Public Key Info */
|
|
int DER_w_algorithmIdentifier_DSA(WPACKET *pkt, int tag, DSA *dsa);
|
|
/* Signature */
|
|
int DER_w_algorithmIdentifier_DSA_with_MD(WPACKET *pkt, int tag,
|
|
DSA *dsa, int mdnid);
|