mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-15 05:45:39 +00:00
[aes] Linter
This commit is contained in:
parent
28194bd327
commit
e679476ea0
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ def xor(data1, data2):
|
||||||
|
|
||||||
|
|
||||||
def rijndael_mul(a, b):
|
def rijndael_mul(a, b):
|
||||||
if(a == 0 or b == 0):
|
if (a == 0 or b == 0):
|
||||||
return 0
|
return 0
|
||||||
return RIJNDAEL_EXP_TABLE[(RIJNDAEL_LOG_TABLE[a] + RIJNDAEL_LOG_TABLE[b]) % 0xFF]
|
return RIJNDAEL_EXP_TABLE[(RIJNDAEL_LOG_TABLE[a] + RIJNDAEL_LOG_TABLE[b]) % 0xFF]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue