Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1355422 - NSS tool for encryption, r=ttaubert
Summary: Command line tool to encrypt files with aes-gcm and chacha. Can also be used to measure performance of the cipher. Reviewers: ttaubert Differential Revision: https://nss-review.dev.mozaws.net/D245 --HG-- extra : rebase_source : 22afaf20901fab84ffc21f6c66601d17e849bdfb extra : amend_source : 5f04fd9e3fbe6b85f8661fffeca3a6cb64454e28 extra : histedit_source : e90fad41df2e1a6fe055a96061d9ed0700d420f9%2Cefb3b14c62e05059a478b2aa2535d2640dc71291
- Loading branch information
1 parent
87d18bf
commit f8e9d87
Showing
9 changed files
with
593 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
#ifndef tool_h__ | ||
#define tool_h__ | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
class Tool { | ||
public: | ||
virtual bool Run(const std::vector<std::string>& arguments) = 0; | ||
virtual ~Tool() {} | ||
|
||
private: | ||
virtual void Usage() = 0; | ||
}; | ||
|
||
#endif // tool_h__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.