]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - bcal_aes256.c
updated Makefile
[avr-crypto-lib.git] / bcal_aes256.c
index ac0dd4b09a17e934550d0c2915e22dbeb6ee9ec2..12f56652efc05c4ef3f2a607ffc5898ce7b725fe 100644 (file)
@@ -1,6 +1,6 @@
 /* bcal_aes256.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 aes256_keysize_desc[] PROGMEM = { KS_TYPE_LIST, 1, KS_INT(256),
 
 const bcdesc_t aes256_desc PROGMEM = {
        BCDESC_TYPE_BLOCKCIPHER,
-       BC_INIT_TYPE_2,
+       BC_INIT_TYPE_1,
        aes256_str,
        sizeof(aes256_ctx_t),
        128,
-       {(void_fpt)aes_init},
+       {(void_fpt)aes256_init},
        {(void_fpt)aes256_enc},
        {(void_fpt)aes256_dec},
        (bc_free_fpt)NULL,