Merge pull request #5139 from mprse/key_der_ecc
PSA: implement key derivation for ECC keys
This commit is contained in:
commit
c11bffe989
7 changed files with 555 additions and 18 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue