PEP8
This commit is contained in:
parent
20fded87ee
commit
44ccb67e1d
1 changed files with 7 additions and 6 deletions
|
@ -52,9 +52,11 @@ def load_libsodium():
|
||||||
c_char_p, c_ulonglong,
|
c_char_p, c_ulonglong,
|
||||||
c_char_p)
|
c_char_p)
|
||||||
libsodium.crypto_stream_chacha20_ietf_xor_ic.restype = c_int
|
libsodium.crypto_stream_chacha20_ietf_xor_ic.restype = c_int
|
||||||
libsodium.crypto_stream_chacha20_ietf_xor_ic.argtypes = (c_void_p, c_char_p,
|
libsodium.crypto_stream_chacha20_ietf_xor_ic.argtypes = (c_void_p,
|
||||||
|
c_char_p,
|
||||||
c_ulonglong,
|
c_ulonglong,
|
||||||
c_char_p, c_ulong,
|
c_char_p,
|
||||||
|
c_ulong,
|
||||||
c_char_p)
|
c_char_p)
|
||||||
|
|
||||||
buf = create_string_buffer(buf_size)
|
buf = create_string_buffer(buf_size)
|
||||||
|
@ -135,4 +137,3 @@ if __name__ == '__main__':
|
||||||
test_chacha20()
|
test_chacha20()
|
||||||
test_salsa20()
|
test_salsa20()
|
||||||
test_chacha20_ietf()
|
test_chacha20_ietf()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue