aboutsummaryrefslogblamecommitdiff
path: root/src/cc20rng/test.c
blob: e2bdae096710af4bbf60e660a81a8354e764ed12 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                   
#include <stdio.h>

#include "cc20_prng.h"

int main()
{
    uint32_t i;
    i = chacha20_prng_self_test();
    printf("test result: %i (%s)\n", i, (i == 0)?"FAIL":"SUCCESS");
}