X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=present%2Fpresent_common.h;fp=present%2Fpresent_common.h;h=db856dd21689ec9f49cc35d6e2627b5e243dcfff;hp=f1d7ea4a9481c1238a0a7f2244b82efb8fdb548f;hb=3a9f9d918fb95474996af535c225a7e187d88372;hpb=33d65e8032f77c1cbec1bc99e898affc96966c3c diff --git a/present/present_common.h b/present/present_common.h index f1d7ea4..db856dd 100644 --- a/present/present_common.h +++ b/present/present_common.h @@ -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_*/