SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
predictaes128front.h
Go to the documentation of this file.
1 /*
2 * SICAK - SIde-Channel Analysis toolKit
3 * Copyright (C) 2018 Petr Socha, FIT, CTU in Prague
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 */
18 
29 #ifndef PREDICTAES128FRONT_H
30 #define PREDICTAES128FRONT_H
31 
32 #include <QObject>
33 #include <QtPlugin>
34 #include "blockprocess.h"
35 #include "exceptions.hpp"
36 
44 class PredictAES128Front : public QObject, BlockProcess {
45 
46  Q_OBJECT
47  Q_PLUGIN_METADATA(IID "cz.cvut.fit.Sicak.BlockProcessInterface/1.0" FILE "predictaes128front.json")
48  Q_INTERFACES(BlockProcess)
49 
50 public:
51 
53  virtual ~PredictAES128Front() override;
54 
55  virtual QString getPluginName() override;
56  virtual QString getPluginInfo() override;
57 
58  virtual void init(const char * param) override;
59  virtual void deInit() override;
60 
62  virtual void processBlockData(MatrixType<uint8_t> & data, const char * id) override;
63 
64 protected:
65 
66 
67 
68 };
69 
70 #endif /* PREDICTAES128FRONT_H */
71 
An abstract class, representing all the matrix-like data types.
Definition: types_basic.hpp:132
AES-128 first round S-box Hamming weight power predictions SICAK BlockProcess plugin.
Definition: predictaes128front.h:44
This header file contains exceptions.
virtual void init(const char *param) override
Initialize the plugin.
Definition: predictaes128front.cpp:55
virtual QString getPluginInfo() override
Plugin info.
Definition: predictaes128front.cpp:51
Block processing plugin interface for use e.g. in prep.
Block data processing QT plugin interface.
Definition: blockprocess.h:42
virtual void deInit() override
Deinitialize the plugin.
Definition: predictaes128front.cpp:60
virtual void processBlockData(MatrixType< uint8_t > &data, const char *id) override
Creates new file containing power predictions based on data matrix, 16 cols wide and N rows tall.
Definition: predictaes128front.cpp:83
virtual QString getPluginName() override
Plugin name.
Definition: predictaes128front.cpp:47