1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Merge pull request #5139 from mprse/key_der_ecc

PSA: implement key derivation for ECC keys
This commit is contained in:
Manuel Pégourié-Gonnard
2022-03-14 09:17:13 +01:00
committed by GitHub
7 changed files with 555 additions and 18 deletions

View File

@ -553,6 +553,9 @@
((type) & PSA_KEY_TYPE_ECC_CURVE_MASK) : \
0))
/** Check if the curve of given family is Weierstrass elliptic curve. */
#define PSA_ECC_FAMILY_IS_WEIERSTRASS(family) ((family & 0xc0) == 0)
/** SEC Koblitz curves over prime fields.
*
* This family comprises the following curves: