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

宏定义 | |
| #define | MAX_HASH_RESULT_SIZE 64 |
| #define | HASH_BLOCK_SIZE 64 |
| #define | HASH_SIZE 32 /* for SHA256/SM3. */ |
| #define | HASH_DATA_MAX_LEN (16 * 1024 * 1024) /* 16MB. */ |
| #define | HASH_PADDING_ALIGNED_LEN 56 |
函数 | |
| int | drv_rom_hash (crypto_hash_type hash_type, const unsigned char *data, unsigned int data_length, unsigned char *hash, unsigned int hash_length, unsigned int hash_chn) |
| #define HASH_BLOCK_SIZE 64 |
| #define HASH_DATA_MAX_LEN (16 * 1024 * 1024) /* 16MB. */ |
| #define HASH_PADDING_ALIGNED_LEN 56 |
| #define HASH_SIZE 32 /* for SHA256/SM3. */ |
| #define MAX_HASH_RESULT_SIZE 64 |
| int drv_rom_hash | ( | crypto_hash_type | hash_type, |
| const unsigned char * | data, | ||
| unsigned int | data_length, | ||
| unsigned char * | hash, | ||
| unsigned int | hash_length, | ||
| unsigned int | hash_chn | ||
| ) |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2024-2024. All rights reserved. Description: hash romable functions header file.
Create: 2024-01-25