//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // WjCryptLibTest_Rc4 // // Tests the RC4 function against known test vectors to verify algorithms are correct. // // This is free and unencumbered software released into the public domain - June 2013 waterjuice.org //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // IMPORTS //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // PUBLIC FUNCTIONS //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // TestRc4 // // Test RC4 algorithm against test vectors //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// bool TestRc4 ( void );