X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=noekeon%2Fomac_noekeon.S;fp=noekeon%2Fomac_noekeon.S;h=b4000cdb17b4d022f31ea6d1f46fb58fe46af010;hp=598280b6882afb754ee64662ce896e72ac6c60f8;hb=3a9f9d918fb95474996af535c225a7e187d88372;hpb=33d65e8032f77c1cbec1bc99e898affc96966c3c diff --git a/noekeon/omac_noekeon.S b/noekeon/omac_noekeon.S index 598280b..b4000cd 100644 --- a/noekeon/omac_noekeon.S +++ b/noekeon/omac_noekeon.S @@ -35,7 +35,7 @@ /******************************************************************************/ /* - * void noekeon_omac_init(noekeon_omac_ctx_t* ctx){ + * void noekeon_omac_init(noekeon_omac_ctx_t *ctx){ * memset(ctx, 0, 16); * } */ @@ -56,7 +56,7 @@ omac_noekeon_init: /******************************************************************************/ /* - * void omac_noekeon_tweak(uint8_t t, const void* key, noekeon_omac_ctx_t* ctx){ + * void omac_noekeon_tweak(uint8_t t, const void *key, noekeon_omac_ctx_t *ctx){ * *ctx[15] = t; * noekeon_enc(ctx, key); * } @@ -76,7 +76,7 @@ omac_noekeon_tweak: /******************************************************************************/ /* - * void noekeon_omac_next(const void* buffer, const void* key, noekeon_omac_ctx_t* ctx){ + * void noekeon_omac_next(const void *buffer, const void *key, noekeon_omac_ctx_t *ctx){ * memxor(ctx, buffer, 16); * noekeon_enc(ctx, key); * } @@ -104,7 +104,7 @@ omac_noekeon_next: /******************************************************************************/ /* - * void omac_noekeon_comppad(uint8_t* pad, const void* key, uint8_t length_b){ + * void omac_noekeon_comppad(uint8_t *pad, const void *key, uint8_t length_b){ * uint8_t c1,c2,r,j; * memset(pad, 0, 16); * noekeon_enc(pad, key); @@ -194,7 +194,7 @@ omac_noekeon_comppad: /******************************************************************************/ /* - * void omac_noekeon_last(const void* buffer, uint8_t length_b, const void* key, noekeon_omac_ctx_t* ctx){ + * void omac_noekeon_last(const void *buffer, uint8_t length_b, const void *key, noekeon_omac_ctx_t *ctx){ * while(length_b>128){ * omac_noekeon_next(buffer, key, ctx); * buffer = (uint8_t*)buffer +16; @@ -263,8 +263,8 @@ omac_noekeon_last: /******************************************************************************/ /* - *void omac_noekeon(void* dest, const void* msg, uint16_t msglength_b, - * const void* key, uint8_t t){ + *void omac_noekeon(void *dest, const void *msg, uint16_t msglength_b, + * const void *key, uint8_t t){ * omac_noekeon_init(dest); * if(t!=0xff) * omac_noekeon_tweak(t,key,dest);