Branch: Tag:

2014-09-03

2014-09-03 18:14:04 by Martin Nilsson <nilsson@opera.com>

memcpy is C89 and 4.3BSD

279:    static void fortuna_rekey(void)    {    fortuna_generate(); -  MEMCPY(THIS->key, THIS->data, 16); +  memcpy(THIS->key, THIS->data, 16);    fortuna_generate(); -  MEMCPY(THIS->key+16, THIS->data, 16); +  memcpy(THIS->key+16, THIS->data, 16);    aes_set_encrypt_key(&THIS->aes_ctx, AES256_KEY_SIZE, THIS->key);    }