"tests/build/vscode:/vscode.git/clone" did not exist on "0b13466d3a3273e8545ef66372e7f0b583de1c15"
Commit 8ddb7c6e authored by kokke's avatar kokke
Browse files

Update aes.c

parent b5a39eea
......@@ -473,7 +473,7 @@ static void InvCipher(void)
/* Public functions: */
/*****************************************************************************/
void AES128_ECB_encrypt(uint8_t* input, uint8_t* key, uint8_t *output)
void AES128_ECB_encrypt(uint8_t* input, const uint8_t* key, uint8_t *output)
{
// Copy the Key and CipherText
Key = key;
......@@ -487,7 +487,7 @@ void AES128_ECB_encrypt(uint8_t* input, uint8_t* key, uint8_t *output)
Cipher();
}
void AES128_ECB_decrypt(uint8_t* input, uint8_t* key, uint8_t *output)
void AES128_ECB_decrypt(uint8_t* input, const uint8_t* key, uint8_t *output)
{
Key = key;
in = input;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment