2016-05-17 18:51:26 +00:00
|
|
|
/*
|
2018-09-11 12:22:14 +00:00
|
|
|
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
1998-12-21 10:52:47 +00:00
|
|
|
*
|
2016-05-17 18:51:26 +00:00
|
|
|
* Licensed under the OpenSSL license (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
|
1998-12-21 10:52:47 +00:00
|
|
|
*/
|
|
|
|
|
2015-05-14 14:56:48 +00:00
|
|
|
#include "internal/cryptlib.h"
|
2019-09-27 21:58:06 +00:00
|
|
|
#include "dsa_local.h"
|
2011-01-25 16:55:15 +00:00
|
|
|
#include <openssl/bn.h>
|
1998-12-21 10:52:47 +00:00
|
|
|
|
2015-01-22 03:40:55 +00:00
|
|
|
DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa)
|
|
|
|
{
|
|
|
|
return dsa->meth->dsa_do_sign(dgst, dlen, dsa);
|
|
|
|
}
|
1998-12-21 10:52:47 +00:00
|
|
|
|
2018-06-12 14:42:31 +00:00
|
|
|
#if OPENSSL_API_COMPAT < 0x10200000L
|
2011-01-25 16:55:15 +00:00
|
|
|
int DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
|
2015-01-22 03:40:55 +00:00
|
|
|
{
|
|
|
|
return dsa->meth->dsa_sign_setup(dsa, ctx_in, kinvp, rp);
|
|
|
|
}
|
2018-06-12 14:42:31 +00:00
|
|
|
#endif
|