X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=rc5%2Frc5.h;h=50ceba8ec7182487f23d577f4de86390e2568302;hp=2a0182c51216428ed79fcf3c934350504773f07c;hb=4b5da1dc27a791b5c448274a3db09cd035b33493;hpb=d32eba56ce10ea6b9eff123b50d9842673b38f2b diff --git a/rc5/rc5.h b/rc5/rc5.h index 2a0182c..50ceba8 100644 --- a/rc5/rc5.h +++ b/rc5/rc5.h @@ -1,7 +1,7 @@ /* rc5.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 @@ -19,7 +19,7 @@ /* rc5.h a C implementation of RC5 for AVR microcontrollers * * author: Daniel Otte - * email: daniel.otte@rub.de + * email: bg@nerilex.org * license: GPLv3 * * this implementation is limited to 64bit blocks and a maximum of 255 rounds @@ -38,9 +38,9 @@ typedef struct rc5_ctx_st { uint32_t *s; }rc5_ctx_t; -void rc5_enc(void* buffer, const rc5_ctx_t* ctx); -void rc5_dec(void* buffer, const rc5_ctx_t* ctx); -void rc5_init(void* key, uint16_t keysize_b, uint8_t rounds, rc5_ctx_t* ctx); -void rc5_free(rc5_ctx_t* ctx); +void rc5_enc(void *buffer, const rc5_ctx_t *ctx); +void rc5_dec(void *buffer, const rc5_ctx_t *ctx); +void rc5_init(void *key, uint16_t keysize_b, uint8_t rounds, rc5_ctx_t *ctx); +void rc5_free(rc5_ctx_t *ctx); #endif /*RC5_H_*/