Lines Matching defs:sha1nfo
54 typedef struct sha1nfo {
61 } sha1nfo;
67 void sha1_init(sha1nfo *s);
70 void sha1_writebyte(sha1nfo *s, uint8_t data);
73 void sha1_write(sha1nfo *s, const char *data, size_t len);
76 uint8_t* sha1_result(sha1nfo *s);
85 void sha1_init(sha1nfo *s) {
99 void sha1_hashBlock(sha1nfo *s) {
136 void sha1_addUncounted(sha1nfo *s, uint8_t data) {
150 void sha1_writebyte(sha1nfo *s, uint8_t data) {
155 void sha1_write(sha1nfo *s, const char *data, size_t len) {
159 void sha1_pad(sha1nfo *s) {
177 uint8_t* sha1_result(sha1nfo *s) {
203 sha1nfo s;