libtropic
C library for TROPIC01 chip
lt_sha256.h File Reference

SHA256 functions declarations. More...

#include <stddef.h>
#include <stdint.h>
Include dependency graph for lt_sha256.h:

Data Structures

struct  lt_crypto_sha256_ctx_t
 

Macros

#define SHA256_DIGEST_LENGTH   32
 

Functions

void lt_sha256_init (void *ctx)
 
void lt_sha256_start (void *ctx)
 
void lt_sha256_update (void *ctx, const uint8_t *input, size_t len)
 
void lt_sha256_finish (void *ctx, uint8_t *output)
 This function finalizes hashing and outputs a digest. More...
 

Detailed Description

Author
Tropic Square s.r.o.
License
For the license see file LICENSE.txt file in the root directory of this source tree.

Data Structure Documentation

◆ lt_crypto_sha256_ctx_t

struct lt_crypto_sha256_ctx_t

sha256 context structure