Home
last modified time | relevance | path

Searched refs:kBlockSize (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DAesCtrDecryptor.cpp27 static const size_t kBlockBitCount = kBlockSize * 8;
36 uint8_t previousEncryptedCounter[kBlockSize]; in decrypt()
37 memset(previousEncryptedCounter, 0, kBlockSize); in decrypt()
39 if (key.size() != kBlockSize || (sizeof(Iv) / sizeof(uint8_t)) != kBlockSize) { in decrypt()
DSession.cpp71 keyIdVector.appendArray(keyId, kBlockSize); in decrypt()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DAesCtrDecryptor.cpp35 static const size_t kBlockBitCount = kBlockSize * 8;
45 uint8_t previousEncryptedCounter[kBlockSize]; in decrypt()
46 memset(previousEncryptedCounter, 0, kBlockSize); in decrypt()
48 if (key.size() != kBlockSize || (sizeof(Iv) / sizeof(uint8_t)) != kBlockSize) { in decrypt()
DSession.cpp83 keyIdVector.insert(keyIdVector.end(), keyId, keyId + kBlockSize); in decrypt()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDrm.h93 static const uint8_t kBlockSize = 16; // AES_BLOCK_SIZE member
97 uint8_t key[kBlockSize];
98 uint8_t iv[kBlockSize];
106 uint8_t key[kBlockSize],
107 uint8_t iv[kBlockSize],
DNuPlayerDrm.cpp239 uint8_t key[kBlockSize], in makeCryptoInfo() argument
240 uint8_t iv[kBlockSize], in makeCryptoInfo() argument
260 memcpy(ret->key, key, kBlockSize); in makeCryptoInfo()
261 memcpy(ret->iv, iv, kBlockSize); in makeCryptoInfo()
308 if (keysize != kBlockSize) { in getSampleCryptoInfo()
310 kBlockSize, keysize); in getSampleCryptoInfo()
319 if (ivsize != kBlockSize) { in getSampleCryptoInfo()
321 kBlockSize, ivsize); in getSampleCryptoInfo()
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DClearKeyTypes.h27 const uint8_t kBlockSize = AES_BLOCK_SIZE; variable
28 typedef uint8_t KeyId[kBlockSize];
29 typedef uint8_t Iv[kBlockSize];
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DClearKeyTypes.h34 const uint8_t kBlockSize = 16; //AES_BLOCK_SIZE; variable
35 typedef uint8_t KeyId[kBlockSize];
36 typedef uint8_t Iv[kBlockSize];
/frameworks/av/drm/mediadrm/plugins/clearkey/default/tests/
DAesCtrDecryptorUnittest.cpp31 typedef uint8_t Key[kBlockSize];
92 uint8_t key[kBlockSize * 2] = { in TEST_F()