Lines Matching full:ciphername
3044 const char *passphrase, const char *comment, const char *ciphername,
3063 ciphername = "none";
3065 } else if (ciphername == NULL)
3066 ciphername = DEFAULT_CIPHERNAME;
3067 else if (cipher_number(ciphername) != SSH_CIPHER_SSH2) {
3071 if ((cipher = cipher_by_name(ciphername)) == NULL) {
3110 (r = sshbuf_put_cstring(encoded, ciphername)) != 0 ||
3199 char *comment = NULL, *ciphername = NULL, *kdfname = NULL;
3272 (r = sshbuf_get_cstring(decoded, &ciphername, NULL)) != 0 ||
3280 if ((cipher = cipher_by_name(ciphername)) == NULL) {
3285 strcmp(ciphername, "none") != 0) {
3294 if (!strcmp(kdfname, "none") && strcmp(ciphername, "none") != 0) {
3389 free(ciphername);