X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=aes192_enc.c;h=05cb71b3b4f4e0afe98b84fd80f4c5bba3116ecb;hb=7701e318e4e2bac7f84dbf6e368f1501814948fc;hp=a5d083064fb6ca0f833e12b9d0acffc52fc49ca0;hpb=d6a35f05fd2b5ee79d5ad8424434ad1a068be453;p=avr-crypto-lib.git diff --git a/aes192_enc.c b/aes192_enc.c index a5d0830..05cb71b 100644 --- a/aes192_enc.c +++ b/aes192_enc.c @@ -1,6 +1,6 @@ /* aes192_enc.c */ /* - This file is part of the Crypto-avr-lib/microcrypt-lib. + This file is part of the AVR-Crypto-Lib. Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de) This program is free software: you can redistribute it and/or modify @@ -29,9 +29,6 @@ #include "aes_enc.h" void aes192_enc(void* buffer, aes192_ctx_t* ctx){ - aes_cipher_state_t state; - aes_buffer2state(state.s, buffer); - aes_encrypt_core(&state, (aes_genctx_t*)ctx, 12); - aes_buffer2state(buffer, state.s); + aes_encrypt_core(buffer, (aes_genctx_t*)ctx, 12); }