nrfxlib API 2.7.99
Loading...
Searching...
No Matches

Type declarations and APIs for the SHA-224 algorithm. More...

Macros

#define ocrypto_sha224_BYTES   (28)
 

Functions

void ocrypto_sha224 (uint8_t r[(28)], const uint8_t *in, size_t in_len)
 

Incremental SHA-224 generator.

This group of functions can be used to incrementally compute the SHA-224 hash for a given message.

void ocrypto_sha224_init (ocrypto_sha224_ctx *ctx)
 
void ocrypto_sha224_update (ocrypto_sha224_ctx *ctx, const uint8_t *in, size_t in_len)
 
void ocrypto_sha224_final (ocrypto_sha224_ctx *ctx, uint8_t r[(28)])
 

Detailed Description

Type declarations and APIs for the SHA-224 algorithm.

SHA-224 is part of the SHA-2 family that is a set of cryptographic hash functions designed by the NSA. It is the successor of the SHA-1 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.