nn::crypto::Decryptor::Initialize Member Function
virtual void Initialize(
const BlockCipher & c,
const void * pIv,
size_t ivSize
) = 0;
| 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. |
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.
CONFIDENTIAL