aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/gost_28147/gost_28147.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/gost_28147/gost_28147.h')
-rw-r--r--src/block/gost_28147/gost_28147.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/block/gost_28147/gost_28147.h b/src/block/gost_28147/gost_28147.h
index 98eaba870..96d24c669 100644
--- a/src/block/gost_28147/gost_28147.h
+++ b/src/block/gost_28147/gost_28147.h
@@ -25,6 +25,8 @@ class GOST_28147_89_Params
public:
byte sbox_entry(u32bit row, u32bit col) const;
+ std::string param_name() const { return name; }
+
/**
* Default GOST parameters are the ones given in GOST R 34.11 for
* testing purposes; these sboxes are also used by Crypto++, and,
@@ -32,10 +34,8 @@ class GOST_28147_89_Params
*/
GOST_28147_89_Params(const std::string& name = "R3411_94_TestParam");
private:
- static const byte GOST_R_3411_TEST_PARAMS[64];
- static const byte GOST_R_3411_CRYPTOPRO_PARAMS[64];
-
const byte* sboxes;
+ std::string name;
};
/**