TSDuck v3.40-4033
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::CTS1< CIPHER > Class Template Reference

Cipher text Stealing (CTS) mode, alternative 1. More...

#include <tsCTS1.h>

Inheritance diagram for ts::CTS1< CIPHER >:
Collaboration diagram for ts::CTS1< CIPHER >:

Public Member Functions

 CTS1 ()
 Default constructor.
 

Static Protected Member Functions

static const BlockCipherPropertiesPROPERTIES ()
 Properties of this algorithm.
 

Detailed Description

template<class CIPHER>
requires std::derived_from<CIPHER, ts::BlockCipher>
class ts::CTS1< CIPHER >

Cipher text Stealing (CTS) mode, alternative 1.

Several incompatible designs of CTS exist. This one implements the description in:

CTS can process a residue. The plain text and cipher text sizes must be greater than the block size of the underlying block cipher.

Template Parameters
CIPHERA subclass of ts::BlockCipher, the underlying block cipher.

Member Function Documentation

◆ PROPERTIES()

template<class CIPHER >
static const BlockCipherProperties & ts::CTS1< CIPHER >::PROPERTIES ( )
inlinestaticprotected

Properties of this algorithm.

Returns
A constant reference to the properties.

The documentation for this class was generated from the following file: