]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - noekeon/noekeon_prng.c
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / noekeon / noekeon_prng.c
index 4e73c7cde91bad353aa327a34c5cff46c2137526..319d73b6760fa3285fbb0787bcdf1614315d2943 100644 (file)
@@ -1,7 +1,7 @@
 /* noekeon_prng.c */
 /*
  *   This file is part of the AVR-Crypto-Lib.
- *   Copyright (C) 2006, 2007, 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
@@ -46,7 +46,7 @@ uint8_t random8(void){
        return sr[i];
 }
 
-void random_block(voiddest){
+void random_block(void *dest){
        i=0;
        noekeon_enc(random_state, random_key);
        memcpy(dest, random_state, 16);
@@ -56,11 +56,11 @@ void srandom32(uint32_t seed){
        memcpy(random_key, &seed, 4);
 }
 
-void random_seed(const voidbuffer){
+void random_seed(const void *buffer){
        memcpy(random_key, buffer, 16);
 }
 
-void random_add(const voidbuffer){
+void random_add(const void *buffer){
        memxor(random_key, buffer, 16);
 }