My Project
Loading...
Searching...
No Matches
sha512.h File Reference

Go to the source code of this file.

Data Structures

struct  wc_Sha512
 

Typedefs

typedef struct wc_Sha512 wc_Sha512
 
typedef struct wc_Sha512 wc_Sha384
 

Enumerations

enum  { WC_SHA384 = WC_HASH_TYPE_SHA384 , WC_SHA384_BLOCK_SIZE = WC_SHA512_BLOCK_SIZE , WC_SHA384_DIGEST_SIZE = 48 , WC_SHA384_PAD_SIZE = WC_SHA512_PAD_SIZE }
 

Functions

WOLFSSL_LOCAL void Transform_Sha512_Len (wc_Sha512 *sha512, const byte *data, word32 len)
 
WOLFSSL_API int wc_InitSha512 (wc_Sha512 *)
 This function initializes SHA512. This is automatically called by wc_Sha512Hash.
 
WOLFSSL_API int wc_InitSha512_ex (wc_Sha512 *, void *, int)
 
WOLFSSL_API int wc_Sha512Update (wc_Sha512 *, const byte *, word32)
 Can be called to continually hash the provided byte array of length len.
 
WOLFSSL_API int wc_Sha512FinalRaw (wc_Sha512 *, byte *)
 
WOLFSSL_API int wc_Sha512Final (wc_Sha512 *, byte *)
 Finalizes hashing of data. Result is placed into hash.
 
WOLFSSL_API void wc_Sha512Free (wc_Sha512 *)
 
WOLFSSL_API int wc_Sha512GetHash (wc_Sha512 *, byte *)
 
WOLFSSL_API int wc_Sha512Copy (wc_Sha512 *src, wc_Sha512 *dst)
 
WOLFSSL_API int wc_Sha512SetFlags (wc_Sha512 *sha512, word32 flags)
 
WOLFSSL_API int wc_Sha512GetFlags (wc_Sha512 *sha512, word32 *flags)
 
WOLFSSL_API int wc_InitSha384 (wc_Sha384 *)
 This function initializes SHA384. This is automatically called by wc_Sha384Hash.
 
WOLFSSL_API int wc_InitSha384_ex (wc_Sha384 *, void *, int)
 
WOLFSSL_API int wc_Sha384Update (wc_Sha384 *, const byte *, word32)
 Can be called to continually hash the provided byte array of length len.
 
WOLFSSL_API int wc_Sha384FinalRaw (wc_Sha384 *, byte *)
 
WOLFSSL_API int wc_Sha384Final (wc_Sha384 *, byte *)
 Finalizes hashing of data. Result is placed into hash.
 
WOLFSSL_API void wc_Sha384Free (wc_Sha384 *)
 
WOLFSSL_API int wc_Sha384GetHash (wc_Sha384 *, byte *)
 
WOLFSSL_API int wc_Sha384Copy (wc_Sha384 *src, wc_Sha384 *dst)
 
WOLFSSL_API int wc_Sha384SetFlags (wc_Sha384 *sha384, word32 flags)
 
WOLFSSL_API int wc_Sha384GetFlags (wc_Sha384 *sha384, word32 *flags)
 

Variables

 C