Lines Matching defs:ciphername
3020 const char *passphrase, const char *comment, const char *ciphername,
3039 ciphername = "none";
3041 } else if (ciphername == NULL)
3042 ciphername = DEFAULT_CIPHERNAME;
3043 else if (cipher_number(ciphername) != SSH_CIPHER_SSH2) {
3047 if ((cipher = cipher_by_name(ciphername)) == NULL) {
3086 (r = sshbuf_put_cstring(encoded, ciphername)) != 0 ||
3175 char *comment = NULL, *ciphername = NULL, *kdfname = NULL;
3248 (r = sshbuf_get_cstring(decoded, &ciphername, NULL)) != 0 ||
3256 if ((cipher = cipher_by_name(ciphername)) == NULL) {
3261 strcmp(ciphername, "none") != 0) {
3270 if (!strcmp(kdfname, "none") && strcmp(ciphername, "none") != 0) {
3372 free(ciphername);