Lines Matching full:writelen
299 unsigned int writelen;
387 writelen = mp_unsigned_bin_size(&dss_r);
388 dropbear_assert(writelen <= SHA1_HASH_SIZE);
390 for (i = 0; i < SHA1_HASH_SIZE - writelen; i++) {
393 if (mp_to_unsigned_bin(&dss_r, buf_getwriteptr(buf, writelen))
398 buf_incrwritepos(buf, writelen);
400 writelen = mp_unsigned_bin_size(&dss_s);
401 dropbear_assert(writelen <= SHA1_HASH_SIZE);
403 for (i = 0; i < SHA1_HASH_SIZE - writelen; i++) {
406 if (mp_to_unsigned_bin(&dss_s, buf_getwriteptr(buf, writelen))
411 buf_incrwritepos(buf, writelen);