14#include <QCryptographicHash>
22 QCryptographicHash::Algorithm mHashAlgorithm;
Definition KeyDerivationFunction.h:20
bool isInitialized() const
Returns true, if initialization succeeded, i.e.
Definition KeyDerivationFunction.cpp:28
QByteArray mac(const QByteArray &pSecret, const QByteArray &pNonce=QByteArray()) const
Derive the MAC key.
Definition KeyDerivationFunction.cpp:40
QByteArray pi(const QByteArray &pSecret) const
Derive the password key.
Definition KeyDerivationFunction.cpp:46
KeyDerivationFunction(const SecurityProtocol &pSecurityProtocol)
Creates a new instance with derivation function algorithm determined by parameter.
Definition KeyDerivationFunction.cpp:17
~KeyDerivationFunction()=default
QByteArray enc(const QByteArray &pSecret, const QByteArray &pNonce=QByteArray()) const
Derive the encryption key.
Definition KeyDerivationFunction.cpp:34
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition ASN1TemplateUtil.h:114