low_level crypto: fix borg version in comments

This commit is contained in:
Thomas Waldmann 2023-05-11 20:10:55 +02:00
parent 44f58b0870
commit f970679b62
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -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