From f970679b6247b3c1e762cc05931d261427e1a5d5 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 11 May 2023 20:10:55 +0200 Subject: [PATCH] low_level crypto: fix borg version in comments --- src/borg/crypto/low_level.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/borg/crypto/low_level.pyx b/src/borg/crypto/low_level.pyx index bd9c3f8d2..aa28aa143 100644 --- a/src/borg/crypto/low_level.pyx +++ b/src/borg/crypto/low_level.pyx @@ -166,7 +166,7 @@ class UNENCRYPTED: cdef class AES256_CTR_BASE: - # Layout: HEADER + MAC 32 + IV 8 + CT (same as attic / borg < 1.3 IF HEADER = TYPE_BYTE, no AAD) + # Layout: HEADER + MAC 32 + IV 8 + CT (same as attic / borg < 2.0 IF HEADER = TYPE_BYTE, no AAD) cdef EVP_CIPHER_CTX *ctx cdef unsigned char enc_key[32] @@ -398,7 +398,7 @@ ctypedef const EVP_CIPHER * (* CIPHER)() cdef class _AEAD_BASE: - # new crypto used in borg >= 1.3 + # new crypto used in borg >= 2.0 # Layout: HEADER + MAC 16 + CT cdef CIPHER cipher