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