/
NetSHA1_Reset
NetSHA1_Reset
Initialize the NET_SHA1_CTX in preparation for computing a new SHA1 message digest.
Files
net_sha1.h/net_sha1.c
Prototype
CPU_BOOLEAN NetSHA1_Reset (NET_SHA1_CTX *p_ctx, NET_SHA1_ERR *p_err)
Arguments
p_ctx
Pointer to the SHA1 context.
p_err
Pointer to variable that will receive the error code from this function:
NET_SHA1_ERR_NONE
NET_SHA1_ERR_PTR_NULL
Returned Value
DEF_OK, if the the context is properly reset.
DEF_FAIL, if the operation failed.
Required Configuration
None.
Notes / Warnings
None.
Related content
NetSHA1_Result
NetSHA1_Result
More like this
NetSHA1_Input
NetSHA1_Input
More like this
NetIF_AddrHW_IsValid
NetIF_AddrHW_IsValid
More like this
NetSock_CfgTimeoutRxQ_Dflt
NetSock_CfgTimeoutRxQ_Dflt
More like this
NetIF_AddrHW_Set
NetIF_AddrHW_Set
More like this
net_if_reset
net_if_reset
More like this