aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/crypto/crypto_tester.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-06-12 10:39:47 +0200
committerMartin Willi <martin@strongswan.org>2009-06-12 10:39:47 +0200
commit371a54c7a902c0869ca6fb05ca6ced2d6d765214 (patch)
treefc4cefccfac9b1c52291522aa7ad803cc148512a /src/libstrongswan/crypto/crypto_tester.h
parentc66cd00df45d7a160fa10708e768baefe5b0b683 (diff)
downloadstrongswan-371a54c7a902c0869ca6fb05ca6ced2d6d765214.tar.bz2
strongswan-371a54c7a902c0869ca6fb05ca6ced2d6d765214.tar.xz
added support for stateful PRFs (such as the FIPS_PRF)
Diffstat (limited to 'src/libstrongswan/crypto/crypto_tester.h')
-rw-r--r--src/libstrongswan/crypto/crypto_tester.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstrongswan/crypto/crypto_tester.h b/src/libstrongswan/crypto/crypto_tester.h
index 5a9726126..d2929f33d 100644
--- a/src/libstrongswan/crypto/crypto_tester.h
+++ b/src/libstrongswan/crypto/crypto_tester.h
@@ -75,6 +75,8 @@ struct hasher_test_vector_t {
struct prf_test_vector_t {
/** prf algorithm this test vector tests */
pseudo_random_function_t alg;
+ /** is this PRF stateful? */
+ bool stateful;
/** key length to use, in bytes */
size_t key_size;
/** key to use */