Skip to content

Commit

Permalink
exp throughput without aut
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Aug 4, 2023
1 parent 4f91a20 commit c8c55c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Encryption.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Encryptor {
if(DISABLE_ENCRYPTION_FOR_PERFORMANCE){
memcpy(dest,src, src_len);
uint8_t* sign=dest+src_len;
crypto_onetimeauth(sign,src,src_len,session_key.data());
//crypto_onetimeauth(sign,src,src_len,session_key.data());
return src_len+crypto_onetimeauth_BYTES;
}
long long unsigned int ciphertext_len;
Expand Down

0 comments on commit c8c55c1

Please sign in to comment.