Exploit databaseDownload repository ZIP
GH-25fc1985744fec336f986521e61a3fb7
chertogun/cve-2020-27301-hostapd
Sources for CVE-2020-27301
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files88
chertogun/cve-2020-27301-hostapdRevision d29c6457cb14
- ↑..Parent directory
- Makefile
- aes-cbc.c
- aes-ccm.c
- aes-ctr.c
- aes-eax.c
- aes-encblock.c
- aes-gcm.c
- aes-internal-dec.c
- aes-internal-enc.c
- aes-internal.c
- aes-omac1.c
- aes-siv.c
- aes-unwrap.c
- aes-wrap.c
- aes.h
- aes_i.h
- aes_siv.h
- aes_wrap.h
- crypto.h
- crypto_gnutls.c
- crypto_internal-cipher.c
- crypto_internal-modexp.c
- crypto_internal-rsa.c
- crypto_internal.c
- crypto_libtomcrypt.c
- crypto_linux.c
- crypto_module_tests.c
- crypto_nettle.c
- crypto_none.c
- crypto_openssl.c
- crypto_wolfssl.c
- des-internal.c
- des_i.h
- dh_group5.c
- dh_group5.h
- dh_groups.c
- dh_groups.h
- fips_prf_internal.c
- fips_prf_openssl.c
- fips_prf_wolfssl.c
- md4-internal.c
- md5-internal.c
- md5.c
- md5.h
- md5_i.h
- milenage.c
- milenage.h
- ms_funcs.c
- ms_funcs.h
- random.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/crypto/random.h
Text · 855 bytes/*
* Random number generator
* Copyright (c) 2010-2011, Jouni Malinen <[email protected]>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef RANDOM_H
#define RANDOM_H
#ifdef CONFIG_NO_RANDOM_POOL
#define random_init(e) do { } while (0)
#define random_deinit() do { } while (0)
#define random_add_randomness(b, l) do { } while (0)
#define random_get_bytes(b, l) os_get_random((b), (l))
#define random_pool_ready() 1
#define random_mark_pool_ready() do { } while (0)
#else /* CONFIG_NO_RANDOM_POOL */
void random_init(const char *entropy_file);
void random_deinit(void);
void random_add_randomness(const void *buf, size_t len);
int random_get_bytes(void *buf, size_t len);
int random_pool_ready(void);
void random_mark_pool_ready(void);
#endif /* CONFIG_NO_RANDOM_POOL */
#endif /* RANDOM_H */