Searched refs:kBlockSize (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | AesCtrDecryptor.cpp | 27 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()
|
D | Session.cpp | 71 keyIdVector.appendArray(keyId, kBlockSize); in decrypt()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | AesCtrDecryptor.cpp | 35 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()
|
D | Session.cpp | 83 keyIdVector.insert(keyIdVector.end(), keyId, keyId + kBlockSize); in decrypt()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDrm.h | 93 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],
|
D | NuPlayerDrm.cpp | 191 uint8_t key[kBlockSize], in makeCryptoInfo() argument 192 uint8_t iv[kBlockSize], in makeCryptoInfo() argument 212 memcpy(ret->key, key, kBlockSize); in makeCryptoInfo() 213 memcpy(ret->iv, iv, kBlockSize); in makeCryptoInfo() 260 if (keysize != kBlockSize) { in getSampleCryptoInfo() 262 kBlockSize, keysize); in getSampleCryptoInfo() 271 if (ivsize != kBlockSize) { in getSampleCryptoInfo() 273 kBlockSize, ivsize); in getSampleCryptoInfo()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
D | ClearKeyTypes.h | 27 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/ |
D | ClearKeyTypes.h | 34 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/ |
D | AesCtrDecryptorUnittest.cpp | 31 typedef uint8_t Key[kBlockSize]; 92 uint8_t key[kBlockSize * 2] = { in TEST_F()
|