Searched refs:send_context (Results 1 – 1 of 1) sorted by relevance
/titanic_50/usr/src/cmd/ssh/libssh/common/ |
H A D | packet.c | 101 static CipherContext send_context; variable 194 cipher_init(&send_context, none, (unsigned char *) "", 0, NULL, 0, CIPHER_ENCRYPT); in packet_set_connection() 323 cipher_cleanup(&send_context); in packet_close() 394 cipher_init(&send_context, cipher, key, keylen, NULL, 0, CIPHER_ENCRYPT); in packet_set_encryption_key() 518 if (!send_context.plaintext) { in packet_send1() 544 cipher_crypt(&send_context, cp, buffer_ptr(&outgoing_packet), in packet_send1() 575 cc = &send_context; in set_newkeys() 700 cipher_cleanup(&send_context); in process_newkeys() 787 if (enc && !send_context.plaintext) { in packet_send2_wrapped() 816 cipher_crypt(&send_context, cp, buffer_ptr(&outgoing_packet), in packet_send2_wrapped()
|