SetKey

nn::crypto::BlockCipher::SetKey Member Function

Syntax

virtual void SetKey(
     const void * pKey,
     size_t keySize
) = 0;

Parameters

Name Description
in pKey Pointer to the key data.
in keySize Size in bytes of the key data pointed to by pKey.

Return Values

None.

Description

Sets the key.

Sets the key used for encryption and/or decryption.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL