Index: content/renderer/webcrypto/webcrypto_util.cc |
diff --git a/content/renderer/webcrypto/webcrypto_util.cc b/content/renderer/webcrypto/webcrypto_util.cc |
index c5dff97892e12329d0c79bd35d97df10c0870a3e..4d89dacb3a2eb8184e78ebd9621b1e423ba4acdf 100644 |
--- a/content/renderer/webcrypto/webcrypto_util.cc |
+++ b/content/renderer/webcrypto/webcrypto_util.cc |
@@ -15,13 +15,6 @@ namespace webcrypto { |
namespace { |
-blink::WebCryptoAlgorithm CreateAesKeyGenAlgorithm( |
- blink::WebCryptoAlgorithmId aes_alg_id, |
- unsigned short length) { |
- return blink::WebCryptoAlgorithm::adoptParamsAndCreate( |
- aes_alg_id, new blink::WebCryptoAesKeyGenParams(length)); |
-} |
- |
bool IsHashAlgorithm(blink::WebCryptoAlgorithmId alg_id) { |
return alg_id == blink::WebCryptoAlgorithmIdSha1 || |
alg_id == blink::WebCryptoAlgorithmIdSha224 || |
@@ -160,18 +153,6 @@ blink::WebCryptoAlgorithm CreateAesGcmAlgorithm( |
tag_length_bytes)); |
} |
-blink::WebCryptoAlgorithm CreateAesCbcKeyGenAlgorithm( |
- unsigned short key_length_bits) { |
- return CreateAesKeyGenAlgorithm(blink::WebCryptoAlgorithmIdAesCbc, |
- key_length_bits); |
-} |
- |
-blink::WebCryptoAlgorithm CreateAesGcmKeyGenAlgorithm( |
- unsigned short key_length_bits) { |
- return CreateAesKeyGenAlgorithm(blink::WebCryptoAlgorithmIdAesGcm, |
- key_length_bits); |
-} |
- |
unsigned int ShaBlockSizeBytes(blink::WebCryptoAlgorithmId hash_id) { |
switch (hash_id) { |
case blink::WebCryptoAlgorithmIdSha1: |