Go to the documentation of this file.
86 size_t output_len = 1 + field_len;
89 output_len += field_len;
94 if (
len < output_len) {
101 assert(field_len_out == field_len);
105 assert(field_len_out == field_len);
110 buf[0] = form + (y_buf[field_len_out - 1] & 1);
156 const int y_bit = form & 1;
160 len != 1 + field_len) {
249 y_bit = (y_bit != 0);
273 if (
group->a_is_minus3) {
#define ec_felem_from_bytes
#define EC_R_INVALID_COMPRESSION_BIT
#define EC_GROUP_get_curve_GFp
#define EC_R_INVALID_COMPRESSED_POINT
#define bn_mod_sub_consttime
#define OPENSSL_PUT_ERROR(library, reason)
int ec_point_from_uncompressed(const EC_GROUP *group, EC_AFFINE *out, const uint8_t *in, size_t len)
int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, int y_bit, BN_CTX *ctx)
OPENSSL_EXPORT pem_password_cb void * u
#define ec_jacobian_to_affine
int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *point, const uint8_t *buf, size_t len, BN_CTX *ctx)
#define BN_R_NOT_A_SQUARE
#define ec_affine_to_jacobian
#define EC_POINT_set_affine_coordinates_GFp
#define ERR_GET_REASON(packed_error)
size_t ec_point_to_bytes(const EC_GROUP *group, const EC_AFFINE *point, point_conversion_form_t form, uint8_t *buf, size_t len)
#define ec_point_set_affine_coordinates
static int ec_GFp_simple_oct2point(const EC_GROUP *group, EC_POINT *point, const uint8_t *buf, size_t len, BN_CTX *ctx)
#define ERR_GET_LIB(packed_error)
#define ERR_R_INTERNAL_ERROR
#define EC_R_BUFFER_TOO_SMALL
size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, uint8_t *buf, size_t len, BN_CTX *ctx)
#define ERR_peek_last_error
@ POINT_CONVERSION_COMPRESSED
@ POINT_CONVERSION_UNCOMPRESSED
UniquePtr< SSL_SESSION > ret
#define ec_felem_to_bytes
#define EC_R_INCOMPATIBLE_OBJECTS
#define EC_R_INVALID_ENCODING
#define bn_mod_lshift1_consttime
#define ec_set_to_safe_point
#define bn_mod_add_consttime
#define EC_R_INVALID_FORM
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:45