summaryrefslogtreecommitdiff
path: root/Libraries/LibCrypto/Cipher/Cipher.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibCrypto/Cipher/Cipher.h')
-rw-r--r--Libraries/LibCrypto/Cipher/Cipher.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibCrypto/Cipher/Cipher.h b/Libraries/LibCrypto/Cipher/Cipher.h
index 713030916b..ce000ad28a 100644
--- a/Libraries/LibCrypto/Cipher/Cipher.h
+++ b/Libraries/LibCrypto/Cipher/Cipher.h
@@ -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 };
};