Home | History | Annotate | Download | only in openssh

Lines Matching full:dgst_raw

394 key_fingerprint_hex(u_char *dgst_raw, u_int dgst_raw_len)
402 snprintf(hex, sizeof(hex), "%02x:", dgst_raw[i]);
412 key_fingerprint_bubblebabble(u_char *dgst_raw, u_int dgst_raw_len)
426 idx0 = (((((u_int)(dgst_raw[2 * i])) >> 6) & 3) +
428 idx1 = (((u_int)(dgst_raw[2 * i])) >> 2) & 15;
429 idx2 = ((((u_int)(dgst_raw[2 * i])) & 3) +
435 idx3 = (((u_int)(dgst_raw[(2 * i) + 1])) >> 4) & 15;
436 idx4 = (((u_int)(dgst_raw[(2 * i) + 1]))) & 15;
441 ((((u_int)(dgst_raw[2 * i])) * 7) +
442 ((u_int)(dgst_raw[(2 * i) + 1])))) % 36;
476 * Movement is taken from dgst_raw 2bit-wise. Bumping into walls
492 key_fingerprint_randomart(u_char *dgst_raw, u_int dgst_raw_len, const Key *k)
516 input = dgst_raw[i];
571 u_char *dgst_raw;
574 dgst_raw = key_fingerprint_raw(k, dgst_type, &dgst_raw_len);
575 if (!dgst_raw)
579 retval = key_fingerprint_hex(dgst_raw, dgst_raw_len);
582 retval = key_fingerprint_bubblebabble(dgst_raw, dgst_raw_len);
585 retval = key_fingerprint_randomart(dgst_raw, dgst_raw_len, k);
592 memset(dgst_raw, 0, dgst_raw_len);
593 xfree(dgst_raw);