Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
crys_ec_mont_api.h File Reference
This file contains the CRYS APIs used for EC MONT (Montgomery Curve25519) algorithms. More...
Go to the source code of this file.
Data Structures | |
| struct | CRYS_ECMONT_ScalrMultTempBuff_t |
| struct | CRYS_ECMONT_TempBuff_t |
Enumerations | |
| enum | CRYS_ECMONT_DomainId_t { CRYS_ECMONT_DOMAIN_CURVE_25519, CRYS_ECMONT_DOMAIN_OFF_MODE, CRYS_ECMONT_DOMAIN_LAST = 0x7FFFFFFF } |
Functions | |
| CIMPORT_C CRYSError_t | CRYS_ECMONT_Scalarmult (uint8_t *pResPoint, size_t *pResPointSize, const uint8_t *pScalar, size_t scalarSize, const uint8_t *pInPoint, size_t inPointSize, CRYS_ECMONT_TempBuff_t *pEcMontTempBuff) |
| The function performs EC Montgomery (Curve25519) scalar multiplication: resPoint = scalar * point. | |
| CIMPORT_C CRYSError_t | CRYS_ECMONT_ScalarmultBase (uint8_t *pResPoint, size_t *pResPointSize, const uint8_t *pScalar, size_t scalarSize, CRYS_ECMONT_TempBuff_t *pEcMontTempBuff) |
| The function performs EC Montgomery (Curve25519) scalar multiplication of base point: res = scalar * base_point. | |
| CIMPORT_C CRYSError_t | CRYS_ECMONT_KeyPair (uint8_t *pPublKey, size_t *pPublKeySize, uint8_t *pSecrKey, size_t *pSecrKeySize, void *pRndState, SaSiRndGenerateVectWorkFunc_t rndGenerateVectFunc, CRYS_ECMONT_TempBuff_t *pEcMontTempBuff) |
| The function randomly generates private and public keys for Montgomery Curve25519. | |
| CIMPORT_C CRYSError_t | CRYS_ECMONT_SeedKeyPair (uint8_t *pPublKey, size_t *pPublKeySize, uint8_t *pSecrKey, size_t *pSecrKeySize, const uint8_t *pSeed, size_t seedSize, CRYS_ECMONT_TempBuff_t *pEcMontTempBuff) |
| The function generates private and public keys for Montgomery algorithms. | |
Detailed Description
This file contains the CRYS APIs used for EC MONT (Montgomery Curve25519) algorithms.
Definition in file crys_ec_mont_api.h.
Generated on Tue Jul 12 2022 12:46:24 by
1.7.2