diff options
| author | Jakob Unterwurzacher | 2026-03-08 21:36:42 +0100 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2026-03-08 21:36:42 +0100 |
| commit | a456b934b62ba91feea973783f67a7df26d23224 (patch) | |
| tree | 3a0f56d938915c2210a193186750c9ae76ad39ac /internal/fusefrontend_reverse | |
| parent | 4fa21dcb57c5a0b7761bfec606ffd0e94c293ce8 (diff) | |
make formatfreebsd-support
Diffstat (limited to 'internal/fusefrontend_reverse')
| -rw-r--r-- | internal/fusefrontend_reverse/node_helpers.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/internal/fusefrontend_reverse/node_helpers.go b/internal/fusefrontend_reverse/node_helpers.go index f733689..dc8d928 100644 --- a/internal/fusefrontend_reverse/node_helpers.go +++ b/internal/fusefrontend_reverse/node_helpers.go @@ -17,13 +17,13 @@ import ( ) const ( - // File names are padded to 16-byte multiples, encrypted and - // base64-encoded. We can encode at most 176 bytes to stay below the 255 - // bytes limit: - // * base64(176 bytes) = 235 bytes - // * base64(192 bytes) = 256 bytes (over 255!) - // But the PKCS#7 padding is at least one byte. This means we can only use - // 175 bytes for the file name. +// File names are padded to 16-byte multiples, encrypted and +// base64-encoded. We can encode at most 176 bytes to stay below the 255 +// bytes limit: +// * base64(176 bytes) = 235 bytes +// * base64(192 bytes) = 256 bytes (over 255!) +// But the PKCS#7 padding is at least one byte. This means we can only use +// 175 bytes for the file name. ) // translateSize translates the ciphertext size in `out` into plaintext size. |
