nrfxlib API 0.1.0
Loading...
Searching...
No Matches
ocrypto_sha256.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define ocrypto_sha256_BYTES   (32)
 

Functions

void ocrypto_sha256 (uint8_t r[(32)], const uint8_t *in, size_t in_len)
 
Incremental SHA-256 generator.

This group of functions can be used to incrementally compute the SHA-256 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)])