aboutsummaryrefslogtreecommitdiff
path: root/tests/matrix/fallocate_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/matrix/fallocate_test.go')
-rw-r--r--tests/matrix/fallocate_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/matrix/fallocate_test.go b/tests/matrix/fallocate_test.go
index ade6415..44ea541 100644
--- a/tests/matrix/fallocate_test.go
+++ b/tests/matrix/fallocate_test.go
@@ -161,6 +161,10 @@ func TestFallocate(t *testing.T) {
// xchacha has 24 byte ivs instead of 16. 8kiB are two blocks, so
// 2x8=16 bytes more.
plain = plain - 16
+ } else if testcase.isSet("-aegis") {
+ // aegis256 has 32 byte ivs and mac instead of 16. 8kiB are two blocks, so
+ // 2x32=64 bytes more.
+ plain = plain - 64
}
err = syscallcompat.Fallocate(fd, FALLOC_DEFAULT, 0, plain)
if err != nil {