X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=present%2Fpresent_common.h;h=240b35d3b003c408175687fcbfa4049cf9892b75;hb=d9352fc79fbdee0cf3288809b104ea196ea85693;hp=f1d7ea4a9481c1238a0a7f2244b82efb8fdb548f;hpb=7715ef86b09869014eb5afd319e4acc2ce157b00;p=avr-crypto-lib.git diff --git a/present/present_common.h b/present/present_common.h index f1d7ea4..240b35d 100644 --- a/present/present_common.h +++ b/present/present_common.h @@ -1,7 +1,7 @@ /* present_common.h */ /* This file is part of the AVR-Crypto-Lib. - Copyright (C) 2008 Daniel Otte (daniel.otte@rub.de) + Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,11 +23,11 @@ uint8_t present_sbox(uint8_t b); uint8_t present_sbox_inv(uint8_t b); -void present_p(uint8_t* o, uint8_t* i); +void present_p(uint8_t *o, uint8_t *i); -void present_generic_enc(void* buffer, uint8_t* ctx, uint8_t ksize_B, +void present_generic_enc(void *buffer, uint8_t *ctx, uint8_t ksize_B, void(*update)(uint8_t*, uint8_t)); -void present_generic_dec(void* buffer, uint8_t* ctx, uint8_t ksize_B, +void present_generic_dec(void *buffer, uint8_t *ctx, uint8_t ksize_B, void(*update)(uint8_t*, uint8_t)); #endif /*PRESENT_H_*/