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/des_i.h
Text · 709 bytes/*
* DES and 3DES-EDE ciphers
* Copyright (c) 2006-2009, Jouni Malinen <[email protected]>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef DES_I_H
#define DES_I_H
struct des3_key_s {
u32 ek[3][32];
u32 dk[3][32];
};
void des_key_setup(const u8 *key, u32 *ek, u32 *dk);
void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt);
void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain);
void des3_key_setup(const u8 *key, struct des3_key_s *dkey);
void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt);
void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain);
#endif /* DES_I_H */