Home
last modified time | relevance | path

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

/external/openssh/
DPROTOCOL.key12 string kdfname
21 2. KDF options for kdfname "bcrypt"
Dsshkey.c3050 const char *kdfname = KDFNAME; in sshkey_private_to_blob2() local
3057 kdfname = "none"; in sshkey_private_to_blob2()
3083 if (strcmp(kdfname, "bcrypt") == 0) { in sshkey_private_to_blob2()
3093 } else if (strcmp(kdfname, "none") != 0) { in sshkey_private_to_blob2()
3104 (r = sshbuf_put_cstring(encoded, kdfname)) != 0 || in sshkey_private_to_blob2()
3192 char *comment = NULL, *ciphername = NULL, *kdfname = NULL; in sshkey_parse_private2() local
3265 (r = sshbuf_get_cstring(decoded, &kdfname, NULL)) != 0 || in sshkey_parse_private2()
3282 if (strcmp(kdfname, "none") != 0 && strcmp(kdfname, "bcrypt") != 0) { in sshkey_parse_private2()
3286 if (!strcmp(kdfname, "none") && strcmp(ciphername, "none") != 0) { in sshkey_parse_private2()
3311 if (strcmp(kdfname, "bcrypt") == 0) { in sshkey_parse_private2()
[all …]