]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Clean away some declarations
authorRichard Levitte <levitte@openssl.org>
Thu, 20 Aug 2020 07:33:01 +0000 (09:33 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 21 Aug 2020 13:18:20 +0000 (15:18 +0200)
dsa_algorithmidentifier_encoding(), ecdsa_algorithmidentifier_encoding(),
rsa_algorithmidentifier_encoding() have been replaced with DER writer
functions, so they aren't useful any more.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12693)

include/crypto/dsa.h
include/crypto/ec.h
include/crypto/rsa.h

index 59c94a1740ad29b52c50c141493c01c594c9e949..7fe9f3ad9be9a4b391174823360bad632910a427 100644 (file)
@@ -21,7 +21,6 @@ int dsa_generate_ffc_parameters(DSA *dsa, int type, int pbits, int qbits,
 
 int dsa_sign_int(int type, const unsigned char *dgst,
                  int dlen, unsigned char *sig, unsigned int *siglen, DSA *dsa);
-const unsigned char *dsa_algorithmidentifier_encoding(int md_nid, size_t *len);
 
 FFC_PARAMS *dsa_get0_params(DSA *dsa);
 int dsa_ffc_params_fromdata(DSA *dsa, const OSSL_PARAM params[]);
index b6ab03362696d9cc1523ebd6d39370b5f18a9f5e..9901141bb27455470d2291103f52fd21151ed877 100644 (file)
@@ -57,7 +57,6 @@ OPENSSL_CTX *ec_key_get_libctx(const EC_KEY *eckey);
 const char *ec_key_get0_propq(const EC_KEY *eckey);
 const char *ec_curve_nid2name(int nid);
 int ec_curve_name2nid(const char *name);
-const unsigned char *ecdsa_algorithmidentifier_encoding(int md_nid, size_t *len);
 
 /* Backend support */
 int ec_key_fromdata(EC_KEY *ecx, const OSSL_PARAM params[], int include_private);
index 97cbfa1d7ede787c32239d16730b6049b0304acb..478327d2319eaeb4eb0195f98a8a4d917746eb69 100644 (file)
@@ -87,7 +87,6 @@ int int_rsa_verify(int dtype, const unsigned char *m,
                    size_t siglen, RSA *rsa);
 
 const unsigned char *rsa_digestinfo_encoding(int md_nid, size_t *len);
-const unsigned char *rsa_algorithmidentifier_encoding(int md_nid, size_t *len);
 
 extern const char *rsa_mp_factor_names[];
 extern const char *rsa_mp_exp_names[];