Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
20 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files73
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- atmel/
- bcm47xxnflash/
- brcmnand/
- gpmi-nand/
- Kconfig
- Makefile
- ams-delta.c
- au1550nd.c
- cafe_nand.c
- cmx270_nand.c
- cs553x_nand.c
- davinci_nand.c
- denali.c
- denali.h
- denali_dt.c
- denali_pci.c
- diskonchip.c
- docg4.c
- fsl_elbc_nand.c
- fsl_ifc_nand.c
- fsl_upm.c
- fsmc_nand.c
- gpio.c
- hisi504_nand.c
- jz4740_nand.c
- jz4780_bch.c
- jz4780_bch.h
- jz4780_nand.c
- lpc32xx_mlc.c
- lpc32xx_slc.c
- marvell_nand.c
- mpc5121_nfc.c
- mtk_ecc.c
- mtk_ecc.h
- mtk_nand.c
- mxc_nand.c
- nand_amd.c
- nand_base.c
- nand_bbt.c
- nand_bch.c
- nand_ecc.c
- nand_hynix.c
- nand_ids.c
- nand_macronix.c
- nand_micron.c
- nand_samsung.c
- nand_timings.c
- nand_toshiba.c
- nandsim.c
- ndfc.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
drivers/mtd/nand/raw/jz4780_bch.h
Text · 1,132 bytes/*
* JZ4780 BCH controller
*
* Copyright (c) 2015 Imagination Technologies
* Author: Alex Smith <[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.
*/
#ifndef __DRIVERS_MTD_NAND_JZ4780_BCH_H__
#define __DRIVERS_MTD_NAND_JZ4780_BCH_H__
#include <linux/types.h>
struct device;
struct device_node;
struct jz4780_bch;
/**
* struct jz4780_bch_params - BCH parameters
* @size: data bytes per ECC step.
* @bytes: ECC bytes per step.
* @strength: number of correctable bits per ECC step.
*/
struct jz4780_bch_params {
int size;
int bytes;
int strength;
};
int jz4780_bch_calculate(struct jz4780_bch *bch,
struct jz4780_bch_params *params,
const u8 *buf, u8 *ecc_code);
int jz4780_bch_correct(struct jz4780_bch *bch,
struct jz4780_bch_params *params, u8 *buf,
u8 *ecc_code);
void jz4780_bch_release(struct jz4780_bch *bch);
struct jz4780_bch *of_jz4780_bch_get(struct device_node *np);
#endif /* __DRIVERS_MTD_NAND_JZ4780_BCH_H__ */