Harald Welte | 6db529a | 2018-07-30 18:14:45 +0200 | [diff] [blame] | 1 | - make sure filling with zeros means uninitialized |
| 2 | - reject messages in uninitialized state |
| 3 | DLOAP Received OAP message 5, but the OAP client is not initialized |
| 4 | - NULL config should disable |
| 5 | - reject messages in disabled state |
| 6 | DLOAP Received OAP message 5, but the OAP client is disabled |
| 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) |
| 11 | DLOAP OAP: client ID set, but secret K missing. |
| 12 | - valid id, but omitted shared_secret (2/2) |
| 13 | DLOAP OAP: client ID set, but secret OPC missing. |
| 14 | - mint configuration |
| 15 | - Missing challenge data |
| 16 | DLOAP OAP challenge incomplete (rand_present: 0, autn_present: 0) |
| 17 | - AUTN missing |
| 18 | DLOAP OAP challenge incomplete (rand_present: 1, autn_present: 0) |
| 19 | - RAND missing |
| 20 | DLOAP OAP challenge incomplete (rand_present: 0, autn_present: 1) |
| 21 | - wrong autn (by one bit) |
| 22 | DLOAP OAP: AUTN mismatch! |
| 23 | DLOAP OAP: AUTN from server: dec4e3848a33000086781158ca40f136 |
| 24 | DLOAP OAP: AUTN expected: cec4e3848a33000086781158ca40f136 |
| 25 | - all data correct |
| 26 | - but refuse to evaluate in uninitialized state |
| 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 |
| 29 | - now everything is correct |
| 30 | - Expect the challenge response in msg_tx |
| 31 | - Receive registration error for the first time. |
| 32 | DLOAP OAP registration failed |
| 33 | - Receive registration error for the Nth time. |
| 34 | DLOAP OAP registration failed |
| 35 | - Registration success |