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.c2849 struct sshcipher_ctx *ciphercontext = NULL; in sshkey_private_to_blob2() local
2895 if ((r = cipher_init(&ciphercontext, cipher, key, keylen, in sshkey_private_to_blob2()
2937 if ((r = cipher_crypt(ciphercontext, 0, cp, in sshkey_private_to_blob2()
2956 cipher_free(ciphercontext); in sshkey_private_to_blob2()
3049 struct sshcipher_ctx *ciphercontext = NULL; in private2_decrypt() local
3137 (r = cipher_init(&ciphercontext, cipher, key, keylen, in private2_decrypt()
3140 if ((r = cipher_crypt(ciphercontext, 0, dp, sshbuf_ptr(decoded), in private2_decrypt()
3170 cipher_free(ciphercontext); in private2_decrypt()