1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/crypto: remove deprecated CIPHER_AES_128

This commit is contained in:
Alexandre Abadie 2022-01-07 11:14:10 +01:00
parent f279a66d82
commit 0e977b89ae
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
3 changed files with 1 additions and 10 deletions

View File

@ -72,7 +72,6 @@ static const cipher_interface_t aes_interface = {
aes_decrypt
};
const cipher_id_t CIPHER_AES_128 = &aes_interface;
const cipher_id_t CIPHER_AES = &aes_interface;
static const u32 Te0[256] = {

View File

@ -196,7 +196,7 @@ int fido2_ctap_crypto_aes_ccm_enc(uint8_t *out, size_t out_len,
cipher_t cipher;
int ret;
ret = cipher_init(&cipher, CIPHER_AES_128, key, key_len);
ret = cipher_init(&cipher, CIPHER_AES, key, key_len);
if (ret != 1) {
return CTAP1_ERR_OTHER;

View File

@ -107,14 +107,6 @@ typedef struct cipher_interface_st {
/** Pointer type to BlockCipher-Interface for the Cipher-Algorithms */
typedef const cipher_interface_t *cipher_id_t;
/**
* @brief AES_128 cipher id
*
* @deprecated Use @ref CIPHER_AES instead. Will be removed after 2021.07
* release.
*/
extern const cipher_id_t CIPHER_AES_128;
/**
* @brief AES cipher id
*/