/* noekeon_omac.S */
/*
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
*/
/*
* \author Daniel Otte
- * \email daniel.otte@rub.de
+ * \email bg@nerilex.org
* \date 2008-08-24
* \license GPLv3 or later
*
/******************************************************************************/
/*
- * void noekeon_omac_init(noekeon_omac_ctx_t* ctx){
+ * void noekeon_omac_init(noekeon_omac_ctx_t *ctx){
* memset(ctx, 0, 16);
* }
*/
/******************************************************************************/
/*
- * 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);
* }
/******************************************************************************/
/*
- * 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);
* }
/******************************************************************************/
/*
- * 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);
/******************************************************************************/
/*
- * 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;
/******************************************************************************/
/*
- *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);