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