Function desfire::app_crypto_from_cipher

Function Documentation

constexpr app_crypto desfire::app_crypto_from_cipher(cipher_type c)

Converts the cipher_type into its corresponding app_crypto value.

Parameters:

c – Cipher type

Returns:

Basically simply collapses 2K3DES, DES and none ciphers into app_crypto::legacy_des_2k3des.