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
commit c11bffe989
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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: