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 #ifndef MEDIA_FORMATS_WEBM_WEBM_CRYPTO_HELPERS_H_ | 5 #ifndef MEDIA_FORMATS_WEBM_WEBM_CRYPTO_HELPERS_H_ |
6 #define MEDIA_FORMATS_WEBM_WEBM_CRYPTO_HELPERS_H_ | 6 #define MEDIA_FORMATS_WEBM_WEBM_CRYPTO_HELPERS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 11 matching lines...) Expand all Loading... |
22 // http://wiki.webmproject.org/encryption/webm-encryption-rfc | 22 // http://wiki.webmproject.org/encryption/webm-encryption-rfc |
23 bool WebMCreateDecryptConfig(const uint8_t* data, | 23 bool WebMCreateDecryptConfig(const uint8_t* data, |
24 int data_size, | 24 int data_size, |
25 const uint8_t* key_id, | 25 const uint8_t* key_id, |
26 int key_id_size, | 26 int key_id_size, |
27 std::unique_ptr<DecryptConfig>* decrypt_config, | 27 std::unique_ptr<DecryptConfig>* decrypt_config, |
28 int* data_offset); | 28 int* data_offset); |
29 | 29 |
30 } // namespace media | 30 } // namespace media |
31 | 31 |
32 #endif // MEDIA_FORMATS_WEBM_WEBM_CRYPT_HELPERS_H_ | 32 #endif // MEDIA_FORMATS_WEBM_WEBM_CRYPTO_HELPERS_H_ |
OLD | NEW |