Newer
Older
/* bf_test.c
*
* $Id$
* Test the blow fish implementation. */
#include "blowfish.h"
#include <stdio.h>
#include <stdlib.h>
{
if (bf_selftest())
{
fprintf(stderr, "Blowfish works.\n");
}
else
{
fprintf(stderr, "ERROR: Blowfish failed.\n");