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:
parent
f279a66d82
commit
0e977b89ae
@ -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] = {
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user