Delete unused ROUNDS macro
This macro was used in the reference and AES-NI AES implementations,
both of which were deleted in a563093f16.
This commit is contained in:
committed by
Alex Chernyakhovsky
parent
e5e62b4c76
commit
0a30c5acd5
@@ -388,11 +388,6 @@ typedef struct {
|
||||
CCCryptorRef ref;
|
||||
uint8_t b[4096];
|
||||
} AES_KEY;
|
||||
#if (OCB_KEY_LEN == 0)
|
||||
#define ROUNDS(ctx) ((ctx)->rounds)
|
||||
#else
|
||||
#define ROUNDS(ctx) (6+OCB_KEY_LEN/4)
|
||||
#endif
|
||||
|
||||
static inline void AES_set_encrypt_key(unsigned char *handle, const int bits, AES_KEY *key)
|
||||
{
|
||||
@@ -473,11 +468,6 @@ static inline void AES_ecb_decrypt_blks(block *blks, unsigned nblks, AES_KEY *ke
|
||||
#include <nettle/aes.h>
|
||||
|
||||
typedef struct aes_ctx AES_KEY;
|
||||
#if (OCB_KEY_LEN == 0)
|
||||
#define ROUNDS(ctx) ((ctx)->rounds)
|
||||
#else
|
||||
#define ROUNDS(ctx) (6+OCB_KEY_LEN/4)
|
||||
#endif
|
||||
|
||||
static inline void AES_set_encrypt_key(unsigned char *handle, const int bits, AES_KEY *key)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user