mirror of https://github.com/kokke/tiny-AES-c
parent
4b4b04b8fa
commit
ca85e00de9
2
aes.c
2
aes.c
|
@ -466,7 +466,7 @@ static void InvCipher(state_t* state, const uint8_t* RoundKey)
|
||||||
#if defined(ECB) && (ECB == 1)
|
#if defined(ECB) && (ECB == 1)
|
||||||
|
|
||||||
|
|
||||||
void AES_ECB_encrypt(const struct AES_ctx *ctx, uint8_t* buf)
|
void AES_ECB_encrypt(const struct AES_ctx* ctx, uint8_t* buf)
|
||||||
{
|
{
|
||||||
// The next function call encrypts the PlainText with the Key using AES algorithm.
|
// The next function call encrypts the PlainText with the Key using AES algorithm.
|
||||||
Cipher((state_t*)buf, ctx->RoundKey);
|
Cipher((state_t*)buf, ctx->RoundKey);
|
||||||
|
|
Loading…
Reference in New Issue