mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
LibWeb: Implement PBKDF2 getKeyLength for SubtleCrypto
This commit is contained in:
parent
19bb62d60e
commit
abf55fe33d
Notes:
sideshowbarker
2024-07-17 20:33:50 +09:00
Author: https://github.com/stelar7
Commit: abf55fe33d
Pull-request: https://github.com/SerenityOS/serenity/pull/23834
Reviewed-by: https://github.com/ADKaster ✅
3 changed files with 13 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue