Searched refs:sha_ctx_t (Results 1 – 2 of 2) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sha/ |
D | fsl_sha.h | 73 } sha_ctx_t; typedef 76 typedef void (*sha_callback_t)(SHA_Type *base, sha_ctx_t *ctx, status_t status, void *userData); 105 status_t SHA_Init(SHA_Type *base, sha_ctx_t *ctx, sha_algo_t algo); 119 status_t SHA_Update(SHA_Type *base, sha_ctx_t *ctx, const uint8_t *message, size_t messageSize); 134 status_t SHA_Finish(SHA_Type *base, sha_ctx_t *ctx, uint8_t *output, size_t *outputSize); 153 void SHA_SetCallback(SHA_Type *base, sha_ctx_t *ctx, sha_callback_t callback, void *userData); 172 status_t SHA_UpdateNonBlocking(SHA_Type *base, sha_ctx_t *ctx, const uint8_t *input, size_t inputSi…
|
D | fsl_sha.c | 65 static sha_ctx_t *s_shaCtx = NULL; 195 static status_t sha_check_input_args(SHA_Type *base, sha_ctx_t *ctx, sha_algo_t algo) in sha_check_input_args() 499 status_t SHA_Init(SHA_Type *base, sha_ctx_t *ctx, sha_algo_t algo) in SHA_Init() 505 BUILD_ASSERT(sizeof(sha_ctx_t) >= sizeof(sha_ctx_internal_t), sha_ctx_t_size); in SHA_Init() 541 status_t SHA_Update(SHA_Type *base, sha_ctx_t *ctx, const uint8_t *message, size_t messageSize) in SHA_Update() 613 status_t SHA_Finish(SHA_Type *base, sha_ctx_t *ctx, uint8_t *output, size_t *outputSize) in SHA_Finish() 692 void SHA_SetCallback(SHA_Type *base, sha_ctx_t *ctx, sha_callback_t callback, void *userData) in SHA_SetCallback() 704 status_t SHA_UpdateNonBlocking(SHA_Type *base, sha_ctx_t *ctx, const uint8_t *input, size_t inputSi… in SHA_UpdateNonBlocking()
|