mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 23:56:06 +00:00
LibCrypto: Reduce use of ByteBuffer in AES code
Use Bytes/ReadonlyBytes more where possible.
This commit is contained in:
parent
e6f907a155
commit
52b05a08c7
Notes:
sideshowbarker
2024-07-18 23:54:20 +09:00
Author: https://github.com/awesomekling
Commit: 52b05a08c7
6 changed files with 31 additions and 35 deletions
|
@ -105,7 +105,7 @@ public:
|
|||
|
||||
auto auth_tag = m_ghash->process(aad, out);
|
||||
block0.apply_initialization_vector(auth_tag.data);
|
||||
block0.get().bytes().copy_to(tag);
|
||||
block0.bytes().copy_to(tag);
|
||||
}
|
||||
|
||||
VerificationConsistency decrypt(ReadonlyBytes in, Bytes out, ReadonlyBytes iv_in, ReadonlyBytes aad, ReadonlyBytes tag)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue