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