nn::crypto::CtrDecryptor Classtemplate <size_t BlockSize> class CtrDecryptor : public nn::crypto::Decryptor
| Name | Description |
|---|---|
BlockSize |
Block size of the targeted block cipher. |
Class for decrypting in CTR mode.
The cipher mode for CTR is as stipulated in NIST SP 800-38A. When implementing this class, use a simple incrementer as the function to increment the counter value.
This class is a template class that has the block size as a template parameter. Use the CtrDecryptor128 type when actually using.
| S |
BLOCK_SIZE
|
const size_t | Constant representing the block size. |
|---|---|---|---|
| S |
IV_SIZE
|
const size_t | Constant representing the IV size. |
| S |
UNIT_SIZE
|
const size_t | Constant representing the processing unit size. |
| V |
GetIvSize
|
Gets the IV size. |
|---|---|---|
| V |
GetUnitSize
|
Gets the processing unit size. |
| V |
Initialize
|
Initializes decryption. |
| V |
Finalize
|
Finalizes decryption in CTR mode. |
| V |
Update
|
Decrypts. |
| V |
UpdateFinal
|
Finalizes decryption. |
| S |
Decrypt
|
Handles batch decryption when in CTR mode. |
nn::crypto::CipherMode
nn::crypto::Decryptor
nn::crypto::CtrDecryptor
CONFIDENTIAL