Skip to content

Commit

Permalink
Add support for POINT_CONVERSION_HYBRID
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel40791765 committed Oct 21, 2024
1 parent f815a93 commit 8721a2c
Show file tree
Hide file tree
Showing 4 changed files with 326 additions and 261 deletions.
6 changes: 0 additions & 6 deletions crypto/fipsmodule/ec/ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1152,12 +1152,6 @@ int EC_METHOD_get_field_type(const EC_METHOD *meth) {

void EC_GROUP_set_point_conversion_form(EC_GROUP *group,
point_conversion_form_t form) {
/* NO-OP. However, abort if consumer attempts to set a representation that is
* not supported. */
if (form != POINT_CONVERSION_UNCOMPRESSED &&
form != POINT_CONVERSION_COMPRESSED) {
abort();
}
// |conv_form| can only be set with OpenSSL compatible dynamically allocated
// groups.
if (group->mutable_ec_group) {
Expand Down
Loading

0 comments on commit 8721a2c

Please sign in to comment.