TT12-MCU/applications/cryp.h
2023-08-18 15:36:41 +08:00

17 lines
445 B
C

/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2023-05-22 murmur the first version
*/
#ifndef CRYP_H_
#define CRYP_H_
void aes_file(const char *fin, const char *fout);
size_t cryp_data(const uint8_t *din, size_t len, uint8_t *dout);
size_t decryp_data(const uint8_t *din, size_t len, uint8_t *dout);
#endif /* CRYP_H_ */