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 <openssl/evp.h> | 5 #include <openssl/evp.h> |
| 6 #include <stddef.h> |
| 7 #include <stdint.h> |
6 #include <vector> | 8 #include <vector> |
7 | 9 |
8 #include "base/logging.h" | 10 #include "base/logging.h" |
9 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
10 #include "components/webcrypto/algorithms/aes.h" | 12 #include "components/webcrypto/algorithms/aes.h" |
11 #include "components/webcrypto/algorithms/util.h" | 13 #include "components/webcrypto/algorithms/util.h" |
12 #include "components/webcrypto/blink_key_handle.h" | 14 #include "components/webcrypto/blink_key_handle.h" |
13 #include "components/webcrypto/crypto_data.h" | 15 #include "components/webcrypto/crypto_data.h" |
14 #include "components/webcrypto/status.h" | 16 #include "components/webcrypto/status.h" |
15 #include "crypto/openssl_util.h" | 17 #include "crypto/openssl_util.h" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 } | 79 } |
78 }; | 80 }; |
79 | 81 |
80 } // namespace | 82 } // namespace |
81 | 83 |
82 scoped_ptr<AlgorithmImplementation> CreateAesGcmImplementation() { | 84 scoped_ptr<AlgorithmImplementation> CreateAesGcmImplementation() { |
83 return make_scoped_ptr(new AesGcmImplementation); | 85 return make_scoped_ptr(new AesGcmImplementation); |
84 } | 86 } |
85 | 87 |
86 } // namespace webcrypto | 88 } // namespace webcrypto |
OLD | NEW |