Clarification for key_derive_dh, EC keys are also accepted 96/160696/1
authorLukasz Pawelczyk <l.pawelczyk@samsung.com>
Fri, 17 Nov 2017 14:20:36 +0000 (15:20 +0100)
committerLukasz Pawelczyk <l.pawelczyk@samsung.com>
Fri, 17 Nov 2017 14:21:51 +0000 (15:21 +0100)
Change-Id: I763712bb97de47267ebd1303bc3718c573edb164

api/yaca/yaca_key.h

index bf871f63b82d737e7226aca3d8e64694a4c9192f..4f82cd9dc91db7e88cfd030172aa10b230f1d70d 100644 (file)
@@ -282,7 +282,7 @@ int yaca_key_extract_parameters(const yaca_key_h key, yaca_key_h *params);
  * @remarks The @a secret should not be used as a symmetric key.
  *          To produce a symmetric key pass the secret to a key derivation function (KDF)
  *          or a message digest function.
- * @remarks Both the keys passed should be of DH type.
+ * @remarks Both the keys passed should be of DH or EC type.
  * @remarks The @a secret should be freed with yaca_free().
  * @param[in] prv_key Our private key
  * @param[in] pub_key Peer public key