Lines Matching full:hash
48 /** Return size of nsec3 hash algorithm, 0 if not supported */
52 * Hash a single hash call of an NSEC3 hash algorithm.
54 * @param algo: nsec3 hash algorithm.
64 * Calculate the sha256 hash for the data buffer into the result.
72 * Start a hash of type sha384. Allocates structure, then inits it,
74 * @return hash structure. NULL on malloc failure or no support.
79 * Start a hash of type sha512. Allocates structure, then inits it,
81 * @return hash structure. NULL on malloc failure or no support.
86 * Update a hash with more information to add to it.
87 * @param hash: the hash that is updated.
92 int secalgo_hash_update(struct secalgo_hash* hash, uint8_t* data, size_t len);
95 * Get the final result of the hash.
96 * @param hash: the hash that has had updates to it.
104 int secalgo_hash_final(struct secalgo_hash* hash, uint8_t* result,
108 * Delete the hash structure.
109 * @param hash: the hash to delete.
111 void secalgo_hash_delete(struct secalgo_hash* hash);
114 * Return size of DS digest according to its hash algorithm.