cryptocheck: Add Chacha20 cipher to tool

This commit is contained in:
Conrad Meyer 2018-03-29 04:14:37 +00:00
parent 510de305b3
commit 39bb4f84d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=331726

View File

@ -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 },