blob: 62ddc9efa7a9d72614d67226f1a6da712b26a402 [file] [log] [blame]
Neels Hofmeyr2e109f02016-12-08 23:35:20 +01001- make sure filling with zeros means uninitialized
Neels Hofmeyr2fa74fa2016-12-08 23:12:17 +01002- reject messages in uninitialized state
3DLOAP Received OAP message 5, but the OAP client is not initialized
Neels Hofmeyr37f92522016-12-08 23:58:31 +01004- NULL config should disable
Neels Hofmeyr3cbc0522016-12-08 23:13:29 +01005- reject messages in disabled state
Neels Hofmeyr2fa74fa2016-12-08 23:12:17 +01006DLOAP Received OAP message 5, but the OAP client is disabled
Neels Hofmeyr2e109f02016-12-08 23:35:20 +01007- 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 Hofmeyr73ed4552016-12-09 00:01:56 +010011DLOAP OAP: client ID set, but secret K missing.
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010012- valid id, but omitted shared_secret (2/2)
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010013DLOAP OAP: client ID set, but secret OPC missing.
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010014- mint configuration
15- Missing challenge data
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010016DLOAP OAP challenge incomplete (rand_present: 0, autn_present: 0)
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010017- AUTN missing
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010018DLOAP OAP challenge incomplete (rand_present: 1, autn_present: 0)
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010019- RAND missing
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010020DLOAP OAP challenge incomplete (rand_present: 0, autn_present: 1)
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010021- wrong autn (by one bit)
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010022DLOAP OAP: AUTN mismatch!
23DLOAP OAP: AUTN from server: dec4e3848a33000086781158ca40f136
24DLOAP OAP: AUTN expected: cec4e3848a33000086781158ca40f136
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010025- all data correct
26- but refuse to evaluate in uninitialized state
Neels Hofmeyr2fa74fa2016-12-08 23:12:17 +010027DLOAP Received OAP message 8, but the OAP client is not initialized
28DLOAP Received OAP message 8, but the OAP client is disabled
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010029- now everything is correct
30- Expect the challenge response in msg_tx
31- Receive registration error for the first time.
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010032DLOAP OAP registration failed
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010033- Receive registration error for the Nth time.
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010034DLOAP OAP registration failed
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010035- Registration success