Skip to content

Commit

Permalink
Add aes-256-xts to EVP_get_cipherbyname (aws#1707)
Browse files Browse the repository at this point in the history
EVP_get_cipherbyname() is deprecated. But cryptsetup use it to query for the implementation of XTS.
  • Loading branch information
torben-hansen authored Jul 16, 2024
1 parent 292d9b6 commit 0f88d20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/cipher_extra/cipher_extra.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ static const struct {
{NID_aes_256_ecb, "aes-256-ecb", EVP_aes_256_ecb},
{NID_aes_256_gcm, "aes-256-gcm", EVP_aes_256_gcm},
{NID_aes_256_ofb128, "aes-256-ofb", EVP_aes_256_ofb},
{NID_aes_256_xts, "aes-256-xts", EVP_aes_256_xts},
{NID_chacha20_poly1305, "chacha20-poly1305", EVP_chacha20_poly1305},
{NID_des_cbc, "des-cbc", EVP_des_cbc},
{NID_des_ecb, "des-ecb", EVP_des_ecb},
Expand Down

0 comments on commit 0f88d20

Please sign in to comment.