/system/keymaster/km_openssl/ |
D | wrapped_key.cpp | 41 keymaster_error_t build_wrapped_key(const KeymasterKeyBlob& transit_key, const KeymasterBlob& iv, in build_wrapped_key() argument 51 !ASN1_OCTET_STRING_set(wrapped_key->iv, iv.data, iv.data_length) || in build_wrapped_key() 82 keymaster_error_t parse_wrapped_key(const KeymasterKeyBlob& wrapped_key, KeymasterBlob* iv, in parse_wrapped_key() argument 87 if (!iv || !transit_key || !secure_key || !tag || !auth_list || !key_format || in parse_wrapped_key() 97 *iv = KeymasterBlob(record->iv->data, record->iv->length); in parse_wrapped_key() 98 if (record->iv->data && !iv->data) { in parse_wrapped_key()
|
/system/bt/btif/src/ |
D | btif_sock_util.cc | 116 struct iovec iv; in sock_send_fd() local 117 memset(&iv, 0, sizeof(iv)); in sock_send_fd() 119 iv.iov_base = buffer; in sock_send_fd() 120 iv.iov_len = len; in sock_send_fd() 122 msg.msg_iov = &iv; in sock_send_fd()
|
/system/keymaster/include/keymaster/ |
D | wrapped_key.h | 41 ASN1_OCTET_STRING* iv; member 50 ASN1_SIMPLE(KM_WRAPPED_KEY, iv, ASN1_OCTET_STRING), 58 const KeymasterBlob& iv, keymaster_key_format_t key_format, 63 keymaster_error_t parse_wrapped_key(const KeymasterKeyBlob& wrapped_key, KeymasterBlob* iv,
|
/system/keymaster/tests/ |
D | wrapped_key_test.cpp | 71 KeymasterBlob iv = {reinterpret_cast<const uint8_t*>(test_iv.c_str()), test_iv.size()}; in TEST() local 80 build_wrapped_key(tk, iv, KM_KEY_FORMAT_RAW, secure_key, tag, authorization_list, &asn1), in TEST() 113 KeymasterBlob iv; in TEST() local 118 EXPECT_EQ(parse_wrapped_key(wrapped_key, &iv, &transit_key, &secure_key, &tag, &auth_list, in TEST() 123 EXPECT_EQ(blob2string(iv), test_iv); in TEST()
|
D | android_keymaster_test_utils.cpp | 662 const string& iv, const string& input, in CheckTripleDesTestVector() argument 668 if (iv.size()) authset.Authorization(TAG_CALLER_NONCE); in CheckTripleDesTestVector() 673 if (iv.size()) begin_params.push_back(TAG_NONCE, iv.data(), iv.size()); in CheckTripleDesTestVector()
|
D | android_keymaster_test.cpp | 2906 string iv; in TEST_P() local 2907 string ciphertext = EncryptMessage(message, KM_MODE_CBC, KM_PAD_PKCS7, &iv); in TEST_P() 2909 string plaintext = DecryptMessage(ciphertext, KM_MODE_CBC, KM_PAD_PKCS7, iv); in TEST_P() 3491 const char* iv; member 3645 hex2str(test.key), hex2str(test.iv), hex2str(test.input), in TEST_P() 3783 string iv; in TEST_P() local 3784 string ciphertext = EncryptMessage(message, KM_MODE_CBC, KM_PAD_PKCS7, &iv); in TEST_P() 3786 string plaintext = DecryptMessage(ciphertext, KM_MODE_CBC, KM_PAD_PKCS7, iv); in TEST_P() 3814 string iv; in TEST_P() local 3815 string ciphertext = EncryptMessage(message, KM_MODE_CBC, KM_PAD_PKCS7, &iv); in TEST_P() [all …]
|
D | android_keymaster_test_utils.h | 297 const std::string& iv, const std::string& message,
|
/system/libvintf/ |
D | KernelConfigTypedValue.cpp | 75 KernelConfigIntValue iv; in matchValue() local 76 return parseKernelConfigInt(s, &iv) && iv == mIntegerValue; in matchValue()
|
/system/bt/stack/crypto_toolbox/ |
D | aes.h | 93 int n_block, unsigned char iv[N_BLOCK], 103 int n_block, unsigned char iv[N_BLOCK],
|
D | aes.cc | 627 int n_block, unsigned char iv[N_BLOCK], 630 xor_block(iv, in); 631 if (aes_encrypt(iv, iv, ctx) != EXIT_SUCCESS) return EXIT_FAILURE; 632 memcpy(out, iv, N_BLOCK); 674 int n_block, unsigned char iv[N_BLOCK], 681 xor_block(out, iv); 682 memcpy(iv, tmp, N_BLOCK);
|
/system/bt/gd/crypto_toolbox/ |
D | aes.h | 91 …const unsigned char* in, unsigned char* out, int n_block, unsigned char iv[N_BLOCK], const aes_con… 99 …const unsigned char* in, unsigned char* out, int n_block, unsigned char iv[N_BLOCK], const aes_con…
|
D | aes.cc | 574 …const unsigned char* in, unsigned char* out, int n_block, unsigned char iv[N_BLOCK], const aes_con… 576 xor_block(iv, in); 577 if (aes_encrypt(iv, iv, ctx) != EXIT_SUCCESS) return EXIT_FAILURE; 578 memcpy(out, iv, N_BLOCK); 619 …const unsigned char* in, unsigned char* out, int n_block, unsigned char iv[N_BLOCK], const aes_con… 625 xor_block(out, iv); 626 memcpy(iv, tmp, N_BLOCK);
|
/system/keymaster/contexts/ |
D | pure_soft_keymaster_context.cpp | 310 KeymasterBlob iv; in UnwrapKey() local 315 error = parse_wrapped_key(wrapped_key_blob, &iv, &transit_key, &secure_key, &tag, in UnwrapKey() 371 .Authorization(TAG_NONCE, iv) in UnwrapKey() 380 .Authorization(TAG_NONCE, iv) in UnwrapKey()
|
/system/security/keystore/ |
D | blob.cpp | 80 const std::vector<uint8_t>& key, const uint8_t* iv, uint8_t* tag) { in AES_gcm_encrypt() argument 87 EVP_EncryptInit_ex(ctx.get(), cipher, nullptr /* engine */, key.data(), iv); in AES_gcm_encrypt() 116 const std::vector<uint8_t> key, const uint8_t* iv, in AES_gcm_decrypt() argument 124 EVP_DecryptInit_ex(ctx.get(), cipher, nullptr /* engine */, key.data(), iv); in AES_gcm_decrypt()
|
/system/extras/power_profile/camera_avg/ |
D | LICENSE | 471 iv. a notice that refers to the disclaimer of
|
/system/extras/simpleperf/scripts/inferno/ |
D | inferno.b64 | 1 …xWkWSgNaqT5fIbAwnDyU8+o4v+0PvxL3Paz/729J/u6B360PK4odo8WPMncQwDOOlmPHXMAxjw/iv/A10chr0+98c69lxGU6eq…
|