aes = pyaes.AESModeOfOperationCTR(self.KEY, counter=pyaes.Counter(initial_value=iv))
print(len(aes._counter.value))
The counter value length seems to always be 16 regardless of if the key is 16 or 32 bytes. Is this the right behaviour? Or would this mean a security risk when using 32 bytes (256 bits) keys?