()
| 533 | |
| 534 | |
| 535 | def _load_gcm_vectors(): |
| 536 | vectors = _load_all_params( |
| 537 | os.path.join("ciphers", "AES", "GCM"), |
| 538 | [ |
| 539 | "gcmDecrypt128.rsp", |
| 540 | "gcmDecrypt192.rsp", |
| 541 | "gcmDecrypt256.rsp", |
| 542 | "gcmEncryptExtIV128.rsp", |
| 543 | "gcmEncryptExtIV192.rsp", |
| 544 | "gcmEncryptExtIV256.rsp", |
| 545 | ], |
| 546 | load_nist_vectors, |
| 547 | ) |
| 548 | return [x for x in vectors if len(x["tag"]) == 32 and len(x["iv"]) >= 16] |
| 549 | |
| 550 | |
| 551 | class TestAESGCM: |
no test coverage detected