Add nettle to the CI matrix
This commit is contained in:
committed by
Alex Chernyakhovsky
parent
13d73a6144
commit
e5e62b4c76
@@ -467,6 +467,9 @@ static inline void AES_ecb_decrypt_blks(block *blks, unsigned nblks, AES_KEY *ke
|
||||
#elif USE_NETTLE_AES
|
||||
/*-------------------*/
|
||||
|
||||
// TODO(Issue 1202): Stop using deprecated nettle APIs
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#include <nettle/aes.h>
|
||||
|
||||
typedef struct aes_ctx AES_KEY;
|
||||
@@ -502,6 +505,8 @@ static inline void AES_ecb_decrypt_blks(block *blks, unsigned nblks, AES_KEY *ke
|
||||
|
||||
#define BPI 4 /* Number of blocks in buffer per ECB call */
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#else
|
||||
#error "No AES implementation selected."
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user