mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
LibTLS+LibCrypto: Replace a whole bunch of ByteBuffers with Spans
This commit is contained in:
parent
4d89c1885d
commit
8e20208dd6
Notes:
sideshowbarker
2024-07-19 00:44:37 +09:00
Author: https://github.com/awesomekling
Commit: 8e20208dd6
22 changed files with 116 additions and 109 deletions
|
@ -106,8 +106,8 @@ struct CipherKey {
|
|||
virtual ~CipherKey() { }
|
||||
|
||||
protected:
|
||||
virtual void expand_encrypt_key(const ByteBuffer& user_key, size_t bits) = 0;
|
||||
virtual void expand_decrypt_key(const ByteBuffer& user_key, size_t bits) = 0;
|
||||
virtual void expand_encrypt_key(ReadonlyBytes user_key, size_t bits) = 0;
|
||||
virtual void expand_decrypt_key(ReadonlyBytes user_key, size_t bits) = 0;
|
||||
size_t bits { 0 };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue