Neels Hofmeyr | f456d9a | 2016-12-08 23:35:20 +0100 | [diff] [blame] | 1 | - make sure filling with zeros means uninitialized |
Neels Hofmeyr | 8972507 | 2016-12-08 23:13:29 +0100 | [diff] [blame^] | 2 | - reject messages in uninitialized state EXPECTING BUGS |
| 3 | DLOAP OAP registration failed |
| 4 | - reject messages in disabled state |
| 5 | DLOAP OAP registration failed |
Neels Hofmeyr | f456d9a | 2016-12-08 23:35:20 +0100 | [diff] [blame] | 6 | - invalid client_id and shared secret |
| 7 | - reset state |
| 8 | - only client_id is invalid |
| 9 | - valid id, but omitted shared_secret (1/2) |
Neels Hofmeyr | fe35504 | 2016-12-09 00:01:56 +0100 | [diff] [blame] | 10 | DLOAP OAP: client ID set, but secret K missing. |
Neels Hofmeyr | f456d9a | 2016-12-08 23:35:20 +0100 | [diff] [blame] | 11 | - valid id, but omitted shared_secret (2/2) |
Neels Hofmeyr | fe35504 | 2016-12-09 00:01:56 +0100 | [diff] [blame] | 12 | DLOAP OAP: client ID set, but secret OPC missing. |
Neels Hofmeyr | f456d9a | 2016-12-08 23:35:20 +0100 | [diff] [blame] | 13 | - mint configuration |
| 14 | - Missing challenge data |
Neels Hofmeyr | fe35504 | 2016-12-09 00:01:56 +0100 | [diff] [blame] | 15 | DLOAP OAP challenge incomplete (rand_present: 0, autn_present: 0) |
Neels Hofmeyr | f456d9a | 2016-12-08 23:35:20 +0100 | [diff] [blame] | 16 | - AUTN missing |
Neels Hofmeyr | fe35504 | 2016-12-09 00:01:56 +0100 | [diff] [blame] | 17 | DLOAP OAP challenge incomplete (rand_present: 1, autn_present: 0) |
Neels Hofmeyr | f456d9a | 2016-12-08 23:35:20 +0100 | [diff] [blame] | 18 | - RAND missing |
Neels Hofmeyr | fe35504 | 2016-12-09 00:01:56 +0100 | [diff] [blame] | 19 | DLOAP OAP challenge incomplete (rand_present: 0, autn_present: 1) |
Neels Hofmeyr | f456d9a | 2016-12-08 23:35:20 +0100 | [diff] [blame] | 20 | - wrong autn (by one bit) |
Neels Hofmeyr | fe35504 | 2016-12-09 00:01:56 +0100 | [diff] [blame] | 21 | DLOAP OAP: AUTN mismatch! |
| 22 | DLOAP OAP: AUTN from server: dec4e3848a33000086781158ca40f136 |
| 23 | DLOAP OAP: AUTN expected: cec4e3848a33000086781158ca40f136 |
Neels Hofmeyr | f456d9a | 2016-12-08 23:35:20 +0100 | [diff] [blame] | 24 | - all data correct |
| 25 | - but refuse to evaluate in uninitialized state |
| 26 | - now everything is correct |
| 27 | - Expect the challenge response in msg_tx |
| 28 | - Receive registration error for the first time. |
Neels Hofmeyr | fe35504 | 2016-12-09 00:01:56 +0100 | [diff] [blame] | 29 | DLOAP OAP registration failed |
Neels Hofmeyr | f456d9a | 2016-12-08 23:35:20 +0100 | [diff] [blame] | 30 | - Receive registration error for the Nth time. |
Neels Hofmeyr | fe35504 | 2016-12-09 00:01:56 +0100 | [diff] [blame] | 31 | DLOAP OAP registration failed |
Neels Hofmeyr | f456d9a | 2016-12-08 23:35:20 +0100 | [diff] [blame] | 32 | - Registration success |