Lines Matching +full:sha +full:- +full:1
1 /* SHADRIVER.C - test driver for SHA-1 (and SHA-2) */
3 /*-
4 * SPDX-License-Identifier: RSA-MD
6 * Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All rights
23 #include "sha.h"
30 /* The following makes SHA default to SHA-1 if it has not already been
32 #ifndef SHA
33 #define SHA 1 macro
36 #if SHA == 1
39 #elif SHA == 224
42 #elif SHA == 256
45 #elif SHA == 384
48 #elif SHA == 512
51 #elif SHA == 512224
54 #elif SHA == 512256
63 char buf[2*64 + 1]; in SHAString()
65 printf("SHA-%d (\"%s\") = %s\n", in SHAString()
66 SHA, string, SHA_Data(string, strlen(string), buf)); in SHAString()
73 printf("SHA-%d test suite:\n", SHA); in main()