| 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..ae2dd1497f24b22d73a10dbb984c6f999df9b09b 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,
|
| + HkdfTag = 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 WebCryptoAlgorithmIdHkdf:
|
| + return doWriteUint32(HkdfTag);
|
| }
|
| ASSERT_NOT_REACHED();
|
| }
|
| @@ -507,6 +510,9 @@ bool SerializedScriptValueReaderForModules::doReadAlgorithmId(WebCryptoAlgorithm
|
| case EcdhTag:
|
| id = WebCryptoAlgorithmIdEcdh;
|
| return true;
|
| + case HkdfTag:
|
| + id = WebCryptoAlgorithmIdHkdf;
|
| + return true;
|
| }
|
|
|
| return false;
|
|
|