KeyDerivationFunctionMode
internal enum KeyDerivationFunctionMode : UInt8
This enum contains all the different modes using to derive session keys.
The KDF input requires a 32-bit, big-endian integer counter c
,
and its value is different according to the session key uses. Here, the following uses/modes are defined:
ENC_MODE
: To derive a session key for encryption.MAC_MODE
: To derive a session key for authentication of data.PACE_MODE
: To derive a session key for the PACE protocol.