X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=bcal_aes128.c;h=946d7a978ab9c73e601a11c2342d8fe2169fdcbd;hb=ccd0f3b167feb23fd6d746affe6736b114643bcc;hp=5860943ad0eb29c0e28b8168f451c5b2521e7928;hpb=17332291e15183d71d88ed868275e3cb53917180;p=avr-crypto-lib.git diff --git a/bcal_aes128.c b/bcal_aes128.c index 5860943..946d7a9 100644 --- a/bcal_aes128.c +++ b/bcal_aes128.c @@ -1,6 +1,6 @@ /* bcal_aes128.c */ /* - This file is part of the This file is part of the AVR-Crypto-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 @@ -41,11 +41,11 @@ const uint8_t aes128_keysize_desc[] PROGMEM = { KS_TYPE_LIST, 1, KS_INT(128), const bcdesc_t aes128_desc PROGMEM = { BCDESC_TYPE_BLOCKCIPHER, - BC_INIT_TYPE_2, + BC_INIT_TYPE_1, aes128_str, sizeof(aes128_ctx_t), 128, - {(void_fpt)aes_init}, + {(void_fpt)aes128_init}, {(void_fpt)aes128_enc}, {(void_fpt)aes128_dec}, (bc_free_fpt)NULL,