Searched refs:dgst_raw_len (Results 1 – 1 of 1) sorted by relevance
/external/openssh/ |
D | sshkey.c | 954 fingerprint_b64(const char *alg, u_char *dgst_raw, size_t dgst_raw_len) in fingerprint_b64() argument 958 size_t rlen = ((dgst_raw_len + 2) / 3) * 4 + plen + 1; in fingerprint_b64() 961 if (dgst_raw_len > 65536 || (ret = calloc(1, rlen)) == NULL) in fingerprint_b64() 965 if (dgst_raw_len == 0) in fingerprint_b64() 967 if ((r = b64_ntop(dgst_raw, dgst_raw_len, in fingerprint_b64() 979 fingerprint_hex(const char *alg, u_char *dgst_raw, size_t dgst_raw_len) in fingerprint_hex() argument 982 size_t i, rlen = dgst_raw_len * 3 + strlen(alg) + 2; in fingerprint_hex() 984 if (dgst_raw_len > 65536 || (retval = calloc(1, rlen)) == NULL) in fingerprint_hex() 988 for (i = 0; i < dgst_raw_len; i++) { in fingerprint_hex() 997 fingerprint_bubblebabble(u_char *dgst_raw, size_t dgst_raw_len) in fingerprint_bubblebabble() argument [all …]
|