Home | History | Annotate | Download | only in dropbear

Lines Matching defs:hs

168 	hash_state hs;
189 sha1_init(&hs);
190 sha1_process(&hs, data, len);
191 sha1_done(&hs, msghash);
313 hash_state hs;
319 sha1_init(&hs);
320 sha1_process(&hs, data, len);
321 sha1_done(&hs, msghash);
328 sha512_init(&hs);
329 sha512_process(&hs, "the quick brown fox jumped over the lazy dog", 44);
330 sha512_process(&hs, privkeytmp, i);
331 sha512_done(&hs, privkeyhash);
336 sha512_init(&hs);
337 sha512_process(&hs, privkeyhash, SHA512_HASH_SIZE);
338 sha512_process(&hs, msghash, SHA1_HASH_SIZE);
339 sha512_done(&hs, proto_k);