Commit d385ae9
committed
add Ed25519 and Ed448 support to the EVP_PKEY layer
- Add WC_EVP_PKEY_ED25519 / WC_EVP_PKEY_ED448 type constants and
matching EVP_PKEY_ED25519 / EVP_PKEY_ED448 OpenSSL aliases.
- Extend WOLFSSL_EVP_PKEY with ed25519/ed448 fields and ownership
bits, and free them in wolfSSL_EVP_PKEY_free().
- Add d2i probe functions that accept both SubjectPublicKeyInfo /
PKCS#8 PrivateKeyInfo encodings and raw 32/57-byte key material,
and hook them into the d2i_evp_pkey_try() chain.
- Map the Ed25519/Ed448 signature OIDs in the relevant lookups and
teach the PEM key-format dispatch and SSL_CTX_use_PrivateKey
switch about the new types.1 parent 89dac98 commit d385ae9
7 files changed
Lines changed: 353 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6262 | 6262 | | |
6263 | 6263 | | |
6264 | 6264 | | |
| 6265 | + | |
| 6266 | + | |
| 6267 | + | |
| 6268 | + | |
| 6269 | + | |
| 6270 | + | |
| 6271 | + | |
| 6272 | + | |
| 6273 | + | |
| 6274 | + | |
6265 | 6275 | | |
6266 | 6276 | | |
6267 | 6277 | | |
| |||
6409 | 6419 | | |
6410 | 6420 | | |
6411 | 6421 | | |
| 6422 | + | |
| 6423 | + | |
| 6424 | + | |
| 6425 | + | |
| 6426 | + | |
| 6427 | + | |
| 6428 | + | |
| 6429 | + | |
| 6430 | + | |
| 6431 | + | |
6412 | 6432 | | |
6413 | 6433 | | |
6414 | 6434 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17747 | 17747 | | |
17748 | 17748 | | |
17749 | 17749 | | |
| 17750 | + | |
| 17751 | + | |
| 17752 | + | |
| 17753 | + | |
| 17754 | + | |
| 17755 | + | |
| 17756 | + | |
| 17757 | + | |
17750 | 17758 | | |
17751 | 17759 | | |
17752 | 17760 | | |
| |||
18131 | 18139 | | |
18132 | 18140 | | |
18133 | 18141 | | |
| 18142 | + | |
| 18143 | + | |
| 18144 | + | |
| 18145 | + | |
| 18146 | + | |
| 18147 | + | |
| 18148 | + | |
| 18149 | + | |
18134 | 18150 | | |
18135 | 18151 | | |
18136 | 18152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5256 | 5256 | | |
5257 | 5257 | | |
5258 | 5258 | | |
| 5259 | + | |
| 5260 | + | |
| 5261 | + | |
| 5262 | + | |
| 5263 | + | |
| 5264 | + | |
| 5265 | + | |
| 5266 | + | |
| 5267 | + | |
| 5268 | + | |
| 5269 | + | |
| 5270 | + | |
5259 | 5271 | | |
5260 | 5272 | | |
5261 | 5273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| |||
11679 | 11685 | | |
11680 | 11686 | | |
11681 | 11687 | | |
| 11688 | + | |
| 11689 | + | |
| 11690 | + | |
| 11691 | + | |
| 11692 | + | |
| 11693 | + | |
| 11694 | + | |
| 11695 | + | |
| 11696 | + | |
| 11697 | + | |
| 11698 | + | |
| 11699 | + | |
| 11700 | + | |
| 11701 | + | |
| 11702 | + | |
| 11703 | + | |
| 11704 | + | |
| 11705 | + | |
| 11706 | + | |
| 11707 | + | |
11682 | 11708 | | |
11683 | 11709 | | |
11684 | 11710 | | |
| |||
0 commit comments