diff options
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_ossl.c')
-rw-r--r-- | src/lib/libcrypto/dsa/dsa_ossl.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dsa/dsa_ossl.c b/src/lib/libcrypto/dsa/dsa_ossl.c index b69cf1a03f..36b2a63462 100644 --- a/src/lib/libcrypto/dsa/dsa_ossl.c +++ b/src/lib/libcrypto/dsa/dsa_ossl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dsa_ossl.c,v 1.51 2023/03/27 10:25:02 tb Exp $ */ | 1 | /* $OpenBSD: dsa_ossl.c,v 1.52 2023/07/08 14:28:15 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -91,6 +91,7 @@ DSA_OpenSSL(void) | |||
91 | { | 91 | { |
92 | return &openssl_dsa_meth; | 92 | return &openssl_dsa_meth; |
93 | } | 93 | } |
94 | LCRYPTO_ALIAS(DSA_OpenSSL); | ||
94 | 95 | ||
95 | /* | 96 | /* |
96 | * Since DSA parameters are entirely arbitrary and checking them to be | 97 | * Since DSA parameters are entirely arbitrary and checking them to be |
@@ -440,6 +441,7 @@ DSA_SIG_new(void) | |||
440 | { | 441 | { |
441 | return calloc(1, sizeof(DSA_SIG)); | 442 | return calloc(1, sizeof(DSA_SIG)); |
442 | } | 443 | } |
444 | LCRYPTO_ALIAS(DSA_SIG_new); | ||
443 | 445 | ||
444 | void | 446 | void |
445 | DSA_SIG_free(DSA_SIG *sig) | 447 | DSA_SIG_free(DSA_SIG *sig) |
@@ -451,21 +453,25 @@ DSA_SIG_free(DSA_SIG *sig) | |||
451 | BN_free(sig->s); | 453 | BN_free(sig->s); |
452 | free(sig); | 454 | free(sig); |
453 | } | 455 | } |
456 | LCRYPTO_ALIAS(DSA_SIG_free); | ||
454 | 457 | ||
455 | int | 458 | int |
456 | DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) | 459 | DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) |
457 | { | 460 | { |
458 | return dsa->meth->dsa_sign_setup(dsa, ctx_in, kinvp, rp); | 461 | return dsa->meth->dsa_sign_setup(dsa, ctx_in, kinvp, rp); |
459 | } | 462 | } |
463 | LCRYPTO_ALIAS(DSA_sign_setup); | ||
460 | 464 | ||
461 | DSA_SIG * | 465 | DSA_SIG * |
462 | DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) | 466 | DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) |
463 | { | 467 | { |
464 | return dsa->meth->dsa_do_sign(dgst, dlen, dsa); | 468 | return dsa->meth->dsa_do_sign(dgst, dlen, dsa); |
465 | } | 469 | } |
470 | LCRYPTO_ALIAS(DSA_do_sign); | ||
466 | 471 | ||
467 | int | 472 | int |
468 | DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa) | 473 | DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa) |
469 | { | 474 | { |
470 | return dsa->meth->dsa_do_verify(dgst, dgst_len, sig, dsa); | 475 | return dsa->meth->dsa_do_verify(dgst, dgst_len, sig, dsa); |
471 | } | 476 | } |
477 | LCRYPTO_ALIAS(DSA_do_verify); | ||