* @since_tizen 3.0
* @remarks This function is used to generate private asymmetric keys
* based on pre-generated parameters.
+ * @remarks This function does not support RSA keys, as it's not possible
+ * to extract parameters from them.
* @remarks The @a key should be released using yaca_key_destroy().
* @param[in] params Pre-generated parameters
* @param[out] prv_key Newly generated private key
* @brief Extracts parameters from a private or a public key.
* @since_tizen 3.0
* @remarks The @a params should be released using yaca_key_destroy().
+ * @remarks This function does not support RSA keys.
* @param[in] key A key to extract the parameters from
* @param[out] params Extracted parameters
* @return #YACA_ERROR_NONE on success,
/**
* @brief Derives a shared secret using Diffie-Helmann or EC Diffie-Helmann key exchange protocol.
* @since_tizen 3.0
- * @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)
+ * @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 The @a secret should be freed with yaca_free().
* @param[in] prv_key Our private key
* @param[in] pub_key Peer public key