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 files64
bob11vrdp/cve-2022-39425Revision 1d03f54cf1ec
- ↑..Parent directory
- Makefile.kmk
- bio_b64.c
- bio_enc.c
- bio_md.c
- bio_ok.c
- build.info
- c_allc.c
- c_alld.c
- cmeth_lib.c
- digest.c
- e_aes.c
- e_aes_cbc_hmac_sha1.c
- e_aes_cbc_hmac_sha256.c
- e_aria.c
- e_bf.c
- e_camellia.c
- e_cast.c
- e_chacha20_poly1305.c
- e_des.c
- e_des3.c
- e_idea.c
- e_null.c
- e_old.c
- e_rc2.c
- e_rc4.c
- e_rc4_hmac_md5.c
- e_rc5.c
- e_seed.c
- e_sm4.c
- e_xcbc_d.c
- encode.c
- evp_cnf.c
- evp_enc.c
- evp_err.c
- evp_key.c
- evp_lib.c
- evp_local.h
- evp_pbe.c
- evp_pkey.c
- m_md2.c
- m_md4.c
- m_md5.c
- m_md5_sha1.c
- m_mdc2.c
- m_null.c
- m_ripemd.c
- m_sha1.c
- m_sha3.c
- m_sigver.c
- m_wp.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/evp/e_null.c
C · 1,289 bytes/*
* Copyright 1995-2016 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 <stdio.h>
#include "internal/cryptlib.h"
#include <openssl/evp.h>
#include <openssl/objects.h>
#include "crypto/evp.h"
static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
const unsigned char *iv, int enc);
static int null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
const unsigned char *in, size_t inl);
static const EVP_CIPHER n_cipher = {
NID_undef,
1, 0, 0, 0,
null_init_key,
null_cipher,
NULL,
0,
NULL,
NULL,
NULL,
NULL
};
const EVP_CIPHER *EVP_enc_null(void)
{
return &n_cipher;
}
static int null_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
const unsigned char *iv, int enc)
{
return 1;
}
static int null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
const unsigned char *in, size_t inl)
{
if (in != out)
memcpy(out, in, inl);
return 1;
}