SharkSSL™ Embedded SSL/TLS Stack

Detailed Description

SHA256 cryptographic hash.

Data Structures

struct  SharkSslSha256Ctx
 SHA256. More...
 

Typedefs

typedef struct SharkSslSha256Ctx SharkSslSha256Ctx
 SHA256.
 

Functions

SHARKSSL_API void SharkSslSha256Ctx_constructor (SharkSslSha256Ctx *ctx)
 Initialize. More...
 
SHARKSSL_API void SharkSslSha256Ctx_append (SharkSslSha256Ctx *, const U8 *data, U32 len)
 append
 
SHARKSSL_API void SharkSslSha256Ctx_finish (SharkSslSha256Ctx *, U8 digest[SHARKSSL_SHA256_HASH_LEN])
 finish
 
SHARKSSL_API int sharkssl_sha256 (const U8 *, U16, U8 *)
 sha256
 

Function Documentation

◆ SharkSslSha256Ctx_constructor()

SHARKSSL_API void SharkSslSha256Ctx_constructor ( SharkSslSha256Ctx ctx)

Initialize.

Parameters
ctxUninitialized data of size sizeof(SharkSslSha256Ctx).