diff options
| -rw-r--r-- | tests/otp-data.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/otp-data.c b/tests/otp-data.c index 6df0d8f..ce23859 100644 --- a/tests/otp-data.c +++ b/tests/otp-data.c | |||
| @@ -61,6 +61,21 @@ | |||
| 61 | #pragma mark otp_test_data[] | 61 | #pragma mark otp_test_data[] |
| 62 | otptest_t otp_test_data[] = | 62 | otptest_t otp_test_data[] = |
| 63 | { | 63 | { |
| 64 | // RFC 2289 Appendix C - OTP Verification Examples: GENERAL CHECKS | ||
| 65 | { | ||
| 66 | .method = OTPUTIL_MD_MD5, | ||
| 67 | .pass = "A_Valid_Pass_Phrase", | ||
| 68 | .seed = "AValidSeed", | ||
| 69 | .count = 99, | ||
| 70 | .hex = "85C4 3EE0 3857 765B", | ||
| 71 | .six = "FOWL KID MASH DEAD DUAL OAF", | ||
| 72 | .alt_md4 = NULL, | ||
| 73 | .alt_md5 = NULL, | ||
| 74 | .alt_sha1 = NULL, | ||
| 75 | .dat.bv_val = (uint8_t []){ 0x85, 0xc4, 0x3e, 0xe0, 0x38, 0x57, 0x76, 0x5b }, | ||
| 76 | .dat.bv_len = 8, | ||
| 77 | }, | ||
| 78 | |||
| 64 | // RFC 2289 Appendix C - OTP Verification Examples: MD4 ENCODINGS | 79 | // RFC 2289 Appendix C - OTP Verification Examples: MD4 ENCODINGS |
| 65 | { | 80 | { |
| 66 | .method = OTPUTIL_MD_MD4, | 81 | .method = OTPUTIL_MD_MD4, |
