Home | History | Annotate | Download | only in openssh

Lines Matching refs:buffer

31 #include "buffer.h"
46 * Append an EC_POINT to the buffer as a string containing a SEC1 encoded
50 buffer_put_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve,
76 buffer_put_string(buffer, buf, len);
88 buffer_put_ecpoint(Buffer *buffer, const EC_GROUP *curve,
91 if (buffer_put_ecpoint_ret(buffer, curve, point) == -1)
92 fatal("%s: buffer error", __func__);
96 buffer_get_ecpoint_ret(Buffer *buffer, const EC_GROUP *curve,
104 if ((buf = buffer_get_string_ret(buffer, &len)) == NULL) {
116 error("%s: EC_POINT buffer is empty", __func__);
139 buffer_get_ecpoint(Buffer *buffer, const EC_GROUP *curve,
142 if (buffer_get_ecpoint_ret(buffer, curve, point) == -1)
143 fatal("%s: buffer error", __func__);