ARMEBS4  revision-26.06.2015
hash_test.h
Go to the documentation of this file.
1 /************************************************************************//**
2  * \file heivs/hash_test.h
3  * \brief hash testing
4  * \author marc dot pignat at hevs dot ch
5  *
6  * This abstraction will be used to hide hash (md5s, sha-1, crc, ...) functions
7  * \ingroup libheivs_stm32_misc
8  * @{
9  ***************************************************************************/
10 #ifndef HEIVS_HASH_TEST_H
11 #define HEIVS_HASH_TEST_H
12 
13 #ifdef __cplusplus
14  extern "C" {
15 #endif
16 
17 #include "heivs/hash.h"
18 
19 status_e hash_compare_ascii(const struct heivs_hash_t *hash, const void *state, const char *str);
20 status_e hash_test(struct heivs_hash_t *hash, const void *data, size_t size, const char *reference);
21 status_e hash_test_zeroes(struct heivs_hash_t *hash, size_t size, const char *reference);
22 
23 #ifdef __cplusplus
24  }
25 #endif
26 
27 /**
28  * @}
29  */
30 #endif /* HEIVS_HASH_TEST_H */
hash abstraction
status_e
Known errors.
Definition: error.h:21