Home
last modified time | relevance | path

Searched refs:iv (Results 1 – 25 of 42) sorted by relevance

12

/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_clearkey_test.cpp668 hidl_vec<uint8_t> iv = std::vector<uint8_t>(AES_BLOCK_SIZE, 0); in TEST_P() local
669 auto res = drmPlugin->encrypt(session, keyId, input, iv, in TEST_P()
682 hidl_vec<uint8_t> iv = std::vector<uint8_t>(AES_BLOCK_SIZE, 0); in TEST_P() local
683 auto res = drmPlugin->decrypt(session, keyId, input, iv, in TEST_P()
837 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in decrypt() argument
847 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt()
890 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt()
918 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in aes_ctr_decrypt() argument
939 iv, previousEncryptedCounter, &blockOffset); in aes_ctr_decrypt()
950 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in aes_cbc_decrypt() argument
[all …]
Ddrm_hal_vendor_test.cpp780 hidl_vec<uint8_t> keyId, input, iv; in TEST_P() local
782 session, keyId, input, iv, in TEST_P()
792 hidl_vec<uint8_t> keyId, input, iv; in TEST_P() local
794 session, keyId, input, iv, in TEST_P()
1131 const hidl_array<uint8_t, 16>& keyId, uint8_t* iv, in decrypt() argument
1137 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt()
1179 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt()
1207 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in aes_ctr_decrypt() argument
1229 iv, previousEncryptedCounter, &blockOffset); in aes_ctr_decrypt()
1240 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in aes_cbc_decrypt() argument
[all …]
/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_test.cpp303 vector<uint8_t> iv(AES_BLOCK_SIZE, 0); in TEST_P() local
314 &iv[0], subSamples, noPattern, key.clearContentKey, StatusV1_2::OK); in TEST_P()
330 vector<uint8_t> iv(AES_BLOCK_SIZE, 0); in TEST_P() local
341 &iv[0], subSamples, noPattern, key.clearContentKey, StatusV1_2::OK); in TEST_P()
356 vector<uint8_t> iv(AES_BLOCK_SIZE, 0); in TEST_P() local
367 … &iv[0], subSamples, noPattern, key.clearContentKey, StatusV1_2::ERROR_DRM_FRAME_TOO_LARGE); in TEST_P()
380 vector<uint8_t> iv(AES_BLOCK_SIZE, 0); in TEST_P() local
390 toHidlArray(key.keyId), &iv[0], subSamples, noPattern, in TEST_P()
472 vector<uint8_t> iv(AES_BLOCK_SIZE, 0); in TEST_P() local
502 decryptWithInvalidKeys(invalidResponse, iv, noPattern, subSamples); in TEST_P()
[all …]
Ddrm_hal_common.cpp395 const hidl_array<uint8_t, 16>& keyId, uint8_t* iv, in decrypt() argument
401 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt()
444 memcpy(localIv, iv, AES_BLOCK_SIZE); in decrypt()
472 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in aes_ctr_decrypt() argument
493 iv, previousEncryptedCounter, &blockOffset); in aes_ctr_decrypt()
504 uint8_t* iv, const hidl_vec<SubSample>& subSamples, in aes_cbc_decrypt() argument
515 &decryptionKey, iv, 0 /* decrypt */); in aes_cbc_decrypt()
525 vector<uint8_t>& iv, in decryptWithInvalidKeys() argument
546 toHidlArray(key.keyId), &iv[0], subSamples, noPattern, in decryptWithInvalidKeys()
/hardware/interfaces/drm/1.0/vts/functional/include/android/hardware/drm/1.0/vts/
Ddrm_hal_clearkey_test.h185 uint32_t decrypt(Mode mode, uint8_t* iv, const hidl_vec<SubSample>& subSamples,
187 void aes_ctr_decrypt(uint8_t* dest, uint8_t* src, uint8_t* iv,
189 void aes_cbc_decrypt(uint8_t* dest, uint8_t* src, uint8_t* iv,
192 vector<uint8_t>& iv, const Pattern& noPattern, const vector<SubSample>& subSamples);
Ddrm_hal_vendor_test.h194 const hidl_array<uint8_t, 16>& keyId, uint8_t* iv,
197 void aes_ctr_decrypt(uint8_t* dest, uint8_t* src, uint8_t* iv,
199 void aes_cbc_decrypt(uint8_t* dest, uint8_t* src, uint8_t* iv,
/hardware/interfaces/drm/1.2/vts/functional/include/android/hardware/drm/1.2/vts/
Ddrm_hal_common.h115 const hidl_array<uint8_t, 16>& keyId, uint8_t* iv,
118 void aes_ctr_decrypt(uint8_t* dest, uint8_t* src, uint8_t* iv,
120 void aes_cbc_decrypt(uint8_t* dest, uint8_t* src, uint8_t* iv,
149 vector<uint8_t>& iv, const Pattern& noPattern, const vector<SubSample>& subSamples);
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
Deapol.h78 unsigned char iv[EAPOL_KEY_IV_LEN]; /* Key IV */
111 unsigned char iv[EAPOL_WPA_KEY_IV_LEN]; /* Key IV */
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhw_ar3k.c1199 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/msm8909w_3100/libbt-vendor/src/
Dhw_ar3k.c1197 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/qcom/sdm845/bt/libbt-vendor/src/
Dhw_ar3k.c1199 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/
Dhw_ar3k.c1193 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/msm8992/libbt-vendor/src/
Dhw_ar3k.c1193 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/
Dhw_ar3k.c1201 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/interfaces/drm/1.0/default/
DCryptoPlugin.cpp63 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()
DDrmPlugin.cpp269 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()
DDrmPlugin.h111 const hidl_vec<uint8_t>& iv, encrypt_cb _hidl_cb) override;
115 const hidl_vec<uint8_t>& iv, decrypt_cb _hidl_cb) override;
DCryptoPlugin.h64 const hidl_array<uint8_t, 16>& iv, Mode mode, const Pattern& pattern,
/hardware/interfaces/keymaster/4.0/vts/functional/
DKeymasterHidlTest.cpp486 const string& iv, const string& input, in CheckTripleDesTestVector() argument
493 if (iv.size()) authset.Authorization(TAG_CALLER_NONCE); in CheckTripleDesTestVector()
496 if (iv.size()) begin_params.Authorization(TAG_NONCE, iv.data(), iv.size()); in CheckTripleDesTestVector()
619 PaddingMode padding_mode, const HidlBuf& iv) { in DecryptMessage() argument
624 .Authorization(TAG_NONCE, iv); in DecryptMessage()
/hardware/qcom/keymaster/
Dkeymaster_qcom.h61 uint8_t iv[KM_IV_LENGTH]; member
/hardware/qcom/msm8x09/kernel-headers/linux/
Dqcedev.h112 uint8_t iv[QCEDEV_MAX_IV_SIZE]; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dqcedev.h191 uint8_t iv[QCEDEV_MAX_IV_SIZE]; member
/hardware/qcom/msm8x09/original-kernel-headers/linux/
Dqcedev.h191 uint8_t iv[QCEDEV_MAX_IV_SIZE]; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dqcedev.h112 uint8_t iv[QCEDEV_MAX_IV_SIZE]; member
/hardware/interfaces/drm/1.2/
DICryptoPlugin.hal45 * @param iv the initialization vector to use
80 decrypt_1_2(bool secure, uint8_t[16] keyId, uint8_t[16] iv, Mode mode,

12