Home
last modified time | relevance | path

Searched refs:input (Results 1 – 17 of 17) sorted by relevance

/trusty/user/app/sample/binder-test/service/
Dmain.cpp44 Status ReverseArray(const std::vector<T>& input, in ReverseArray() argument
47 TLOGI("Reversing array of length %zu\n", input.size()); in ReverseArray()
48 *repeated = input; in ReverseArray()
49 *_aidl_return = input; in ReverseArray()
91 Status ReverseBoolean(const std::vector<bool>& input, in ReverseBoolean() argument
94 return ReverseArray(input, repeated, _aidl_return); in ReverseBoolean()
96 Status ReverseByte(const std::vector<uint8_t>& input, in ReverseByte() argument
99 return ReverseArray(input, repeated, _aidl_return); in ReverseByte()
101 Status ReverseChar(const std::vector<char16_t>& input, in ReverseChar() argument
104 return ReverseArray(input, repeated, _aidl_return); in ReverseChar()
[all …]
/trusty/user/base/lib/libc-trusty/
Dmman.c89 int prepare_input_output_dma(void* input, in prepare_input_output_dma() argument
95 if (input == output && input_len != output_len) { in prepare_input_output_dma()
100 if (input == output && input_len == output_len) { in prepare_input_output_dma()
101 rc = prepare_dma(input, input_len, DMA_FLAG_BIDIRECTION, input_pmem); in prepare_input_output_dma()
108 rc = prepare_dma(input, input_len, DMA_FLAG_TO_DEVICE, input_pmem); in prepare_input_output_dma()
116 finish_dma(input, input_len, DMA_FLAG_TO_DEVICE); // Clean DMA in prepare_input_output_dma()
123 int finish_input_output_dma(void* input, in finish_input_output_dma() argument
127 if (input == output && input_len != output_len) { in finish_input_output_dma()
131 if (input == output && input_len == output_len) { in finish_input_output_dma()
132 return finish_dma(input, input_len, DMA_FLAG_BIDIRECTION); in finish_input_output_dma()
[all …]
/trusty/user/base/app/apploader/package_tool/
Dapploader_package_tool.cpp257 auto input = read_entire_file(input_path); in sign_package() local
258 if (coseIsSigned(input, nullptr)) { in sign_package()
277 auto sig = coseSignEcDsa(key, key_id, input, protectedHeadersView, in sign_package()
285 full_sig.insert(full_sig.end(), input.begin(), input.end()); in sign_package()
290 auto input = read_entire_file(input_path); in verify_package() local
292 if (!coseIsSigned(input, &signature_length)) { in verify_package()
310 signature_ok = strictCheckEcDsaSignature(input.data(), input.size(), in verify_package()
313 std::vector<uint8_t> payload(input.begin() + signature_length, in verify_package()
314 input.end()); in verify_package()
315 input.resize(signature_length); in verify_package()
[all …]
/trusty/user/base/lib/libc-trusty/include/trusty/sys/
Dmman.h54 int prepare_input_output_dma(void* input,
74 int finish_input_output_dma(void* input,
/trusty/user/app/sample/binder-test/client/
Dmain.cpp98 const std::vector<T>& input) { in CheckReverse() argument
100 std::vector<T> repeated(input.size()); in CheckReverse()
101 std::vector<T> reversed(input.size()); in CheckReverse()
102 auto status = (*state->srv.*func)(input, &repeated, &reversed); in CheckReverse()
104 EXPECT_EQ(repeated == input, true); in CheckReverse()
106 std::vector<T> reversed_input(input); in CheckReverse()
/trusty/user/base/app/swaes-benchmark/
Dvectors.h5582 const uint8_t* input; member
5621 .input = INPUT_BYTES(arg_mode, arg_key_size, arg_input_size, \
Dswaes-bench.c207 param->input, param->input_size); in encrypt()
262 param->input, param->input_size); in decrypt()
/trusty/hardware/nxp/app/hwcrypto/
Dcaam.h59 const uint8_t* input,
/trusty/user/app/keymaster/
Dtrusty_remote_provisioning_context.h52 const cppcose::bytevec& input) const override;
Dtrusty_remote_provisioning_context.cpp191 const cppcose::bytevec& input) const { in GenerateHmacSha256()
193 auto result = cppcose::generateHmacSha256(key, input); in GenerateHmacSha256()
Dtrusty_keymaster_context.cpp1344 Buffer input; in UnwrapKey() local
1348 if (!input.Reinitialize(transit_key.key_material, in UnwrapKey()
1353 error = operation->Finish(wrapping_key_params, input, in UnwrapKey()
/trusty/user/app/confirmationui/
DREADME.md15 You will need a touch controller driver or another trusted input method for the targeted platform.
/trusty/user/base/app/hwaes-benchmark/
Dvectors.h5593 .input = INPUT_BYTES(arg_mode, arg_key_size, arg_input_size, \
Dhwaes-bench.c118 const uint8_t* input; member
262 memcpy((void*)_state->shm_hdin.base, CUR_PARAM.input, CUR_PARAM.input_size); in BENCH_SETUP()
/trusty/user/app/sample/hwcryptohal/server/
Dopaque_key.rs484 fn key_vec_to_array<T, U: std::convert::TryInto<T>>(input: U) -> Result<T, HwCryptoError> { in key_vec_to_array()
485 input in key_vec_to_array()
/trusty/user/base/make/
DREADME.md36 libraries as dependencies. See `library.mk` for a full list of input variables
/trusty/device/arm/generic-arm64/project/qemu/
Dqemu.py261 input("\n") # pylint: disable=bad-builtin