Template Function desfire::set_key_version
Defined in File crypto_algo.hpp
Function Documentation
-
template<class Container>
void desfire::set_key_version(Container &c, std::uint8_t v) Unpacks the byte
v
, bit by bit, onto the least significant bit of each element ofc
. This will overwrite the lsb of the first 8 elements ofc
.- Template Parameters:
Container – Any container that is range-enumerable of
std::uint8_t
.- Parameters:
c – Container of the key body.
v – Version byte.