Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
SecurityLocalVerifyEd25519
CAPL Functions » Security » SecurityLocalVerifyEd25519 Valid for: CANoe DE • CANoe4SW DEFunction Syntax
SecurityLocalVerifyEd25519(byte[] PublicKey, dword PublicKeyLength, byte[] Data, dword DataLength, byte[] Signature, dword SignatureLength, dword& VerificationResult)
Description
Verifies signature of data signed with Ed25519 signing algorithm.Parameters
- publicKey: The public key to be used for verification.
- publicKeyLength: Size of Public key to be used for signature verification. Expected size is 32 bytes for Ed25519.
- data: Buffer containing the data to be verified.
- dataLength: Size of the buffer to be verified. Maximum size is 65536 bytes.
- signature: Buffer containing the signature.
- signatureLength: Length of the signature, expected size is 64 bytes.
- verificationResult [OUT]: Result of the signature verification.
Return Values
- 1: Success. A value of 1 means that the action was successful.
- <= 0: Error. A value less than or equal to 0 means error.