Searched refs:sha_state_t (Results 1 – 2 of 2) sorted by relevance
24 tinysha512_init(&s->sha_state_t.sha512s); in tinysha_init()29 tc_sha256_init(&s->sha_state_t.sha256s); in tinysha_init()43 tinysha512_update(&s->sha_state_t.sha512s, data, data_length); in tinysha_update()48 tc_sha256_update(&s->sha_state_t.sha256s, data, data_length); in tinysha_update()60 tinysha512_final(digest, &s->sha_state_t.sha512s); in tinysha_final()65 tc_sha256_final(digest, &s->sha_state_t.sha256s); in tinysha_final()
55 } sha_state_t; ///< Store state of hash algorithm member