Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dssh.c451 static int check_host_key(BDRVSSHState *s, SshHostKeyCheck *hkc, Error **errp) in check_host_key() argument
455 if (hkc) { in check_host_key()
456 mode = hkc->mode; in check_host_key()
465 if (hkc->u.hash.type == SSH_HOST_KEY_CHECK_HASH_TYPE_MD5) { in check_host_key()
466 return check_host_key_hash(s, hkc->u.hash.hash, in check_host_key()
469 } else if (hkc->u.hash.type == SSH_HOST_KEY_CHECK_HASH_TYPE_SHA1) { in check_host_key()
470 return check_host_key_hash(s, hkc->u.hash.hash, in check_host_key()
473 } else if (hkc->u.hash.type == SSH_HOST_KEY_CHECK_HASH_TYPE_SHA256) { in check_host_key()
474 return check_host_key_hash(s, hkc->u.hash.hash, in check_host_key()