Delete AES/aes.h

This commit is contained in:
sameuric
2025-03-22 14:28:42 +01:00
committed by GitHub
parent 9d3c60ac86
commit 56de501ae9

View File

@@ -1,28 +0,0 @@
/**
* AES.h -- AES implementation v1.0
* ------------------------------------------------------------
*
* Reference:
* https://doi.org/10.6028/NIST.FIPS.197-upd1
*
* This AES implementation has been written by
* Sacha Meurice (https://github.com/sameuric).
*
* 2025, Licence: MIT.
*/
#pragma once
#include <stdint.h>
// AES constants
#define AES_KEY_SIZE 16
#define AES_BLOCK_SIZE 16
#define AES_PARAM_SIZE 2 * AES_BLOCK_SIZE
#define AES_ROUNDS 10
#define ROTL8(x,shift) ((uint8_t) ((x) << (shift)) | ((x) >> (8 - (shift))))
void AES_init();
void AES_encrypt(uint8_t*, const uint8_t*);