My Project
hash.h
Go to the documentation of this file.
1 
25 int wc_HashGetOID(enum wc_HashType hash_type);
26 
53 int wc_HashGetDigestSize(enum wc_HashType hash_type);
54 
84 int wc_Hash(enum wc_HashType hash_type,
85  const byte* data, word32 data_len,
86  byte* hash, word32 hash_len);
87 
119 int wc_Md5Hash(const byte* data, word32 len, byte* hash);
120 
144 int wc_ShaHash(const byte* data, word32 len, byte* hash);
145 
168 int wc_Sha224Hash(const byte* data, word32 len, byte* hash);
169 
193 int wc_Sha256Hash(const byte* data, word32 len, byte* hash);
194 
218 int wc_Sha384Hash(const byte* data, word32 len, byte* hash);
219 
243 int wc_Sha512Hash(const byte* data, word32 len, byte* hash);
244 
268 int wc_Sha3_224Hash(const byte* data, word32 len, byte* hash);
269 
293 int wc_Sha3_256Hash(const byte* data, word32 len, byte* hash);
294 
318 int wc_Sha3_384Hash(const byte* data, word32 len, byte* hash);
319 
343 int wc_Sha3_512Hash(const byte* data, word32 len, byte* hash);
344 
368 int wc_Shake128Hash(const byte* data, word32 len, byte* hash);
369 
393 int wc_Shake256Hash(const byte* data, word32 len, byte* hash);
394 
395 
396 
int wc_Md5Hash(const byte *data, word32 len, byte *hash)
Convenience function, handles all the hashing and places the result into hash.
int wc_Sha3_512Hash(const byte *data, word32 len, byte *hash)
Convenience function, handles all the hashing and places the result into hash.
int wc_Sha3_256Hash(const byte *data, word32 len, byte *hash)
Convenience function, handles all the hashing and places the result into hash.
int wc_Sha3_384Hash(const byte *data, word32 len, byte *hash)
Convenience function, handles all the hashing and places the result into hash.
int wc_Shake256Hash(const byte *data, word32 len, byte *hash)
Convenience function, handles all the hashing and places the result into hash.
int wc_Sha224Hash(const byte *data, word32 len, byte *hash)
Convenience function, handles all the hashing and places the result into hash.
int wc_Shake128Hash(const byte *data, word32 len, byte *hash)
Convenience function, handles all the hashing and places the result into hash.
int wc_Sha384Hash(const byte *data, word32 len, byte *hash)
Convenience function, handles all the hashing and places the result into hash.
int wc_Sha3_224Hash(const byte *data, word32 len, byte *hash)
Convenience function, handles all the hashing and places the result into hash.
int wc_Sha512Hash(const byte *data, word32 len, byte *hash)
Convenience function, handles all the hashing and places the result into hash.
int wc_Sha256Hash(const byte *data, word32 len, byte *hash)
Convenience function, handles all the hashing and places the result into hash.
int wc_ShaHash(const byte *data, word32 len, byte *hash)
Convenience function, handles all the hashing and places the result into hash.
int wc_Hash(enum wc_HashType hash_type, const byte *data, word32 data_len, byte *hash, word32 hash_len)
This function performs a hash on the provided data buffer and returns it in the hash buffer provided.
int wc_HashGetDigestSize(enum wc_HashType hash_type)
This function returns the size of the digest (output) for a hash_type. The returns size is used to ma...
int wc_HashGetOID(enum wc_HashType hash_type)
This function will return the OID for the wc_HashType provided.