Make default base and identity points accessible

This commit is contained in:
Matthias Schiffer 2015-01-26 06:00:20 +01:00
parent 2320e02317
commit 1591dbfc4d
2 changed files with 28 additions and 23 deletions

View file

@ -55,6 +55,9 @@ typedef struct _ecc_25519_work {
* @{
*/
extern const ecc_25519_work_t ecc_25519_work_identity;
extern const ecc_25519_work_t ecc_25519_work_default_base;
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);