![]() |
nrfxlib API 3.3.99
|
SHA256 algorithm, a member of the SHA2 family, with 256 bit outputs. More...
Files | |
| file | ocrypto_sha256.h |
| SHA256 algorithm, a member of the SHA2 family, with 256 bit outputs. | |
Macros | |
| #define | ocrypto_sha256_BYTES (32) |
Functions | |
| void | ocrypto_sha256 (uint8_t r[(32)], const uint8_t *in, size_t in_len) |
Incremental SHA256 generator | |
This group of functions can be used to incrementally compute the SHA256 hash for a given message. | |
| void | ocrypto_sha256_init (ocrypto_sha256_ctx *ctx) |
| void | ocrypto_sha256_update (ocrypto_sha256_ctx *ctx, const uint8_t *in, size_t in_len) |
| void | ocrypto_sha256_final (ocrypto_sha256_ctx *ctx, uint8_t r[(32)]) |
SHA256 algorithm, a member of the SHA2 family, with 256 bit outputs.
SHA256 is part of the SHA2 family that is a set of cryptographic hash functions designed by the NSA. It is the successor of the SHA1 algorithm.
A fixed-sized message digest is computed from variable length input data. The function is practically impossible to revert, and small changes in the input message lead to major changes in the message digest.