Lines Matching refs:ciphercontext
3048 struct sshcipher_ctx *ciphercontext = NULL; in sshkey_private_to_blob2() local
3098 if ((r = cipher_init(&ciphercontext, cipher, key, keylen, in sshkey_private_to_blob2()
3139 if ((r = cipher_crypt(ciphercontext, 0, cp, in sshkey_private_to_blob2()
3171 cipher_free(ciphercontext); in sshkey_private_to_blob2()
3200 struct sshcipher_ctx *ciphercontext = NULL; in sshkey_parse_private2() local
3330 (r = cipher_init(&ciphercontext, cipher, key, keylen, in sshkey_parse_private2()
3333 if ((r = cipher_crypt(ciphercontext, 0, dp, sshbuf_ptr(decoded), in sshkey_parse_private2()
3387 cipher_free(ciphercontext); in sshkey_parse_private2()
3421 struct sshcipher_ctx *ciphercontext = NULL; in sshkey_private_rsa1_to_blob() local
3488 if ((r = cipher_set_key_string(&ciphercontext, cipher, passphrase, in sshkey_private_rsa1_to_blob()
3491 if ((r = cipher_crypt(ciphercontext, 0, cp, in sshkey_private_rsa1_to_blob()
3498 cipher_free(ciphercontext); in sshkey_private_rsa1_to_blob()
3668 struct sshcipher_ctx *ciphercontext = NULL; in sshkey_parse_private_rsa1() local
3723 if ((r = cipher_set_key_string(&ciphercontext, cipher, passphrase, in sshkey_parse_private_rsa1()
3726 if ((r = cipher_crypt(ciphercontext, 0, cp, in sshkey_parse_private_rsa1()
3764 cipher_free(ciphercontext); in sshkey_parse_private_rsa1()