mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 00:37:56 +00:00
use long long for AES block counter, fixes #1206
This commit is contained in:
parent
79c59bffa8
commit
36b1863c44
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ cdef class AES:
|
|||
cdef EVP_CIPHER_CTX *ctx
|
||||
cdef int is_encrypt
|
||||
cdef unsigned char iv_orig[16]
|
||||
cdef int blocks
|
||||
cdef long long blocks
|
||||
|
||||
def __cinit__(self, is_encrypt, key, iv=None):
|
||||
self.ctx = EVP_CIPHER_CTX_new()
|
||||
|
|
Loading…
Reference in a new issue