| Index: Source/bindings/modules/v8/ScriptValueSerializerForModules.cpp
|
| diff --git a/Source/bindings/modules/v8/ScriptValueSerializerForModules.cpp b/Source/bindings/modules/v8/ScriptValueSerializerForModules.cpp
|
| index 08add9b64a162f1c2349c1a1f0b7f4b41428265f..d7135e99839ffc9cd91e912a869a717e55530ffe 100644
|
| --- a/Source/bindings/modules/v8/ScriptValueSerializerForModules.cpp
|
| +++ b/Source/bindings/modules/v8/ScriptValueSerializerForModules.cpp
|
| @@ -30,6 +30,7 @@ enum CryptoKeyAlgorithmTag {
|
| RsaPssTag = 13,
|
| EcdsaTag = 14,
|
| EcdhTag = 15,
|
| + Pbkdf2Tag = 16,
|
| // Maximum allowed value is 2^32-1
|
| };
|
|
|
| @@ -215,6 +216,8 @@ void SerializedScriptValueWriterForModules::doWriteAlgorithmId(WebCryptoAlgorith
|
| return doWriteUint32(EcdsaTag);
|
| case WebCryptoAlgorithmIdEcdh:
|
| return doWriteUint32(EcdhTag);
|
| + case WebCryptoAlgorithmIdPbkdf2:
|
| + return doWriteUint32(Pbkdf2Tag);
|
| }
|
| ASSERT_NOT_REACHED();
|
| }
|
| @@ -507,6 +510,9 @@ bool SerializedScriptValueReaderForModules::doReadAlgorithmId(WebCryptoAlgorithm
|
| case EcdhTag:
|
| id = WebCryptoAlgorithmIdEcdh;
|
| return true;
|
| + case Pbkdf2Tag:
|
| + id = WebCryptoAlgorithmIdPbkdf2;
|
| + return true;
|
| }
|
|
|
| return false;
|
|
|