xref: /openssl/crypto/dsa/dsa_vrf.c (revision 33388b44)
1 /*
2  * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
3  *
4  * Licensed under the Apache License 2.0 (the "License").  You may not use
5  * this file except in compliance with the License.  You can obtain a copy
6  * in the file LICENSE in the source distribution or at
7  * https://www.openssl.org/source/license.html
8  */
9 
10 /*
11  * DSA low level APIs are deprecated for public use, but still ok for
12  * internal use.
13  */
14 #include "internal/deprecated.h"
15 
16 #include "internal/cryptlib.h"
17 #include "dsa_local.h"
18 
DSA_do_verify(const unsigned char * dgst,int dgst_len,DSA_SIG * sig,DSA * dsa)19 int DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig,
20                   DSA *dsa)
21 {
22     return dsa->meth->dsa_do_verify(dgst, dgst_len, sig, dsa);
23 }
24