nRF Connect SDK API 2.8.99
|
int bl_sha256_finalize | ( | bl_sha256_ctx_t * | ctx, |
uint8_t * | output ) |
#include <include/bl_crypto.h>
Finalize a hash result.
[in] | ctx | Context variable. |
[out] | output | Where to put the resulting digest. Must be at least 32 bytes long. |
0 | On success. |
-EINVAL | If ctx was NULL or corrupted, or output was NULL. |