blob: 9e5235753198ccbcc91ef50548dc675589bc4ee2 [file] [log] [blame]
Neels Hofmeyr2e109f02016-12-08 23:35:20 +01001- make sure filling with zeros means uninitialized
Neels Hofmeyr3cbc0522016-12-08 23:13:29 +01002- reject messages in uninitialized state EXPECTING BUGS
3DLOAP OAP registration failed
4- reject messages in disabled state
5DLOAP OAP registration failed
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
26- now everything is correct
27- Expect the challenge response in msg_tx
28- Receive registration error for the first time.
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010029DLOAP OAP registration failed
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010030- Receive registration error for the Nth time.
Neels Hofmeyr73ed4552016-12-09 00:01:56 +010031DLOAP OAP registration failed
Neels Hofmeyr2e109f02016-12-08 23:35:20 +010032- Registration success