[Bug 26536] New: Length property of HmacDerivedKeyParams seems redundant

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26536

            Bug ID: 26536
           Summary: Length property of HmacDerivedKeyParams seems
                    redundant
           Product: Web Cryptography
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Web Cryptography API Document
          Assignee: sleevi@google.com
          Reporter: ttaubert@mozilla.com
                CC: bzbarsky@mit.edu, public-webcrypto@w3.org,
                    ttaubert@mozilla.com
        Depends on: 26311

HmacDerivedKeyParams derives from HmacImportParams but defines the |length|
property again. Can't we just let it derive without defining the property a
second time? Or we could let it derive from Algorithm and define |hash| again
which would also be redundant.

dictionary HmacImportParams : Algorithm {
  HashAlgorithmIdentifier hash;
  [EnforceRange] unsigned long length;
};

dictionary HmacDerivedKeyParams : HmacImportParams {
  [EnforceRange] unsigned long length;
};

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Thursday, 7 August 2014 10:34:07 UTC