|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|


结构体 | |
| struct | upg_auth_data |
类型定义 | |
| typedef struct upg_auth_data | upg_auth_data_t |
函数 | |
| errcode_t | verify_hash_cmp (const uint8_t *hash, const uint8_t *hash_res, uint32_t hash_len) |
| errcode_t | secure_authenticate (const uint8_t *key, const upg_auth_data_t *data, uint8_t *sign_buff) |
| errcode_t | calc_hash (uint32_t src_addr, uint32_t src_len, uint8_t *data_sha, uint32_t data_sha_len) |
| errcode_t | uapi_upg_check_head_integrity (const upg_package_header_t *pkg_header) |
| typedef struct upg_auth_data upg_auth_data_t |
| errcode_t calc_hash | ( | uint32_t | src_addr, |
| uint32_t | src_len, | ||
| uint8_t * | data_sha, | ||
| uint32_t | data_sha_len | ||
| ) |
| errcode_t secure_authenticate | ( | const uint8_t * | key, |
| const upg_auth_data_t * | data, | ||
| uint8_t * | sign_buff | ||
| ) |
| errcode_t uapi_upg_check_head_integrity | ( | const upg_package_header_t * | pkg_header | ) |
| errcode_t verify_hash_cmp | ( | const uint8_t * | hash, |
| const uint8_t * | hash_res, | ||
| uint32_t | hash_len | ||
| ) |