Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dsshkey-xmss.c894 struct sshcipher_ctx *ciphercontext = NULL; in sshkey_xmss_encrypt_state() local
958 (r = cipher_init(&ciphercontext, cipher, key, keylen, in sshkey_xmss_encrypt_state()
960 (r = cipher_crypt(ciphercontext, 0, cp, sshbuf_ptr(encoded), in sshkey_xmss_encrypt_state()
974 cipher_free(ciphercontext); in sshkey_xmss_encrypt_state()
985 struct sshcipher_ctx *ciphercontext = NULL; in sshkey_xmss_decrypt_state() local
1051 (r = cipher_init(&ciphercontext, cipher, key, keylen, in sshkey_xmss_decrypt_state()
1053 (r = cipher_crypt(ciphercontext, 0, dp, sshbuf_ptr(copy), in sshkey_xmss_decrypt_state()
1077 cipher_free(ciphercontext); in sshkey_xmss_decrypt_state()
H A Dsshkey.c2757 struct sshcipher_ctx *ciphercontext = NULL; in sshkey_private_to_blob2() local
2803 if ((r = cipher_init(&ciphercontext, cipher, key, keylen, in sshkey_private_to_blob2()
2845 if ((r = cipher_crypt(ciphercontext, 0, cp, in sshkey_private_to_blob2()
2864 cipher_free(ciphercontext); in sshkey_private_to_blob2()
2957 struct sshcipher_ctx *ciphercontext = NULL; in private2_decrypt() local
3045 (r = cipher_init(&ciphercontext, cipher, key, keylen, in private2_decrypt()
3048 if ((r = cipher_crypt(ciphercontext, 0, dp, sshbuf_ptr(decoded), in private2_decrypt()
3078 cipher_free(ciphercontext); in private2_decrypt()