SharkSSL™ Embedded SSL/TLS Stack

SHA1 cryptographic hash. More...

Data Structures

struct  SharkSslSha1Ctx
 SHA1. More...
 

Typedefs

typedef struct SharkSslSha1Ctx SharkSslSha1Ctx
 SHA1.
 

Functions

SHARKSSL_API void SharkSslSha1Ctx_constructor (SharkSslSha1Ctx *ctx)
 Initialize. More...
 
SHARKSSL_API void SharkSslSha1Ctx_append (SharkSslSha1Ctx *ctx, const U8 *data, U32 len)
 append
 
SHARKSSL_API void SharkSslSha1Ctx_finish (SharkSslSha1Ctx *, U8 digest[SHARKSSL_SHA1_HASH_LEN])
 finish
 
SHARKSSL_API int sharkssl_sha1 (const U8 *, U16, U8 *)
 sha1
 

Detailed Description

SHA1 cryptographic hash.

Function Documentation

◆ SharkSslSha1Ctx_constructor()

SHARKSSL_API void SharkSslSha1Ctx_constructor ( SharkSslSha1Ctx ctx)

Initialize.

Parameters
ctxUninitialized data of size sizeof(SharkSslSha1Ctx).