Lines Matching refs:SHA1_HASH_SIZE
167 unsigned char msghash[SHA1_HASH_SIZE];
184 if (stringlen != 2*SHA1_HASH_SIZE) {
196 bytes_to_mp(&val1, &string[SHA1_HASH_SIZE], SHA1_HASH_SIZE);
209 bytes_to_mp(&val1, msghash, SHA1_HASH_SIZE);
218 bytes_to_mp(&val1, &string[0], SHA1_HASH_SIZE);
298 unsigned char msghash[SHA1_HASH_SIZE];
338 sha512_process(&hs, msghash, SHA1_HASH_SIZE);
354 bytes_to_mp(&dss_m, msghash, SHA1_HASH_SIZE);
385 buf_putint(buf, 2*SHA1_HASH_SIZE);
388 dropbear_assert(writelen <= SHA1_HASH_SIZE);
390 for (i = 0; i < SHA1_HASH_SIZE - writelen; i++) {
401 dropbear_assert(writelen <= SHA1_HASH_SIZE);
403 for (i = 0; i < SHA1_HASH_SIZE - writelen; i++) {