Function desfire::comm_mode_most_secure
Defined in File bits.hpp
Function Documentation
-
constexpr comm_mode desfire::comm_mode_most_secure(comm_mode l, comm_mode r)
Returns the most secure communication mode between
l
andr
.- Parameters:
l – Communication mode
r – Communication mode
- Returns:
The most secure of the two, where comm_mode::maced beats comm_mode::plain and comm_mode::ciphered beats comm_mode::maced.