From 012bc7f76d2bbabb22b2a559a1b52d6505fe1916 Mon Sep 17 00:00:00 2001 From: SergeyBel Date: Wed, 14 Feb 2024 22:36:42 +0300 Subject: [PATCH] fix header --- README.md | 1 - src/AES.h | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 555bdb7..feaa626 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,6 @@ This library does not provide any padding because padding is not part of AES sta # Development: 1. `git clone https://github.com/SergeyBel/AES.git` -1. `docker-compose build` 1. `docker-compose up -d` 1. use make commands diff --git a/src/AES.h b/src/AES.h index 3d0c16b..ec8d4e4 100644 --- a/src/AES.h +++ b/src/AES.h @@ -50,10 +50,10 @@ class AES { void KeyExpansion(const unsigned char key[], unsigned char w[]); void EncryptBlock(const unsigned char in[], unsigned char out[], - unsigned char key[]); + unsigned char *roundKeys); void DecryptBlock(const unsigned char in[], unsigned char out[], - unsigned char key[]); + unsigned char *roundKeys); void XorBlocks(const unsigned char *a, const unsigned char *b, unsigned char *c, unsigned int len);