LibLogicalAccess
2.5.0
An Open Source RFID Library
|
#include <MifarePlusAESAuth.hpp>
Public Member Functions | |
MifarePlusAESAuth (std::shared_ptr< ReaderCardAdapter > rca) | |
bool | AESAuthenticate (std::shared_ptr< AES128Key > key, uint16_t keyslot) const |
Private Member Functions | |
bool | aes_auth_step2 (ByteVector rnd_b, std::shared_ptr< AES128Key > key) const |
bool | aes_auth_final (const ByteVector &rnd_a, const ByteVector &rnd_a_reader, std::shared_ptr< AES128Key > key) const |
Private Attributes | |
std::shared_ptr< ReaderCardAdapter > | rca_ |
Implement AES authentication operation for MifarePlus cards.
This is implemented as a separate object to use reuse between various mifare plus.
|
explicit |
|
private |
|
private |
bool logicalaccess::MifarePlusAESAuth::AESAuthenticate | ( | std::shared_ptr< AES128Key > | key, |
uint16_t | keyslot | ||
) | const |
Authenticate a key from a keyslot. This is used for switching security level or AES auth in SL1.
|
private |