Home
last modified time | relevance | path

Searched refs:TCSha512State_t (Results 1 – 2 of 2) sorted by relevance

/mcuboot-latest/ext/tinycrypt-sha512/lib/include/tinycrypt/
Dsha512.h78 typedef struct tc_sha512_state_struct *TCSha512State_t; typedef
87 int tc_sha512_init(TCSha512State_t s);
105 int tc_sha512_update (TCSha512State_t s, const uint8_t *data, size_t datalen);
123 int tc_sha512_final(uint8_t *digest, TCSha512State_t s);
/mcuboot-latest/ext/tinycrypt-sha512/lib/source/
Dsha512.c39 int tc_sha512_init(TCSha512State_t s) in tc_sha512_init()
42 if (s == (TCSha512State_t) 0) { in tc_sha512_init()
65 int tc_sha512_update(TCSha512State_t s, const uint8_t *data, size_t datalen) in tc_sha512_update()
68 if (s == (TCSha512State_t) 0 || data == (void *) 0) { in tc_sha512_update()
86 int tc_sha512_final(uint8_t *digest, TCSha512State_t s) in tc_sha512_final()
91 if (digest == (uint8_t *) 0 || s == (TCSha512State_t) 0) { in tc_sha512_final()