void testAes256Cbc() {
	testAlgorithm("testAes256Cbc", algorithm_aes256, ciphermode_cbc);
}
示例#2
0
// /* Example: use of testAlgorithm
void testFourSort2() {
  void foursort();
  testAlgorithm("Running foursort ...", foursort);
}
void testAes256Ecb() {
	testAlgorithm("testAes256Ecb", algorithm_aes256, ciphermode_ecb);
}
void testAes256Ofb() {
	testAlgorithm("testAes256Ofb", algorithm_aes256, ciphermode_ofb);
}
void testAes192Ofb() {
	testAlgorithm("testAes192Ofb", algorithm_aes192, ciphermode_ofb);
}
void testAes192Cbc() {
	testAlgorithm("testAes192Cbc", algorithm_aes192, ciphermode_cbc);
}
void testAes192Ecb() {
	testAlgorithm("testAes192Ecb", algorithm_aes192, ciphermode_ecb);
}
void testAes128Cfb() {
	testAlgorithm("testAes128Cfb", algorithm_aes128, ciphermode_cfb);
}
void testDesCbc() {
	testAlgorithm("testDesCbc", algorithm_des, ciphermode_cbc);
}
void testDesOfb() {
	testAlgorithm("testDesOfb", algorithm_des, ciphermode_ofb);
}
void testDesCfb() {
	testAlgorithm("testDesCfb", algorithm_des, ciphermode_ecb);
}