OLD | NEW |
1 /* | 1 /* |
2 * kernel_driver.c | 2 * kernel_driver.c |
3 * | 3 * |
4 * a test driver for the crypto_kernel | 4 * a test driver for the crypto_kernel |
5 * | 5 * |
6 * David A. McGrew | 6 * David A. McGrew |
7 * Cisco Systems, Inc. | 7 * Cisco Systems, Inc. |
8 */ | 8 */ |
9 /* | 9 /* |
10 * | 10 * |
(...skipping 25 matching lines...) Expand all Loading... |
36 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | 36 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
37 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | 37 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | 38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
40 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 40 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
41 * OF THE POSSIBILITY OF SUCH DAMAGE. | 41 * OF THE POSSIBILITY OF SUCH DAMAGE. |
42 * | 42 * |
43 */ | 43 */ |
44 | 44 |
45 | 45 |
| 46 #ifdef HAVE_CONFIG_H |
| 47 #include <config.h> |
| 48 #endif |
| 49 |
46 #include <stdio.h> /* for printf() */ | 50 #include <stdio.h> /* for printf() */ |
47 #include <unistd.h> /* for getopt() */ | 51 #include <unistd.h> /* for getopt() */ |
48 #include "crypto_kernel.h" | 52 #include "crypto_kernel.h" |
49 | 53 |
50 void | 54 void |
51 usage(char *prog_name) { | 55 usage(char *prog_name) { |
52 printf("usage: %s [ -v ][ -d debug_module ]*\n", prog_name); | 56 printf("usage: %s [ -v ][ -d debug_module ]*\n", prog_name); |
53 exit(255); | 57 exit(255); |
54 } | 58 } |
55 | 59 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 * of the crypto_kernel | 121 * of the crypto_kernel |
118 */ | 122 */ |
119 | 123 |
120 err_status_t | 124 err_status_t |
121 crypto_kernel_cipher_test(void) { | 125 crypto_kernel_cipher_test(void) { |
122 | 126 |
123 /* not implemented yet! */ | 127 /* not implemented yet! */ |
124 | 128 |
125 return err_status_ok; | 129 return err_status_ok; |
126 } | 130 } |
OLD | NEW |