/hardware/interfaces/drm/1.0/ |
H A D | ICryptoPlugin.hal | 83 * @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,
|
H A D | IDrmPlugin.hal | 400 * 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, an [all...] |
H A D | types.hal | 232 vec<uint8_t> keyId;
|
/hardware/interfaces/drm/1.0/default/ |
H A D | DrmPlugin.h | 110 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,
|
H A D | DrmPlugin.cpp | 267 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& input, 272 toVector(keyId), toVector(input), toVector(iv), legacyOutput); 278 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& input, 283 toVector(keyId), toVector(input), toVector(iv), legacyOutput); 289 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& message, 293 toVector(keyId), toVector(message), legacySignature); 299 const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& message, 304 toVector(keyId), toVector(message), toVector(signature), 424 keyStatus.keyId = toHidlVec(legacyKeyStatus.mKeyId); 266 encrypt(const hidl_vec<uint8_t>& sessionId, const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& input, const hidl_vec<uint8_t>& iv, encrypt_cb _hidl_cb) argument 277 decrypt(const hidl_vec<uint8_t>& sessionId, const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& input, const hidl_vec<uint8_t>& iv, decrypt_cb _hidl_cb) argument 288 sign(const hidl_vec<uint8_t>& sessionId, const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& message, sign_cb _hidl_cb) argument 298 verify(const hidl_vec<uint8_t>& sessionId, const hidl_vec<uint8_t>& keyId, const hidl_vec<uint8_t>& message, const hidl_vec<uint8_t>& signature, verify_cb _hidl_cb) argument
|
H A D | CryptoPlugin.cpp | 59 const hidl_array<uint8_t, 16>& keyId, 134 ssize_t result = mLegacyPlugin->decrypt(secure, keyId.data(), iv.data(), 58 decrypt(bool secure, const hidl_array<uint8_t, 16>& keyId, const hidl_array<uint8_t, 16>& iv, Mode mode, const Pattern& pattern, const hidl_vec<SubSample>& subSamples, const SharedBuffer& source, uint64_t offset, const DestinationBuffer& destination, decrypt_cb _hidl_cb) argument
|
H A D | CryptoPlugin.h | 63 Return<void> decrypt(bool secure, const hidl_array<uint8_t, 16>& keyId,
|
/hardware/interfaces/drm/1.0/vts/functional/ |
H A D | drm_hal_vendor_module_api.h | 199 const std::vector<uint8_t> keyId; member in struct:DrmHalVTSVendorModule_V1::ContentConfiguration::Key
|
H A D | drm_hal_vendor_test.cpp | 170 ASSERT_TRUE(key.keyId.size() > 0) << kVendorStr 171 << " has zero length keyId"; 172 ASSERT_TRUE(key.keyId.size() > 0) << kVendorStr 921 hidl_vec<uint8_t> keyId, input, iv; local 923 session, keyId, input, iv, 933 hidl_vec<uint8_t> keyId, input, iv; local 935 session, keyId, input, iv, 945 hidl_vec<uint8_t> keyId, message; local 947 session, keyId, message, 957 hidl_vec<uint8_t> keyId, messag local 1294 decrypt(Mode mode, bool isSecure, const hidl_array<uint8_t, 16>& keyId, uint8_t* iv, const hidl_vec<SubSample>& subSamples, const Pattern& pattern, const vector<uint8_t>& key, Status expectedStatus) argument [all...] |
H A D | drm_hal_clearkey_test.cpp | 761 hidl_vec<uint8_t> keyId = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}; local 764 auto res = drmPlugin->encrypt(session, keyId, input, iv, 775 hidl_vec<uint8_t> keyId = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}; local 778 auto res = drmPlugin->decrypt(session, keyId, input, iv, 790 hidl_vec<uint8_t> keyId = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}; local 792 auto res = drmPlugin->sign(session, keyId, message, 804 hidl_vec<uint8_t> keyId = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}; local 809 session, keyId, message, signature, [&](Status status, bool) { 951 const vector<uint8_t> keyId = {0x60, 0x06, 0x1e, 0x01, 0x7e, 0x47, local 983 auto res = cryptoPlugin->decrypt(kNotSecure, toHidlArray(keyId), localI [all...] |