mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
Update web-platform-tests to revision 8d1253647cfe3809ddf58a4ad7c9da5f26985d7e
This commit is contained in:
parent
553ff20468
commit
48c420fdb5
440 changed files with 6186 additions and 3542 deletions
|
@ -130,143 +130,102 @@ dictionary CryptoKeyPair {
|
|||
};
|
||||
|
||||
dictionary RsaKeyGenParams : Algorithm {
|
||||
// The length, in bits, of the RSA modulus
|
||||
required [EnforceRange] unsigned long modulusLength;
|
||||
// The RSA public exponent
|
||||
required BigInteger publicExponent;
|
||||
};
|
||||
|
||||
dictionary RsaHashedKeyGenParams : RsaKeyGenParams {
|
||||
// The hash algorithm to use
|
||||
required HashAlgorithmIdentifier hash;
|
||||
};
|
||||
|
||||
dictionary RsaKeyAlgorithm : KeyAlgorithm {
|
||||
// The length, in bits, of the RSA modulus
|
||||
required unsigned long modulusLength;
|
||||
// The RSA public exponent
|
||||
required BigInteger publicExponent;
|
||||
};
|
||||
|
||||
dictionary RsaHashedKeyAlgorithm : RsaKeyAlgorithm {
|
||||
// The hash algorithm that is used with this key
|
||||
required KeyAlgorithm hash;
|
||||
};
|
||||
|
||||
dictionary RsaHashedImportParams : Algorithm {
|
||||
// The hash algorithm to use
|
||||
required HashAlgorithmIdentifier hash;
|
||||
};
|
||||
|
||||
dictionary RsaPssParams : Algorithm {
|
||||
// The desired length of the random salt
|
||||
required [EnforceRange] unsigned long saltLength;
|
||||
};
|
||||
|
||||
dictionary RsaOaepParams : Algorithm {
|
||||
// The optional label/application data to associate with the message
|
||||
BufferSource label;
|
||||
};
|
||||
|
||||
dictionary EcdsaParams : Algorithm {
|
||||
// The hash algorithm to use
|
||||
required HashAlgorithmIdentifier hash;
|
||||
};
|
||||
|
||||
typedef DOMString NamedCurve;
|
||||
|
||||
dictionary EcKeyGenParams : Algorithm {
|
||||
// A named curve
|
||||
required NamedCurve namedCurve;
|
||||
};
|
||||
|
||||
dictionary EcKeyAlgorithm : KeyAlgorithm {
|
||||
// The named curve that the key uses
|
||||
required NamedCurve namedCurve;
|
||||
};
|
||||
|
||||
dictionary EcKeyImportParams : Algorithm {
|
||||
// A named curve
|
||||
required NamedCurve namedCurve;
|
||||
};
|
||||
|
||||
dictionary EcdhKeyDeriveParams : Algorithm {
|
||||
// The peer's EC public key.
|
||||
required CryptoKey public;
|
||||
};
|
||||
|
||||
dictionary AesCtrParams : Algorithm {
|
||||
// The initial value of the counter block. counter MUST be 16 bytes
|
||||
// (the AES block size). The counter bits are the rightmost length
|
||||
// bits of the counter block. The rest of the counter block is for
|
||||
// the nonce. The counter bits are incremented using the standard
|
||||
// incrementing function specified in NIST SP 800-38A Appendix B.1:
|
||||
// the counter bits are interpreted as a big-endian integer and
|
||||
// incremented by one.
|
||||
required BufferSource counter;
|
||||
// The length, in bits, of the rightmost part of the counter block
|
||||
// that is incremented.
|
||||
required [EnforceRange] octet length;
|
||||
};
|
||||
|
||||
dictionary AesKeyAlgorithm : KeyAlgorithm {
|
||||
// The length, in bits, of the key.
|
||||
required unsigned short length;
|
||||
};
|
||||
|
||||
dictionary AesKeyGenParams : Algorithm {
|
||||
// The length, in bits, of the key.
|
||||
required [EnforceRange] unsigned short length;
|
||||
};
|
||||
|
||||
dictionary AesDerivedKeyParams : Algorithm {
|
||||
// The length, in bits, of the key.
|
||||
required [EnforceRange] unsigned short length;
|
||||
};
|
||||
|
||||
dictionary AesCbcParams : Algorithm {
|
||||
// The initialization vector. MUST be 16 bytes.
|
||||
required BufferSource iv;
|
||||
};
|
||||
|
||||
dictionary AesGcmParams : Algorithm {
|
||||
// The initialization vector to use. May be up to 2^64-1 bytes long.
|
||||
required BufferSource iv;
|
||||
// The additional authentication data to include.
|
||||
BufferSource additionalData;
|
||||
// The desired length of the authentication tag. May be 0 - 128.
|
||||
[EnforceRange] octet tagLength;
|
||||
};
|
||||
|
||||
dictionary HmacImportParams : Algorithm {
|
||||
// The inner hash function to use.
|
||||
required HashAlgorithmIdentifier hash;
|
||||
// The length (in bits) of the key.
|
||||
[EnforceRange] unsigned long length;
|
||||
};
|
||||
|
||||
dictionary HmacKeyAlgorithm : KeyAlgorithm {
|
||||
// The inner hash function to use.
|
||||
required KeyAlgorithm hash;
|
||||
// The length (in bits) of the key.
|
||||
required unsigned long length;
|
||||
};
|
||||
|
||||
dictionary HmacKeyGenParams : Algorithm {
|
||||
// The inner hash function to use.
|
||||
required HashAlgorithmIdentifier hash;
|
||||
// The length (in bits) of the key to generate. If unspecified, the
|
||||
// recommended length will be used, which is the size of the associated hash function's block
|
||||
// size.
|
||||
[EnforceRange] unsigned long length;
|
||||
};
|
||||
|
||||
dictionary HkdfParams : Algorithm {
|
||||
// The algorithm to use with HMAC (e.g.: SHA-256)
|
||||
required HashAlgorithmIdentifier hash;
|
||||
// A bit string that corresponds to the salt used in the extract step.
|
||||
required BufferSource salt;
|
||||
// A bit string that corresponds to the context and application specific context for the derived keying material.
|
||||
required BufferSource info;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue