blob: 8c538dc66d5eb286ce0956f522fc3a7d2e40a2f2 [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 Hofmeyr3cbc0522016-12-08 23:13:29 +01004- reject messages in disabled state
Neels Hofmeyr2fa74fa2016-12-08 23:12:17 +01005DLOAP Received OAP message 5, but the OAP client is disabled
Neels Hofmeyr2e109f02016-12-08 23:35:20 +01006- 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 Hofmeyr73ed4552016-12-09 00:01:56 +010010DLOAP OAP: client ID set, but secret K missing.
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010011- valid id, but omitted shared_secret (2/2)
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010012DLOAP OAP: client ID set, but secret OPC missing.
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010013- mint configuration
14- Missing challenge data
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010015DLOAP OAP challenge incomplete (rand_present: 0, autn_present: 0)
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010016- AUTN missing
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010017DLOAP OAP challenge incomplete (rand_present: 1, autn_present: 0)
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010018- RAND missing
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010019DLOAP OAP challenge incomplete (rand_present: 0, autn_present: 1)
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010020- wrong autn (by one bit)
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010021DLOAP OAP: AUTN mismatch!
22DLOAP OAP: AUTN from server: dec4e3848a33000086781158ca40f136
23DLOAP OAP: AUTN expected: cec4e3848a33000086781158ca40f136
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010024- all data correct
25- but refuse to evaluate in uninitialized state
Neels Hofmeyr2fa74fa2016-12-08 23:12:17 +010026DLOAP Received OAP message 8, but the OAP client is not initialized
27DLOAP Received OAP message 8, but the OAP client is disabled
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010028- now everything is correct
29- Expect the challenge response in msg_tx
30- Receive registration error for the first time.
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010031DLOAP OAP registration failed
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010032- Receive registration error for the Nth time.
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010033DLOAP OAP registration failed
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010034- Registration success