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

Merge pull request #5624 from superna9999/5312-tls-server-ecdh

TLS ECDH 3b: server-side static ECDH (1.2)
This commit is contained in:
Manuel Pégourié-Gonnard
2022-04-07 11:46:25 +02:00
committed by GitHub
8 changed files with 147 additions and 23 deletions

View File

@ -923,7 +923,8 @@ int mbedtls_pk_load_file( const char *path, unsigned char **buf, size_t *n );
* change or be removed at any time without notice.
*
* \note Only ECDSA keys are supported so far. Signing with the
* specified hash is the only allowed use of that key.
* specified hash & ECDH key agreement derivation operation
* are the only allowed use of that key.
*
* \param pk Input: the EC key to import to a PSA key.
* Output: a PK context wrapping that PSA key.