crypto_ec_point_init - Initialize data for an EC point @e: EC context from crypto_ec_init() Returns: Pointer to EC point data or %NULL on failure
crypto_ec_prime_len - Get length of the prime in octets @e: EC context from crypto_ec_init() Returns: Length of the prime defining the group
crypto_bignum_mul - res = b * p @e: EC context from crypto_ec_init() @p: EC point @b: Bignum @res: EC point; used to store the result of b * p Returns: 0 on success, -1 on failure
crypto_ec_get_prime - Get prime defining an EC group @e: EC context from crypto_ec_init() Returns: Prime (bignum) defining the group
crypto_ec_point_from_bin - Create EC point from binary data @e: EC context from crypto_ec_init() @val: Binary data to read the EC point from Returns: Pointer to EC point data or %NULL on failure This function readers x and y coordinates of the EC point from the provided buffer assuming the values are in big endian byte order with fields padded to the length of the prime defining the group.
crypto_ec_point_compute_y_sqr - Compute y^2 = x^3 + ax + b @e: EC context from crypto_ec_init() @x: x coordinate Returns: y^2 on success, %NULL failure
crypto_ec_deinit - Deinitialize elliptic curve context @e: EC context from crypto_ec_init()
crypto_bignum_add - c = a + b @e: EC context from crypto_ec_init() @a: Bignum @b: Bignum @c: Bignum; used to store the result of a + b Returns: 0 on success, -1 on failure
crypto_ec_get_order - Get order of an EC group @e: EC context from crypto_ec_init() Returns: Order (bignum) of the group
crypto_ec_point_is_at_infinity - Check whether EC point is neutral element @e: EC context from crypto_ec_init() @p: EC point Returns: 1 if the specified EC point is the neutral element of the group or 0 if not
crypto_ec_point_is_on_curve - Check whether EC point is on curve @e: EC context from crypto_ec_init() @p: EC point Returns: 1 if the specified EC point is on the curve or 0 if not
crypto_ec_get_affine_coordinates : get affine coordinate of ec curve @e: ec curve @pt: point @x: x coordinate @y: y coordinate Return : 0 if success
crypto_ec_prime_len_bits - Get length of the prime in bits @e: EC context from crypto_ec_init() Returns: Length of the prime defining the group in bits
crypto_ec_order_len - Get length of the order in octets @e: EC context from crypto_ec_init() Returns: Length of the order defining the group
struct crypto_ec_point - Elliptic curve point Internal data structure for EC implementation to represent a point. The contents is specific to the used crypto library. crypto_ec_get_b - Get 'b' coefficient of an EC group's curve @e: EC context from crypto_ec_init() Returns: 'b' coefficient (bignum) of the group
crypto_ec_point_invert - Compute inverse of an EC point @e: EC context from crypto_ec_init() @p: EC point to invert (and result of the operation) Returns: 0 on success, -1 on failure
crypto_ec_point_solve_y_coord - Solve y coordinate for an x coordinate @e: EC context from crypto_ec_init() @p: EC point to use for the returning the result @x: x coordinate @y_bit: y-bit (0 or 1) for selecting the y value to use Returns: 0 on success, -1 on failure
crypto_ec_point_cmp - Compare two EC points @e: EC context from crypto_ec_init() @a: EC point @b: EC point Returns: 0 on equal, non-zero otherwise