/hardware/interfaces/drm/1.0/vts/functional/ |
D | drm_hal_clearkey_test.cpp | 794 hidl_vec<uint8_t> iv = std::vector<uint8_t>(AES_BLOCK_SIZE, 0); in TEST_F() local 795 auto res = drmPlugin->encrypt(session, keyId, input, iv, in TEST_F() 808 hidl_vec<uint8_t> iv = std::vector<uint8_t>(AES_BLOCK_SIZE, 0); in TEST_F() local 809 auto res = drmPlugin->decrypt(session, keyId, input, iv, in TEST_F() 959 uint32_t decrypt(Mode mode, uint8_t* iv, const hidl_vec<SubSample>& subSamples, 961 void aes_ctr_decrypt(uint8_t* dest, uint8_t* src, uint8_t* iv, 963 void aes_cbc_decrypt(uint8_t* dest, uint8_t* src, uint8_t* iv, 966 vector<uint8_t>& iv, const Pattern& noPattern, const vector<SubSample>& subSamples); 980 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in decrypt() argument 990 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt() [all …]
|
D | drm_hal_vendor_test.cpp | 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() 1279 const hidl_array<uint8_t, 16>& keyId, uint8_t* iv, 1282 void aes_ctr_decrypt(uint8_t* dest, uint8_t* src, uint8_t* iv, 1284 void aes_cbc_decrypt(uint8_t* dest, uint8_t* src, uint8_t* iv, 1315 const hidl_array<uint8_t, 16>& keyId, uint8_t* iv, in decrypt() argument 1321 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt() 1363 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt() [all …]
|
/hardware/interfaces/drm/1.2/vts/functional/ |
D | drm_hal_test.cpp | 321 vector<uint8_t> iv(AES_BLOCK_SIZE, 0); in TEST_P() local 332 &iv[0], subSamples, noPattern, key.clearContentKey, StatusV1_2::OK); in TEST_P() 349 vector<uint8_t> iv(AES_BLOCK_SIZE, 0); in TEST_P() local 360 &iv[0], subSamples, noPattern, key.clearContentKey, StatusV1_2::OK); in TEST_P() 376 vector<uint8_t> iv(AES_BLOCK_SIZE, 0); in TEST_P() local 387 … &iv[0], subSamples, noPattern, key.clearContentKey, StatusV1_2::ERROR_DRM_FRAME_TOO_LARGE); in TEST_P() 401 vector<uint8_t> iv(AES_BLOCK_SIZE, 0); in TEST_P() local 411 toHidlArray(key.keyId), &iv[0], subSamples, noPattern, in TEST_P() 494 vector<uint8_t> iv(AES_BLOCK_SIZE, 0); in TEST_P() local 524 decryptWithInvalidKeys(invalidResponse, iv, noPattern, subSamples); in TEST_P() [all …]
|
D | drm_hal_common.cpp | 334 const hidl_array<uint8_t, 16>& keyId, uint8_t* iv, in decrypt() argument 340 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt() 383 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt() 411 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in aes_ctr_decrypt() argument 432 iv, previousEncryptedCounter, &blockOffset); in aes_ctr_decrypt() 443 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in aes_cbc_decrypt() argument 454 &decryptionKey, iv, 0 /* decrypt */); in aes_cbc_decrypt() 464 vector<uint8_t>& iv, in decryptWithInvalidKeys() argument 485 toHidlArray(key.keyId), &iv[0], subSamples, noPattern, in decryptWithInvalidKeys()
|
D | drm_hal_common.h | 132 const hidl_array<uint8_t, 16>& keyId, uint8_t* iv, 135 void aes_ctr_decrypt(uint8_t* dest, uint8_t* src, uint8_t* iv, 137 void aes_cbc_decrypt(uint8_t* dest, uint8_t* src, uint8_t* iv, 158 vector<uint8_t>& iv, const Pattern& noPattern, const vector<SubSample>& subSamples);
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
D | eapol.h | 78 unsigned char iv[EAPOL_KEY_IV_LEN]; /* Key IV */ 111 unsigned char iv[EAPOL_WPA_KEY_IV_LEN]; /* Key IV */
|
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
D | hw_ar3k.c | 1193 struct iovec iv[3]; in hci_send_cmd() local 1199 iv[0].iov_base = &type; in hci_send_cmd() 1200 iv[0].iov_len = 1; in hci_send_cmd() 1201 iv[1].iov_base = &hc; in hci_send_cmd() 1202 iv[1].iov_len = HCI_COMMAND_HDR_SIZE; in hci_send_cmd() 1206 iv[2].iov_base = param; in hci_send_cmd() 1207 iv[2].iov_len = plen; in hci_send_cmd() 1211 while (writev(dd, iv, ivn) < 0) { in hci_send_cmd()
|
/hardware/qcom/bt/msm8998/libbt-vendor/src/ |
D | hw_ar3k.c | 1201 struct iovec iv[3]; in hci_send_cmd() local 1207 iv[0].iov_base = &type; in hci_send_cmd() 1208 iv[0].iov_len = 1; in hci_send_cmd() 1209 iv[1].iov_base = &hc; in hci_send_cmd() 1210 iv[1].iov_len = HCI_COMMAND_HDR_SIZE; in hci_send_cmd() 1214 iv[2].iov_base = param; in hci_send_cmd() 1215 iv[2].iov_len = plen; in hci_send_cmd() 1219 while (writev(dd, iv, ivn) < 0) { in hci_send_cmd()
|
/hardware/qcom/sdm845/bt/libbt-vendor/src/ |
D | hw_ar3k.c | 1199 struct iovec iv[3]; in hci_send_cmd() local 1205 iv[0].iov_base = &type; in hci_send_cmd() 1206 iv[0].iov_len = 1; in hci_send_cmd() 1207 iv[1].iov_base = &hc; in hci_send_cmd() 1208 iv[1].iov_len = HCI_COMMAND_HDR_SIZE; in hci_send_cmd() 1212 iv[2].iov_base = param; in hci_send_cmd() 1213 iv[2].iov_len = plen; in hci_send_cmd() 1217 while (writev(dd, iv, ivn) < 0) { in hci_send_cmd()
|
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
D | hw_ar3k.c | 1199 struct iovec iv[3]; in hci_send_cmd() local 1205 iv[0].iov_base = &type; in hci_send_cmd() 1206 iv[0].iov_len = 1; in hci_send_cmd() 1207 iv[1].iov_base = &hc; in hci_send_cmd() 1208 iv[1].iov_len = HCI_COMMAND_HDR_SIZE; in hci_send_cmd() 1212 iv[2].iov_base = param; in hci_send_cmd() 1213 iv[2].iov_len = plen; in hci_send_cmd() 1217 while (writev(dd, iv, ivn) < 0) { in hci_send_cmd()
|
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
D | hw_ar3k.c | 1193 struct iovec iv[3]; in hci_send_cmd() local 1199 iv[0].iov_base = &type; in hci_send_cmd() 1200 iv[0].iov_len = 1; in hci_send_cmd() 1201 iv[1].iov_base = &hc; in hci_send_cmd() 1202 iv[1].iov_len = HCI_COMMAND_HDR_SIZE; in hci_send_cmd() 1206 iv[2].iov_base = param; in hci_send_cmd() 1207 iv[2].iov_len = plen; in hci_send_cmd() 1211 while (writev(dd, iv, ivn) < 0) { in hci_send_cmd()
|
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/ |
D | hw_ar3k.c | 1197 struct iovec iv[3]; in hci_send_cmd() local 1203 iv[0].iov_base = &type; in hci_send_cmd() 1204 iv[0].iov_len = 1; in hci_send_cmd() 1205 iv[1].iov_base = &hc; in hci_send_cmd() 1206 iv[1].iov_len = HCI_COMMAND_HDR_SIZE; in hci_send_cmd() 1210 iv[2].iov_base = param; in hci_send_cmd() 1211 iv[2].iov_len = plen; in hci_send_cmd() 1215 while (writev(dd, iv, ivn) < 0) { in hci_send_cmd()
|
/hardware/interfaces/drm/1.0/default/ |
D | CryptoPlugin.cpp | 63 const hidl_array<uint8_t, 16>& iv, Mode mode, in decrypt() argument 169 ssize_t result = mLegacyPlugin->decrypt(secure, keyId.data(), iv.data(), in decrypt()
|
D | DrmPlugin.cpp | 269 const hidl_vec<uint8_t>& iv, encrypt_cb _hidl_cb) { in encrypt() argument 273 toVector(keyId), toVector(input), toVector(iv), legacyOutput); in encrypt() 280 const hidl_vec<uint8_t>& iv, decrypt_cb _hidl_cb) { in decrypt() argument 284 toVector(keyId), toVector(input), toVector(iv), legacyOutput); in decrypt()
|
D | DrmPlugin.h | 111 const hidl_vec<uint8_t>& iv, encrypt_cb _hidl_cb) override; 115 const hidl_vec<uint8_t>& iv, decrypt_cb _hidl_cb) override;
|
D | CryptoPlugin.h | 64 const hidl_array<uint8_t, 16>& iv, Mode mode, const Pattern& pattern,
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | KeymasterHidlTest.cpp | 511 const string& iv, const string& input, in CheckTripleDesTestVector() argument 518 if (iv.size()) authset.Authorization(TAG_CALLER_NONCE); in CheckTripleDesTestVector() 521 if (iv.size()) begin_params.Authorization(TAG_NONCE, iv.data(), iv.size()); in CheckTripleDesTestVector() 630 PaddingMode padding_mode, const HidlBuf& iv) { in DecryptMessage() argument 635 .Authorization(TAG_NONCE, iv); in DecryptMessage()
|
D | keymaster_hidl_hal_test.cpp | 2792 auto iv = set.GetTagValue(TAG_NONCE); in CopyIv() local 2793 EXPECT_TRUE(iv.isOk()); in CopyIv() 2794 return iv.value(); in CopyIv() 2911 auto iv = output_params.GetTagValue(TAG_NONCE); in TEST_F() local 2916 ASSERT_TRUE(iv.isOk()) << "No IV for block mode " << block_mode; in TEST_F() 2917 EXPECT_EQ(block_mode == BlockMode::GCM ? 12U : 16U, iv.value().size()); in TEST_F() 2918 params.push_back(TAG_NONCE, iv.value()); in TEST_F() 2922 EXPECT_FALSE(iv.isOk()) << "ECB mode should not generate IV"; in TEST_F() 3744 const char* iv; member 3835 hex2str(test->key), hex2str(test->iv), hex2str(test->input), in TEST_F() [all …]
|
D | KeymasterHidlTest.h | 186 PaddingMode padding_mode, const string& key, const string& iv, 209 const HidlBuf& iv);
|
/hardware/qcom/keymaster/ |
D | keymaster_qcom.h | 61 uint8_t iv[KM_IV_LENGTH]; member
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
D | qcedev.h | 191 uint8_t iv[QCEDEV_MAX_IV_SIZE]; member
|
/hardware/qcom/msm8x09/kernel-headers/linux/ |
D | qcedev.h | 112 uint8_t iv[QCEDEV_MAX_IV_SIZE]; member
|
/hardware/qcom/msm8x09/original-kernel-headers/linux/ |
D | qcedev.h | 191 uint8_t iv[QCEDEV_MAX_IV_SIZE]; member
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
D | qcedev.h | 112 uint8_t iv[QCEDEV_MAX_IV_SIZE]; member
|
/hardware/interfaces/drm/1.2/ |
D | ICryptoPlugin.hal | 45 * @param iv the initialization vector to use 80 decrypt_1_2(bool secure, uint8_t[16] keyId, uint8_t[16] iv, Mode mode,
|