aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/encryption.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2018-02-28 12:48:18 +0100
committerSimon Warta <[email protected]>2018-02-28 12:48:18 +0100
commitdc5782313299b2ead236cf2a333a2e0562073ca0 (patch)
tree11aa3a55f58193ec74d8c56b3d4e8eb642033093 /src/cli/encryption.cpp
parent804863233afb9c9804b2570b4ae3777399774275 (diff)
Implement chacha20poly1305 in botan CLI
Diffstat (limited to 'src/cli/encryption.cpp')
-rw-r--r--src/cli/encryption.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cli/encryption.cpp b/src/cli/encryption.cpp
index 533b3d9fb..c17b00dbb 100644
--- a/src/cli/encryption.cpp
+++ b/src/cli/encryption.cpp
@@ -28,6 +28,7 @@ auto VALID_MODES = std::map<std::string, std::string>{
{ "aes-128-ocb", "AES-128/OCB" },
{ "aes-128-xts", "AES-128/XTS" },
{ "aes-256-xts", "AES-256/XTS" },
+ { "chacha20poly1305", "ChaCha20Poly1305" },
};
Botan::secure_vector<uint8_t>