Exploit databaseDownload repository ZIP
GH-e0cfbe4175da74c98d9edc01cb3e9d11
keowu/sjcam
Sources for CVE-2026-52656
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files65
keowu/sjcamRevision cec1fabc54a5
- ↑..Parent directory
- .gitignore
- Makefile
- aes-cbc.c
- aes-ctr.c
- aes-eax.c
- aes-encblock.c
- aes-internal-dec.c
- aes-internal-enc.c
- aes-internal.c
- aes-omac1.c
- aes-unwrap.c
- aes-wrap.c
- aes.h
- aes_i.h
- aes_wrap.h
- crypto.h
- crypto_cryptoapi.c
- crypto_gnutls.c
- crypto_internal-cipher.c
- crypto_internal-modexp.c
- crypto_internal-rsa.c
- crypto_internal.c
- crypto_libtomcrypt.c
- crypto_none.c
- crypto_nss.c
- crypto_openssl.c
- des-internal.c
- des_i.h
- dh_group5.c
- dh_group5.h
- dh_groups.c
- dh_groups.h
- fips_prf_cryptoapi.c
- fips_prf_gnutls.c
- fips_prf_internal.c
- fips_prf_nss.c
- fips_prf_openssl.c
- md4-internal.c
- md5-internal.c
- md5-non-fips.c
- md5.c
- md5.h
- md5_i.h
- milenage.c
- milenage.h
- ms_funcs.c
- ms_funcs.h
- rc4.c
- sha1-internal.c
- sha1-pbkdf2.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
Lelouch/modified_lelouch_wpa_supplicant_source/src/crypto/aes-encblock.c
C · 923 bytes/*
* AES encrypt_block
*
* Copyright (c) 2003-2007, Jouni Malinen <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Alternatively, this software may be distributed under the terms of BSD
* license.
*
* See README and COPYING for more details.
*/
#include "includes.h"
#include "common.h"
#include "aes.h"
#include "aes_wrap.h"
/**
* aes_128_encrypt_block - Perform one AES 128-bit block operation
* @key: Key for AES
* @in: Input data (16 bytes)
* @out: Output of the AES block operation (16 bytes)
* Returns: 0 on success, -1 on failure
*/
int aes_128_encrypt_block(const u8 *key, const u8 *in, u8 *out)
{
void *ctx;
ctx = aes_encrypt_init(key, 16);
if (ctx == NULL)
return -1;
aes_encrypt(ctx, in, out);
aes_encrypt_deinit(ctx);
return 0;
}