nn::crypto::Aes::SetKey Member Function
virtual void SetKey(
const void * pKey,
size_t keySize
);
| Name | Description | |
|---|---|---|
| in | pKey | Pointer to the key data. |
| in | keySize | Size in bytes of the key data pointed to by pKey. This value must match the value obtained by calling the GetKeySize function. |
Sets the key.
Sets the key used for encryption and/or decryption.
The function returns without doing anything if the value in keySize does not match the value returned by the GetKeySize function.
CONFIDENTIAL