Home
last modified time | relevance | path

Searched refs:keyId (Results 1 – 16 of 16) sorted by relevance

/hardware/interfaces/drm/1.0/default/
DDrmPlugin.cpp268 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& input, in encrypt() argument
273 toVector(keyId), toVector(input), toVector(iv), legacyOutput); in encrypt()
279 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& input, in decrypt() argument
284 toVector(keyId), toVector(input), toVector(iv), legacyOutput); in decrypt()
290 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& message, in sign() argument
294 toVector(keyId), toVector(message), legacySignature); in sign()
300 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& message, in verify() argument
305 toVector(keyId), toVector(message), toVector(signature), in verify()
425 keyStatus.keyId = toHidlVec(legacyKeyStatus.mKeyId); in sendKeysChange()
DDrmPlugin.h110 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& input,
114 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& input,
118 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& message,
122 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& message,
DCryptoPlugin.cpp62 const hidl_array<uint8_t, 16>& keyId, in decrypt() argument
169 ssize_t result = mLegacyPlugin->decrypt(secure, keyId.data(), iv.data(), in decrypt()
DCryptoPlugin.h63 Return<void> decrypt(bool secure, const hidl_array<uint8_t, 16>& keyId,
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_vendor_test.cpp190 ASSERT_TRUE(key.keyId.size() > 0) << kVendorStr in TEST_P()
192 ASSERT_TRUE(key.keyId.size() > 0) << kVendorStr in TEST_P()
941 hidl_vec<uint8_t> keyId, input, iv; in TEST_P() local
943 session, keyId, input, iv, in TEST_P()
953 hidl_vec<uint8_t> keyId, input, iv; in TEST_P() local
955 session, keyId, input, iv, in TEST_P()
965 hidl_vec<uint8_t> keyId, message; in TEST_P() local
967 session, keyId, message, in TEST_P()
977 hidl_vec<uint8_t> keyId, message, signature; in TEST_P() local
979 session, keyId, message, signature, [&](Status status, bool) { in TEST_P()
[all …]
Ddrm_hal_clearkey_test.cpp792 hidl_vec<uint8_t> keyId = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}; in TEST_F() local
795 auto res = drmPlugin->encrypt(session, keyId, input, iv, in TEST_F()
806 hidl_vec<uint8_t> keyId = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}; in TEST_F() local
809 auto res = drmPlugin->decrypt(session, keyId, input, iv, in TEST_F()
821 hidl_vec<uint8_t> keyId = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}; in TEST_F() local
823 auto res = drmPlugin->sign(session, keyId, message, in TEST_F()
835 hidl_vec<uint8_t> keyId = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}; in TEST_F() local
840 session, keyId, message, signature, [&](Status status, bool) { in TEST_F()
983 const vector<uint8_t> keyId = {0x60, 0x06, 0x1e, 0x01, 0x7e, 0x47, in decrypt() local
1015 auto res = cryptoPlugin->decrypt(kNotSecure, toHidlArray(keyId), localIv, mode, in decrypt()
Ddrm_hal_vendor_module_api.h199 const std::vector<uint8_t> keyId; member
/hardware/interfaces/drm/1.2/
DICryptoPlugin.hal43 * @param the keyId for the key that is used to do the the decryption. The
44 * keyId refers to a key in the associated MediaDrm instance.
80 decrypt_1_2(bool secure, uint8_t[16] keyId, uint8_t[16] iv, Mode mode,
Dtypes.hal116 KeySetId keyId;
/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_clearkey_module.cpp62 .keyId = { // keyId in getContentConfigurations()
Ddrm_hal_test.cpp331 uint32_t byteCount = decrypt(Mode::UNENCRYPTED, key.isSecure, toHidlArray(key.keyId), in TEST_P()
359 uint32_t byteCount = decrypt(Mode::AES_CTR, key.isSecure, toHidlArray(key.keyId), in TEST_P()
386 decrypt(Mode::UNENCRYPTED, key.isSecure, toHidlArray(key.keyId), in TEST_P()
411 toHidlArray(key.keyId), &iv[0], subSamples, noPattern, in TEST_P()
Ddrm_hal_common.cpp334 const hidl_array<uint8_t, 16>& keyId, uint8_t* iv, in decrypt() argument
365 auto res = cryptoPlugin->decrypt_1_2(isSecure, keyId, localIv, mode, pattern, in decrypt()
485 toHidlArray(key.keyId), &iv[0], subSamples, noPattern, in decryptWithInvalidKeys()
Ddrm_hal_common.h132 const hidl_array<uint8_t, 16>& keyId, uint8_t* iv,
/hardware/interfaces/drm/1.0/
DICryptoPlugin.hal83 * @param the keyId for the key that should be used to do the
84 * the decryption. The keyId refers to a key in the associated
110 decrypt(bool secure, uint8_t[16] keyId, uint8_t[16] iv, Mode mode,
DIDrmPlugin.hal400 * setCipherAlgorithm and the key selected by keyId, and return the
404 * @param keyId the ID of the key to use for encryption
413 encrypt(SessionId sessionId, vec<uint8_t> keyId, vec<uint8_t> input,
418 * specified by setCipherAlgorithm and the key selected by keyId,
422 * @param keyId the ID of the key to use for decryption
432 decrypt(SessionId sessionId, vec<uint8_t> keyId, vec<uint8_t> input,
437 * specified by setMacAlgorithm and the key selected by keyId and return
441 * @param keyId the ID of the key to use for decryption
450 sign(SessionId sessionId, vec<uint8_t> keyId, vec<uint8_t> message)
455 * by setMacAlgorithm and the key selected by keyId, and compare with the
[all …]
Dtypes.hal232 vec<uint8_t> keyId;