1
0
Fork 0
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:
stelar7 2024-03-27 20:30:11 +01:00 committed by Andreas Kling
parent 19bb62d60e
commit abf55fe33d
Notes: sideshowbarker 2024-07-17 20:33:50 +09:00
3 changed files with 13 additions and 1 deletions

View file

@ -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();
}
}