2011-01-02 07:47:44 +01:00
|
|
|
#ifndef KEYSBIN_H
|
|
|
|
#define KEYSBIN_H
|
|
|
|
|
|
|
|
#include "includes.h"
|
|
|
|
|
|
|
|
//quick class for grabbing some stuff from a keys.bin from bootmii ( should be 0x400 bytes )
|
|
|
|
class KeysBin
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
KeysBin( QByteArray stuff = QByteArray() );
|
|
|
|
|
2011-01-03 11:21:34 +01:00
|
|
|
const QByteArray Otp();
|
|
|
|
const QByteArray Seeprom();
|
|
|
|
|
|
|
|
const QByteArray Boot1Hash();
|
|
|
|
const QByteArray CommonKey();
|
|
|
|
const QByteArray RngKey();
|
2011-01-02 07:47:44 +01:00
|
|
|
const QByteArray NG_ID();
|
|
|
|
const QByteArray NG_key_ID();
|
|
|
|
const QByteArray NG_Sig();
|
|
|
|
const QByteArray NG_Priv();
|
|
|
|
const QByteArray NandKey();
|
|
|
|
const QByteArray HMac();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QByteArray data;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // KEYSBIN_H
|