Skip to main content

_Diag_GenerateKeyResult

Valid for: CANoe DE

Function Syntax

void _Diag_GenerateKeyResult(long result, BYTE computedKey[]);

Description

Indicates the result of the security key computation which was started with DiagStartGenerateKeyFromSeed.

Parameters

  • result:
    • 0: Success
    • other: Error code
  • computedKey: Key as returned by the Seed & Key DLL, if any.

Return Values

Example

See: DiagStartGenerateKeyFromSeed Seed & Key DLL / Security AccessdiagStartGenerateKeyFromSeeddiagGenerateKeyFromSeedTestWaitForGenerateKeyFromSeed