mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-30 12:50:58 +00:00
Drop x25519, use p256 only
This commit is contained in:
1 parent
b68da1548b
commit
37f3ed5ba4
87 files changed
+12928
-32874
No files matched your search
@@ -90,7 +90,7 @@ void mg_tls_ctx_free(struct mg_mgr *);
|
||||
#if MG_TLS == MG_TLS_BUILTIN
|
||||
// Extracts a 32-byte P-256 private scalar from EC PRIVATE KEY or PKCS#8 PRIVATE
|
||||
// KEY input. Accepts PEM or DER. Returns key size, or 0 on error.
|
||||
size_t mg_uecc_parse_private_key(struct mg_str key, uint8_t *buf, size_t len);
|
||||
size_t mg_p256_parse_private_key(struct mg_str key, uint8_t *buf, size_t len);
|
||||
#endif
|
||||
|
||||
// Low-level IO primitives used by TLS layer
|
||||
|
||||
Reference in new issue
Block a user