std1.0.0-beta-7 SafeC docs

std :: crypto::ec

Function std::ec_point_valid

#include <std/crypto/ec.h> source ยท definition

int ec_point_valid(int curve, []const unsigned char pub)

1 if pub[0..len) is an uncompressed point on the curve (not infinity).