Searched refs:kBlockSize (Results 1 – 6 of 6) sorted by relevance
/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 | 235 uint8_t key[kBlockSize], in makeCryptoInfo() argument 236 uint8_t iv[kBlockSize], in makeCryptoInfo() argument 250 memcpy(ret->key, key, kBlockSize); in makeCryptoInfo() 251 memcpy(ret->iv, iv, kBlockSize); in makeCryptoInfo() 303 if (keysize != kBlockSize) { in getSampleCryptoInfo() 305 kBlockSize, keysize); in getSampleCryptoInfo() 314 if (ivsize != kBlockSize) { in getSampleCryptoInfo() 316 kBlockSize, ivsize); in getSampleCryptoInfo()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
D | ClearKeyTypes.h | 27 const uint8_t kBlockSize = AES_BLOCK_SIZE; variable 28 typedef uint8_t KeyId[kBlockSize]; 29 typedef uint8_t Iv[kBlockSize];
|
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()
|
D | Session.cpp | 71 keyIdVector.appendArray(keyId, kBlockSize); in decrypt()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/ |
D | AesCtrDecryptorUnittest.cpp | 31 typedef uint8_t Key[kBlockSize]; 37 keyVector.appendArray(key, kBlockSize); in attemptDecrypt()
|