We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8007804 commit c8c34e4Copy full SHA for c8c34e4
firebirdsql/chacha.py
@@ -96,6 +96,7 @@ def quaterround_u32(a, b, c, d):
96
97
class ChaCha20:
98
def __init__(self, key, nonce, counter=0):
99
+ self.counter = counter
100
self.counter_len = 16 - len(nonce)
101
assert len(key) == 32
102
assert self.counter_len in (4, 8)
0 commit comments