source
code documentation
sha1_test.c File Reference
Detailed Description
Test functions for SHA1.
- Author:
- Christian Scheurer <http://www.christianscheurer.ch>
OUTLINE:
This file contains test functions used to verify the SHA1 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 sha1_test.c.
#include <string.h>
#include "ipsec/util.h"
#include "ipsec/sha1.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 SHA1 tests. It does nothing but calling the subtests one after the other.
Definition at line 268 of file sha1_test.c. |
int sha1_test_SHA1_Final |
( |
void |
|
) |
|
|
int sha1_test_SHA1_Init |
( |
void |
|
) |
|
|
|
Test the SHA1_Init() function - Returns:
- int number of tests failed in this function
Definition at line 62 of file sha1_test.c. |
int sha1_test_SHA1_Update |
( |
void |
|
) |
|
|
|