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
|
|
|
*
|
2018-12-06 12:36:26 +00:00
|
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-17 18:51:26 +00:00
|
|
|
* 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"
|
2016-03-30 14:21:39 +00:00
|
|
|
#include "dsa_locl.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-11-29 23:05:03 +00:00
|
|
|
#if !OPENSSL_API_3
|
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
|