Initialize

nn::crypto::Decryptor::Initialize Member Function

Syntax

virtual void Initialize(
     const BlockCipher & c,
     const void * pIv,
     size_t ivSize
) = 0;

Parameters

Name Description
in c Instance of the block cipher implementation used in decryption.
in pIv Pointer to the buffer storing the IV.
in ivSize IV size in bytes.

Return Values

None.

Description

Initializes decryption.

For c, specify the same key used in encryption for the block cipher of the same algorithm used in encryption.

Specify a pointer to an IV object in pIv, and its size in ivSize. You must specify the same IV value as the one used for encryption.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL