adjust comments on key type for function

This commit is contained in:
Jacob Barthelmeh
2019-03-05 10:53:10 -07:00
parent da27a4da10
commit dc3b81f633

View File

@ -3819,14 +3819,14 @@ int Ed25519CheckPubKey(WOLFSSL* ssl)
return ret;
}
/* Sign the data using EdDSA and key using X25519.
/* Sign the data using EdDSA and key using Ed25519.
*
* ssl SSL object.
* in Data or message to sign.
* inSz Length of the data.
* out Buffer to hold signature.
* outSz On entry, size of the buffer. On exit, the size of the signature.
* key The private X25519 key data.
* key The private Ed25519 key data.
* keySz The length of the private key data in bytes.
* ctx The callback context.
* returns 0 on success, otherwise the value is an error.
@ -3881,14 +3881,14 @@ int Ed25519Sign(WOLFSSL* ssl, const byte* in, word32 inSz, byte* out,
return ret;
}
/* Verify the data using EdDSA and key using X25519.
/* Verify the data using EdDSA and key using Ed25519.
*
* ssl SSL object.
* in Signature data.
* inSz Length of the signature data in bytes.
* msg Message to verify.
* outSz Length of message in bytes.
* key The public X25519 key data.
* key The public Ed25519 key data.
* keySz The length of the private key data in bytes.
* ctx The callback context.
* returns 0 on success, otherwise the value is an error.