Function Prototypes:ttCryptoGetRandomWordFunc

Jump to: navigation, search
int ttCryptoGetRandomWordFunc (
ttUser32Bit * dataPtr,
ttUser16Bit wordSize
);


Function Description

This function get random word (four bytes).


Parameters

  • dataPtr
    Pointer to the place to hold the random number
  • wordSize
    Random number size, in word (four-bytes) size.


Returns

  • TM_ENOERROR
    Success.
  • Other
    Failure.