forked from wolfSSL/wolfssl
Merge pull request #2140 from JacobBarthelmeh/Testing
adjust comments on key type for function
This commit is contained in:
@@ -3819,14 +3819,14 @@ int Ed25519CheckPubKey(WOLFSSL* ssl)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sign the data using EdDSA and key using X25519.
|
/* Sign the data using EdDSA and key using Ed25519.
|
||||||
*
|
*
|
||||||
* ssl SSL object.
|
* ssl SSL object.
|
||||||
* in Data or message to sign.
|
* in Data or message to sign.
|
||||||
* inSz Length of the data.
|
* inSz Length of the data.
|
||||||
* out Buffer to hold signature.
|
* out Buffer to hold signature.
|
||||||
* outSz On entry, size of the buffer. On exit, the size of the 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.
|
* keySz The length of the private key data in bytes.
|
||||||
* ctx The callback context.
|
* ctx The callback context.
|
||||||
* returns 0 on success, otherwise the value is an error.
|
* 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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Verify the data using EdDSA and key using X25519.
|
/* Verify the data using EdDSA and key using Ed25519.
|
||||||
*
|
*
|
||||||
* ssl SSL object.
|
* ssl SSL object.
|
||||||
* in Signature data.
|
* in Signature data.
|
||||||
* inSz Length of the signature data in bytes.
|
* inSz Length of the signature data in bytes.
|
||||||
* msg Message to verify.
|
* msg Message to verify.
|
||||||
* outSz Length of message in bytes.
|
* 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.
|
* keySz The length of the private key data in bytes.
|
||||||
* ctx The callback context.
|
* ctx The callback context.
|
||||||
* returns 0 on success, otherwise the value is an error.
|
* returns 0 on success, otherwise the value is an error.
|
||||||
|
Reference in New Issue
Block a user