2018-07-03 16:15:36 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2018 HAW Hamburg
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @ingroup tests
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @brief Test application for the random number generator based of SRAM
|
|
|
|
*
|
|
|
|
* @author Kevin Weiss <kevin.weiss@haw-hamburg.de>
|
|
|
|
*
|
|
|
|
* @}
|
|
|
|
*/
|
2018-08-01 23:14:11 +02:00
|
|
|
#include <inttypes.h>
|
2018-07-03 16:15:36 +02:00
|
|
|
#include <stdio.h>
|
|
|
|
#include "puf_sram.h"
|
|
|
|
|
|
|
|
int main(void)
|
|
|
|
{
|
|
|
|
puts("Start: Test random number generator");
|
|
|
|
|
2019-11-25 02:08:59 +01:00
|
|
|
printf("Success: Data for puf_sram_seed: [0x%08" PRIX32 "]\n", puf_sram_seed);
|
2018-07-03 16:15:36 +02:00
|
|
|
|
|
|
|
puts("End: Test finished");
|
|
|
|
return 0;
|
|
|
|
}
|