| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/child/webcrypto/algorithm_implementation.h" | 5 #include "content/child/webcrypto/algorithm_implementation.h" |
| 6 | 6 |
| 7 #include "content/child/webcrypto/status.h" | 7 #include "content/child/webcrypto/status.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 const blink::WebCryptoAlgorithm& algorithm, | 56 const blink::WebCryptoAlgorithm& algorithm, |
| 57 bool extractable, | 57 bool extractable, |
| 58 blink::WebCryptoKeyUsageMask usages, | 58 blink::WebCryptoKeyUsageMask usages, |
| 59 GenerateKeyResult* result) const { | 59 GenerateKeyResult* result) const { |
| 60 return Status::ErrorUnsupported(); | 60 return Status::ErrorUnsupported(); |
| 61 } | 61 } |
| 62 | 62 |
| 63 Status AlgorithmImplementation::DeriveBits( | 63 Status AlgorithmImplementation::DeriveBits( |
| 64 const blink::WebCryptoAlgorithm& algorithm, | 64 const blink::WebCryptoAlgorithm& algorithm, |
| 65 const blink::WebCryptoKey& base_key, | 65 const blink::WebCryptoKey& base_key, |
| 66 unsigned int length_bits, | 66 bool has_optional_length_bits, |
| 67 unsigned int optional_length_bits, |
| 67 std::vector<uint8_t>* derived_bytes) const { | 68 std::vector<uint8_t>* derived_bytes) const { |
| 68 return Status::ErrorUnsupported(); | 69 return Status::ErrorUnsupported(); |
| 69 } | 70 } |
| 70 | 71 |
| 71 Status AlgorithmImplementation::GetKeyLength( | 72 Status AlgorithmImplementation::GetKeyLength( |
| 72 const blink::WebCryptoAlgorithm& key_length_algorithm, | 73 const blink::WebCryptoAlgorithm& key_length_algorithm, |
| 73 bool* has_length_bits, | 74 bool* has_length_bits, |
| 74 unsigned int* length_bits) const { | 75 unsigned int* length_bits) const { |
| 75 return Status::ErrorUnsupported(); | 76 return Status::ErrorUnsupported(); |
| 76 } | 77 } |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 bool extractable, | 154 bool extractable, |
| 154 blink::WebCryptoKeyUsageMask usages, | 155 blink::WebCryptoKeyUsageMask usages, |
| 155 const CryptoData& key_data, | 156 const CryptoData& key_data, |
| 156 blink::WebCryptoKey* key) const { | 157 blink::WebCryptoKey* key) const { |
| 157 return Status::ErrorUnsupported(); | 158 return Status::ErrorUnsupported(); |
| 158 } | 159 } |
| 159 | 160 |
| 160 } // namespace webcrypto | 161 } // namespace webcrypto |
| 161 | 162 |
| 162 } // namespace content | 163 } // namespace content |
| OLD | NEW |