Lines Matching refs:sha1nfo
55 typedef struct sha1nfo {
62 } sha1nfo;
68 void sha1_init(sha1nfo *s);
71 void sha1_writebyte(sha1nfo *s, uint8_t data);
74 void sha1_write(sha1nfo *s, const char *data, size_t len);
77 uint8_t* sha1_result(sha1nfo *s);
86 void sha1_init(sha1nfo *s) {
100 void sha1_hashBlock(sha1nfo *s) {
137 void sha1_addUncounted(sha1nfo *s, uint8_t data) {
151 void sha1_writebyte(sha1nfo *s, uint8_t data) {
156 void sha1_write(sha1nfo *s, const char *data, size_t len) {
160 void sha1_pad(sha1nfo *s) {
178 uint8_t* sha1_result(sha1nfo *s) {
204 sha1nfo s;