Lines Matching refs:hash
159 const hi_u8 *hash; /**< Hash data for ecc sign. */
160 hi_u32 hash_len; /**< The length of hash data, just 32 bytes is valid data. */
174 const hi_u8 *hash; /**< Hash data for ecc verify. */
175 hi_u32 hash_len; /**< The length of hash data, just 32 bytes is valid data. */
242 hi_cipher_hash_type sha_type; /**< sha_type, hash or hmac type. */
434 * Performs hash calculation on a segment of data and outputs the hash result.
442 * @param hash [OUT] type #hi_u8 *,Output the hash result. The length is 32 bytes.
444 * @param hash_len [IN] type #hi_u32, BUF length of the hash result. The value must be greater than or
454 hi_u32 hi_cipher_hash_sha256(uintptr_t input, hi_u32 input_len, hi_u8 *hash, hi_u32 hash_len);
486 * @param hash_data [IN] type #const hi_u8 *,Indicates the hash data to be signed.
488 * @param hash_data_len [IN] type #hi_u32, Length of the hash data to be signed, 32 bytes data.
514 * @param hash [IN] type #const hi_u8 *,Hash data to be checked.
516 * @param hash_len [IN] type #hi_u32, Indicates the length of the hash data to be verified.
530 hi_u32 hi_cipher_rsa_verify_hash(const hi_cipher_rsa_verify *rsa_verify, const hi_u8 *hash, hi_u32 hash_len,