Home | History | Annotate | Download | only in openssh

Lines Matching refs:cipher

62 #include "cipher.h"
92 Cipher *cipher;
97 * to another cipher; otherwise use SSH_AUTHFILE_CIPHER.
101 if ((cipher = cipher_by_number(cipher_num)) == NULL)
102 fatal("save_private_key_rsa: bad cipher");
137 /* Store cipher type. */
150 cipher_set_key_string(&ciphercontext, cipher, passphrase,
176 const EVP_CIPHER *cipher = (len > 0) ? EVP_des_ede3_cbc() : NULL;
178 const EVP_CIPHER *cipher = (len > 0) ? EVP_aes_128_cbc() : NULL;
194 cipher, passphrase, len, NULL, NULL);
199 cipher, passphrase, len, NULL, NULL);
204 cipher, passphrase, len, NULL, NULL);
303 /* Skip cipher type and reserved data. */
304 (void) buffer_get_char(&copy); /* cipher type */
424 Cipher *cipher;
447 /* Read cipher type. */
462 /* Check that it is a supported cipher. */
463 cipher = cipher_by_number(cipher_type);
464 if (cipher == NULL) {
465 debug("Unsupported RSA1 cipher %d", cipher_type);
474 cipher_set_key_string(&ciphercontext, cipher, passphrase,