Fix an error in the timing code.
Luckily this has had no effect on timing in practice save for a small unmeasurable constant factor. Thanks to the dialyzer for finding the problem.
This commit is contained in:
parent
541db5b5ee
commit
574f731505
@ -65,7 +65,7 @@ auth(M, K, N) ->
|
||||
auth_verify(_A, _M, _K, 0) -> ok;
|
||||
auth_verify(A, M, K, N) ->
|
||||
enacl_nif:crypto_auth_verify_b(A, M, K),
|
||||
auth(M, K, N-1).
|
||||
auth_verify(A, M, K, N-1).
|
||||
|
||||
%% STREAM
|
||||
%% -----------
|
||||
|
Loading…
x
Reference in New Issue
Block a user