source
code documentation
des_test.c File Reference
Detailed Description
Test functions for DES/3DES CBC code.
- Author:
- Christian Scheurer <http://www.christianscheurer.ch>
OUTLINE:
This file contains test functions used to verify the DES/3DES-CBC code.
IMPLEMENTATION:
There are no implementation hints to be mentioned.
NOTES:
This document is part of embedded IPsec
Copyright (c) 2003 Niklaus Schild and Christian Scheurer, HTI Biel/Bienne
All rights reserved.
Definition in file des_test.c.
#include <string.h>
#include "ipsec/util.h"
#include "ipsec/des.h"
#include "ipsec/debug.h"
#include "testing/structural/structural_test.h"
Go to the source code of this file.
Function Documentation
|
Main test function for the DES/3DES CBC tests. It does nothing but calling the subtests one after the other.
Definition at line 219 of file des_test.c. |
int des_test_des_ede3_cbc_encrypt |
( |
void |
|
) |
|
|
|
Tests the DES encryption - Returns:
- int number of tests failed in this function
Definition at line 106 of file des_test.c. |
int des_test_DES_set_key_checked |
( |
void |
|
) |
|
|
|
test DES key setter functions - Returns:
- int number of tests failed in this function
Definition at line 63 of file des_test.c. |
|