X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fnessie_mac_test.h;h=411d843f5494d56841987a49a4779d27c6887eb2;hb=a5cb349f9d72e0d2c82730647b4f142de6b7e485;hp=ed83133550737f223cf58068e55991096c012f85;hpb=2159c273c9d3361571a6ff1ab63d9bc76582fbab;p=avr-crypto-lib.git diff --git a/test_src/nessie_mac_test.h b/test_src/nessie_mac_test.h index ed83133..411d843 100644 --- a/test_src/nessie_mac_test.h +++ b/test_src/nessie_mac_test.h @@ -1,6 +1,6 @@ /* nessie_mac_test.h */ /* - 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 @@ -21,9 +21,9 @@ #include -typedef void (*nessie_mac_init_fpt)(void* key, uint16_t keysize_b, void* ctx); -typedef void (*nessie_mac_next_fpt)(void* buffer, void* ctx); -typedef void (*nessie_mac_last_fpt)(void* buffer, uint16_t size_b, void* key, uint16_t keysize_b, void* ctx); +typedef void (*nessie_mac_init_fpt)(void* ctx, const void* key, uint16_t keysize_b); +typedef void (*nessie_mac_next_fpt)(void* ctx, const void* buffer); +typedef void (*nessie_mac_last_fpt)(void* ctx, const void* buffer, uint16_t size_b); typedef void (*nessie_mac_conv_fpt)(void* buffer, void* ctx);