diff options
author | lloyd <[email protected]> | 2010-06-28 19:54:46 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-06-28 19:54:46 +0000 |
commit | be41b79db735f10d09f5f73e4c2d438cee2d4ab7 (patch) | |
tree | cfdbaf5dbc183587331cc886d30640a050e76fdd /src/cms/cms_algo.cpp | |
parent | 78465d7229c14478b81ecf56fad69a3b598a7415 (diff) |
Give all Filter objects a method for querying their name
Diffstat (limited to 'src/cms/cms_algo.cpp')
-rw-r--r-- | src/cms/cms_algo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cms/cms_algo.cpp b/src/cms/cms_algo.cpp index 748aa73da..686a79b4e 100644 --- a/src/cms/cms_algo.cpp +++ b/src/cms/cms_algo.cpp @@ -31,6 +31,8 @@ SecureVector<byte> do_rfc3217_wrap(RandomNumberGenerator& rng, class Flip_Bytes : public Filter { public: + std::string name() const { return "Fip_Bytes"; } + void write(const byte data[], u32bit length) { buf.append(data, length); |