kernel-brax3-ubuntu-touch/drivers/misc/mediatek/masp/asfv3/inc/sec_ccci.h
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

18 lines
537 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2015 MediaTek Inc.
*/
#ifndef SEC_CCCI_LIB_H
#define SEC_CCCI_LIB_H
int masp_ccci_signfmt_verify_file(char *file_path, unsigned int *data_offset,
unsigned int *data_sec_len);
int masp_ccci_version_info(void);
int masp_ccci_is_cipherfmt(int fp_id, unsigned int start_off,
unsigned int *img_len);
int masp_ccci_decrypt_cipherfmt(int fp_id, unsigned int start_off, char *buf,
unsigned int buf_len,
unsigned int *data_offset);
#endif /* SEC_CCCI_LIB_H */