diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-11-01 13:45:30 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-11-01 13:45:30 +0000 |
commit | 8b8096d082292211cc977af195e9b12c88c26de3 (patch) | |
tree | e87a03240248b023aa8cbb45963d6d1a91d5dd19 /fips/cmac/fips_cmactest.c | |
parent | 9ab6d6813ec544a15f6aea3d4af83629fa1eb4e5 (diff) |
Add support for multicall fips_algvs utility combining functionality
of all fips test utilities in a single binary and some minimal script
parsing for platforms lacking a suitable shell.
In order to keep changes to the build system to a minimum it #includes all
the utilities C source files (yuck).
Diffstat (limited to 'fips/cmac/fips_cmactest.c')
-rw-r--r-- | fips/cmac/fips_cmactest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fips/cmac/fips_cmactest.c b/fips/cmac/fips_cmactest.c index 6d799f2d5f..2c8c7664e9 100644 --- a/fips/cmac/fips_cmactest.c +++ b/fips/cmac/fips_cmactest.c @@ -92,7 +92,11 @@ static int print_cmac_ver(const EVP_CIPHER *cipher, FILE *out, unsigned char *Mac, int Maclen, int Tlen); +#ifdef FIPS_ALGVS +int fips_cmactest_main(int argc, char **argv) +#else int main(int argc, char **argv) +#endif { FILE *in = NULL, *out = NULL; int mode = 0; /* 0 => Generate, 1 => Verify */ |