OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
ddorwin
2012/09/01 16:46:41
Are there likely to be more functions in this file
fgalligan1
2013/03/09 01:10:59
Done.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef MEDIA_CRYPTO_DECRYPTOR_HELPERS_H_ | |
6 #define MEDIA_CRYPTO_DECRYPTOR_HELPERS_H_ | |
7 | |
8 #include "base/basictypes.h" | |
9 | |
10 #include <string> | |
xhwang
2012/08/29 05:08:14
c++ headers should go before chromium headers. So
fgalligan1
2013/03/09 01:10:59
Done.
| |
11 | |
12 namespace media { | |
13 | |
14 // Generates a 16 byte CTR counter block. The CTR counter block format is a | |
15 // CTR IV appended with a CTR block counter. |iv| is an 8 byte CTR IV. | |
16 // Returns a string of kDecryptionKeySize bytes. | |
17 std::string GenerateCounterBlock(uint64 iv); | |
ddorwin
2012/09/01 16:46:41
GenerateWebMCounterBlock?
fgalligan1
2013/03/09 01:10:59
Done.
| |
18 | |
19 } // webkit_media | |
xhwang
2012/08/29 05:08:14
This should be "// namespace media"
fgalligan1
2013/03/09 01:10:59
Done.
| |
20 | |
21 #endif // MEDIA_CRYPTO_DECRYPTOR_HELPERS_H_ | |
OLD | NEW |