]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - test_src/nessie_bc_test.h
fixing some warnings (AES); simplifyning AES headers (now simply include "aes.h"...
[avr-crypto-lib.git] / test_src / nessie_bc_test.h
index 1bab98cd2d83d7601bd73d30853f32f5c606218a..350ea4bd637adb6dbdf9d0016c395c2ce5693906 100644 (file)
@@ -1,6 +1,6 @@
 /* nessie_bc_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
 
 #include <stdint.h>
 
-typedef void (*nessie_bc_gen_fpt)(uint8_t* key, uint16_t keysize_b, void* ctx);
+typedef void (*nessie_bc_gen_fpt)(const uint8_t* key, uint16_t keysize_b, void* ctx);
 typedef void (*nessie_bc_free_fpt)(void* ctx);
-typedef void (*nessie_bc_enc_fpt)(void* buffer, void* ctx);
-typedef void (*nessie_bc_dec_fpt)(void* buffer, void* ctx);
+typedef void (*nessie_bc_enc_fpt)(void* buffer, const void* ctx);
+typedef void (*nessie_bc_dec_fpt)(void* buffer, const void* ctx);
 
 typedef struct nessie_bc_ctx_st{
        uint16_t keysize_b;