X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=noekeon%2Fnoekeon.h;fp=noekeon%2Fnoekeon.h;h=744c8349ca889c57f9b4696c22a44905ca2dc531;hp=9c046f3004cb374b8d34945109a03ccb365a5a4a;hb=3a9f9d918fb95474996af535c225a7e187d88372;hpb=33d65e8032f77c1cbec1bc99e898affc96966c3c diff --git a/noekeon/noekeon.h b/noekeon/noekeon.h index 9c046f3..744c834 100644 --- a/noekeon/noekeon.h +++ b/noekeon/noekeon.h @@ -42,7 +42,7 @@ */ typedef uint8_t noekeon_ctx_t[16]; -/** \fn void noekeon_enc(void* buffer, const void* key) +/** \fn void noekeon_enc(void *buffer, const void *key) * \brief noekeon encrytion funtion * * This function encrypts a block (64 bit = 8 byte) with the noekeon encrytion @@ -53,9 +53,9 @@ typedef uint8_t noekeon_ctx_t[16]; * \param key pointer to either the key (128 bit = 16 byte; direct mode) or * to the context (indirect mode) */ -void noekeon_enc(void* buffer, const void* key); +void noekeon_enc(void *buffer, const void *key); -/** \fn void noekeon_dec(void* buffer, const void* key) +/** \fn void noekeon_dec(void *buffer, const void *key) * \brief noekeon encrytion funtion * * This function decrypts a block (64 bit = 8 byte) encrypted with the noekeon @@ -67,10 +67,10 @@ void noekeon_enc(void* buffer, const void* key); * \param key pointer to either the key (128 bit = 16 byte; direct mode) or * to the context (indirect mode) */ -void noekeon_dec(void* buffer, const void* key); +void noekeon_dec(void *buffer, const void *key); -/** \fn void noekeon_init(const void* key, noekeon_ctx_t* ctx) +/** \fn void noekeon_init(const void *key, noekeon_ctx_t *ctx) * \brief noekeon context generation function for indirect mode * * This function generates a context from the supplied key for using @@ -80,6 +80,6 @@ void noekeon_dec(void* buffer, const void* key); * \param ctx pointer to the context to fill with key material * to the context (indirect mode) */ -void noekeon_init(const void* key, noekeon_ctx_t* ctx); +void noekeon_init(const void *key, noekeon_ctx_t *ctx); #endif /*NOEKEON_H_*/