Exploit databaseDownload repository ZIP
GH-557a35ec88cecc5153df8ffeda95d1c2
bob11vrdp/cve-2022-39425
Sources for CVE-2022-39425
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files38
bob11vrdp/cve-2022-39425Revision 1d03f54cf1ec
- ↑..Parent directory
- asm/
- curve448/
- Makefile.kmk
- build.info
- curve25519.c
- ec2_oct.c
- ec2_smpl.c
- ec_ameth.c
- ec_asn1.c
- ec_check.c
- ec_curve.c
- ec_cvt.c
- ec_err.c
- ec_key.c
- ec_kmeth.c
- ec_lib.c
- ec_local.h
- ec_mult.c
- ec_oct.c
- ec_pmeth.c
- ec_print.c
- ecdh_kdf.c
- ecdh_ossl.c
- ecdsa_ossl.c
- ecdsa_sign.c
- ecdsa_vrf.c
- eck_prn.c
- ecp_mont.c
- ecp_nist.c
- ecp_nistp224.c
- ecp_nistp256.c
- ecp_nistp521.c
- ecp_nistputil.c
- ecp_nistz256.c
- ecp_nistz256_table.c
- ecp_oct.c
- ecp_smpl.c
- ecx_meth.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
VirtualBox-6.1.38/src/libs/openssl-1.1.1q/crypto/ec/ecdsa_vrf.c
C · 1,283 bytes/*
* Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
*
* 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
*/
#include <openssl/ec.h>
#include "ec_local.h"
#include <openssl/err.h>
/*-
* returns
* 1: correct signature
* 0: incorrect signature
* -1: error
*/
int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
const ECDSA_SIG *sig, EC_KEY *eckey)
{
if (eckey->meth->verify_sig != NULL)
return eckey->meth->verify_sig(dgst, dgst_len, sig, eckey);
ECerr(EC_F_ECDSA_DO_VERIFY, EC_R_OPERATION_NOT_SUPPORTED);
return -1;
}
/*-
* returns
* 1: correct signature
* 0: incorrect signature
* -1: error
*/
int ECDSA_verify(int type, const unsigned char *dgst, int dgst_len,
const unsigned char *sigbuf, int sig_len, EC_KEY *eckey)
{
if (eckey->meth->verify != NULL)
return eckey->meth->verify(type, dgst, dgst_len, sigbuf, sig_len,
eckey);
ECerr(EC_F_ECDSA_VERIFY, EC_R_OPERATION_NOT_SUPPORTED);
return -1;
}