mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
LibWeb: Implement PBKDF2 getKeyLength for SubtleCrypto
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 20:33:50 +09:00
Author: https://github.com/stelar7 Commit: https://github.com/SerenityOS/serenity/commit/abf55fe33d Pull-request: https://github.com/SerenityOS/serenity/pull/23834 Reviewed-by: https://github.com/ADKaster ✅
@@ -1397,4 +1397,10 @@ WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::ArrayBuffer>> PBKDF2::derive_bits(Algor
|
||||
return JS::ArrayBuffer::create(realm, result.release_value());
|
||||
}
|
||||
|
||||
WebIDL::ExceptionOr<JS::Value> PBKDF2::get_key_length(AlgorithmParams const&)
|
||||
{
|
||||
// 1. Return null.
|
||||
return JS::js_null();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user