• jbroman's avatar
    Have all overloads of... · 2e33aac2
    jbroman authored
    Have all overloads of webcrypto::AlgorithmImplementation::DeserializeKeyForClone check the params type.
    
    Presently neither this nor the calling code checks that the algorithm ID
    and key params type correspond correctly. This code already knows what
    the expected value is, so it seems a reasonable place to check.
    
    BUG=669649
    
    Review-Url: https://codereview.chromium.org/2544533002
    Cr-Commit-Position: refs/heads/master@{#435528}
    2e33aac2
rsa.cc 20.8 KB