Home
last modified time | relevance | path

Searched refs:hkc (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/block/
H A Dssh.c444 static int check_host_key(BDRVSSHState *s, SshHostKeyCheck *hkc, Error **errp) in check_host_key() argument
448 if (hkc) { in check_host_key()
449 mode = hkc->mode; in check_host_key()
458 if (hkc->u.hash.type == SSH_HOST_KEY_CHECK_HASH_TYPE_MD5) { in check_host_key()
459 return check_host_key_hash(s, hkc->u.hash.hash, in check_host_key()
462 } else if (hkc->u.hash.type == SSH_HOST_KEY_CHECK_HASH_TYPE_SHA1) { in check_host_key()
463 return check_host_key_hash(s, hkc->u.hash.hash, in check_host_key()
466 } else if (hkc->u.hash.type == SSH_HOST_KEY_CHECK_HASH_TYPE_SHA256) { in check_host_key()
467 return check_host_key_hash(s, hkc->u.hash.hash, in check_host_key()