nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ bl_sha256_finalize()

int bl_sha256_finalize ( bl_sha256_ctx_t ctx,
uint8_t *  output 
)

#include <include/bl_crypto.h>

Finalize a hash result.

Parameters
[in]ctxContext variable.
[out]outputWhere to put the resulting digest. Must be at least 32 bytes long.
Return values
0On success.
-EINVALIf ctx was NULL or corrupted, or output was NULL.