mirror of
https://github.com/neocturne/libuecc.git
synced 2025-07-06 23:19:07 +02:00
Check points for validity on load
This commit is contained in:
parent
131597e511
commit
a88af14481
2 changed files with 38 additions and 12 deletions
|
@ -65,10 +65,10 @@ typedef struct _ecc_25519_work {
|
|||
* @{
|
||||
*/
|
||||
|
||||
void ecc_25519_load_xy(ecc_25519_work_t *out, const ecc_int256_t *x, const ecc_int256_t *y);
|
||||
int ecc_25519_load_xy(ecc_25519_work_t *out, const ecc_int256_t *x, const ecc_int256_t *y);
|
||||
void ecc_25519_store_xy(ecc_int256_t *x, ecc_int256_t *y, const ecc_25519_work_t *in);
|
||||
|
||||
void ecc_25519_load_packed(ecc_25519_work_t *out, const ecc_int256_t *in);
|
||||
int ecc_25519_load_packed(ecc_25519_work_t *out, const ecc_int256_t *in);
|
||||
void ecc_25519_store_packed(ecc_int256_t *out, const ecc_25519_work_t *in);
|
||||
|
||||
int ecc_25519_is_identity(const ecc_25519_work_t *in);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue