Test the OCB-AES reference implementation

This tests cryptographic primitives implemented by others.  It uses the same
interfaces and indeed the same compiled object code as the Mosh client and
server.  It does not particularly test any code written for the Mosh project.
This commit is contained in:
Keegan McAllister
2012-03-23 00:36:26 -04:00
committed by Keith Winstein
parent fe34cb3809
commit d1c4b0a5d7
6 changed files with 611 additions and 0 deletions
+6
View File
@@ -72,6 +72,12 @@ class PRNG {
fill( &x, 1 );
return x;
}
uint32_t uint32() {
uint32_t x;
fill( &x, 4 );
return x;
}
};
#endif