KT24-1110_65E-HA-651B/apps/common/music/music_decrypt.h

20 lines
451 B
C
Raw Normal View History

2024-11-10 10:44:17 +00:00
#ifndef __MUSIC_DECRYPT_H__
#define __MUSIC_DECRYPT_H__
#include "typedef.h"
typedef struct _CIPHER {
u32 cipher_code; ///>解密key
u8 cipher_enable; ///>解密读使能
} CIPHER;
void cryptanalysis_buff(CIPHER *pcipher, void *buf, u32 faddr, u32 len);
void cipher_check_decode_file(CIPHER *pcipher, void *file);
void cipher_init(CIPHER *pcipher, u32 key);
void cipher_close(CIPHER *pcipher);
#endif //__MUSIC_DECRYPT_H__