84WOLFSSL_API
int wc_Hash(
enum wc_HashType hash_type,
85 const byte* data, word32 data_len,
86 byte* hash, word32 hash_len);
119WOLFSSL_API
int wc_Md5Hash(
const byte* data, word32 len,
byte* hash);
144WOLFSSL_API
int wc_ShaHash(
const byte*, word32,
byte*);
WOLFSSL_API int wc_Md5Hash(const byte *data, word32 len, byte *hash)
Convenience function, handles all the hashing and places the result into hash.
Definition hash.c:984
WOLFSSL_API int wc_ShaHash(const byte *, word32, byte *)
Convenience function, handles all the hashing and places the result into hash.
Definition hash.c:1021
WOLFSSL_API int wc_Sha224Hash(const byte *, word32, byte *)
Convenience function, handles all the hashing and places the result into hash.
Definition hash.c:1058
WOLFSSL_API int wc_Sha384Hash(const byte *, word32, byte *)
Convenience function, handles all the hashing and places the result into hash.
Definition hash.c:1176
WOLFSSL_API int wc_Sha256Hash(const byte *, word32, byte *)
Convenience function, handles all the hashing and places the result into hash.
Definition hash.c:1096
WOLFSSL_API int wc_Sha512Hash(const byte *, word32, byte *)
Convenience function, handles all the hashing and places the result into hash.
Definition hash.c:1138
WOLFSSL_API int wc_HashGetOID(enum wc_HashType hash_type)
This function will return the OID for the wc_HashType provided.
Definition hash.c:134
WOLFSSL_API 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.
Definition hash.c:449
WOLFSSL_API 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...
Definition hash.c:272