Template Class desfire::key_storage

Inheritance Relationships

Derived Types

Class Documentation

template<std::size_t KeyLength, bool ParityBitsAreVersion>
class key_storage

Templated struct used only for specialization puposes. This is a mixin holding the key body.

Template Parameters:
  • KeyLength – Length of the key.

  • ParityBitsAreVersion – Whether the parity (LSB) bits of the key body hold the key version.

Subclassed by desfire::key_base< 16, false, key< cipher_type::aes128 > >, desfire::key_base< 8, true, key< cipher_type::des > >, desfire::key_base< 16, true, key< cipher_type::des3_2k > >, desfire::key_base< 24, true, key< cipher_type::des3_3k > >, desfire::key_base< KeyLength, ParityBitsAreVersion, CRTPSubclass >