version 1.169, 2010/08/31 09:58:37 |
version 1.170, 2010/08/31 11:54:45 |
|
|
buffer_put_bignum2(&active_state->outgoing_packet, value); |
buffer_put_bignum2(&active_state->outgoing_packet, value); |
} |
} |
|
|
|
void |
|
packet_put_ecpoint(const EC_GROUP *curve, const EC_POINT *point) |
|
{ |
|
buffer_put_ecpoint(&active_state->outgoing_packet, curve, point); |
|
} |
|
|
/* |
/* |
* Finalizes and sends the packet. If the encryption key has been set, |
* Finalizes and sends the packet. If the encryption key has been set, |
* encrypts the packet before sending. |
* encrypts the packet before sending. |
|
|
packet_get_bignum2(BIGNUM * value) |
packet_get_bignum2(BIGNUM * value) |
{ |
{ |
buffer_get_bignum2(&active_state->incoming_packet, value); |
buffer_get_bignum2(&active_state->incoming_packet, value); |
|
} |
|
|
|
void |
|
packet_get_ecpoint(const EC_GROUP *curve, EC_POINT *point) |
|
{ |
|
buffer_get_ecpoint(&active_state->incoming_packet, curve, point); |
} |
} |
|
|
void * |
void * |