aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2018-03-29 04:14:37 +0000
committerConrad Meyer <cem@FreeBSD.org>2018-03-29 04:14:37 +0000
commit39bb4f84d4e389bae5e242500e5ce1705496fa7b (patch)
treeaa0f72b06662fe4c26db7b6b69aa612a8c976486 /tools
parent510de305b36dd9a9d45e07361dfc9f5840e713a0 (diff)
Notes
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/crypto/cryptocheck.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/tools/crypto/cryptocheck.c b/tools/tools/crypto/cryptocheck.c
index 31f937139a5e..d5fb8a8c3bd7 100644
--- a/tools/tools/crypto/cryptocheck.c
+++ b/tools/tools/crypto/cryptocheck.c
@@ -96,6 +96,7 @@
* aes-ctr256 256-bit aes ctr
* aes-xts 128-bit aes xts
* aes-xts256 256-bit aes xts
+ * chacha20
*
* Authenticated Encryption:
* <block cipher>+<hmac>
@@ -162,6 +163,8 @@ struct alg {
.evp_cipher = EVP_aes_128_xts },
{ .name = "aes-xts256", .cipher = CRYPTO_AES_XTS, .type = T_BLKCIPHER,
.evp_cipher = EVP_aes_256_xts },
+ { .name = "chacha20", .cipher = CRYPTO_CHACHA20, .type = T_BLKCIPHER,
+ .evp_cipher = EVP_chacha20 },
{ .name = "aes-gcm", .cipher = CRYPTO_AES_NIST_GCM_16,
.mac = CRYPTO_AES_128_NIST_GMAC, .type = T_GCM,
.evp_cipher = EVP_aes_128_gcm },