Update skip reason for test_encrypt_short_tag

pull/126/head
Martijn de Milliano 2026-06-30 18:55:36 +02:00
parent c0803d0c66
commit 9cf73e0c42
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ if _lib.AESGCM_STREAM_ENABLED:
gcmdec.final(authTag)
assert bufdec == t2b("hello world")
@pytest.mark.skipif(12 < _lib.MIN_AUTH_TAG_SZ, reason="test can only be performed when MIN_AUTH_TAG_SZ is larger than 12")
@pytest.mark.skipif(12 < _lib.MIN_AUTH_TAG_SZ, reason="test can only be performed when MIN_AUTH_TAG_SZ <= 12")
def test_encrypt_short_tag():
"""Known answer encrypt-decrypt test with specific authentication tag size of 12 bytes"""
key = "fedcba9876543210"