version 1.194, 2014/04/28 03:09:18 |
version 1.195, 2014/04/29 18:01:49 |
|
|
buffer_append(&active_state->outgoing_packet, buf, len); |
buffer_append(&active_state->outgoing_packet, buf, len); |
} |
} |
|
|
|
#ifdef WITH_OPENSSL |
void |
void |
packet_put_bignum(BIGNUM * value) |
packet_put_bignum(BIGNUM * value) |
{ |
{ |
|
|
{ |
{ |
buffer_put_ecpoint(&active_state->outgoing_packet, curve, point); |
buffer_put_ecpoint(&active_state->outgoing_packet, curve, point); |
} |
} |
|
#endif |
|
|
/* |
/* |
* Finalizes and sends the packet. If the encryption key has been set, |
* Finalizes and sends the packet. If the encryption key has been set, |
|
|
* must have been initialized before this call. |
* must have been initialized before this call. |
*/ |
*/ |
|
|
|
#ifdef WITH_OPENSSL |
void |
void |
packet_get_bignum(BIGNUM * value) |
packet_get_bignum(BIGNUM * value) |
{ |
{ |
|
|
{ |
{ |
buffer_get_ecpoint(&active_state->incoming_packet, curve, point); |
buffer_get_ecpoint(&active_state->incoming_packet, curve, point); |
} |
} |
|
#endif |
|
|
void * |
void * |
packet_get_raw(u_int *length_ptr) |
packet_get_raw(u_int *length_ptr) |