NetSHA1_Input
This function accepts an array of octets as the next portion of the message.
Files
net_sha1.h/net_sha1.c
Prototype
CPU_BOOLEAN NetSHA1_Input ( NET_SHA1_CTX *p_ctx,
const CPU_CHAR *p_msg,
CPU_INT32U len,
NET_SHA1_ERR *p_err)Arguments
p_ctx
Pointer to the SHA1 context.
p_msg
Pointer to an array of characters representing the next portion of the message.
len
Length of the message.
p_err
Pointer to variable that will receive the error code from this function:
NET_SHA1_ERR_NONENET_SHA1_ERR_PTR_NULLNET_SHA1_ERR_CORRUPTION
Returned Value
DEF_OK, if the the operation is successful.
DEF_FAIL, if the operation failed.
Required Configuration
None.
Notes / Warnings
None.