Home
last modified time | relevance | path

Searched refs:text_in (Results 1 – 9 of 9) sorted by relevance

/trusty/user/app/sample/hwaes/
Dmain.c79 rc = hwaes_check_arg_in(&args->text_in); in hwaes_aes_op()
95 if (args->text_in.len != args->text_out.len) { in hwaes_aes_op()
97 args->text_in.len, args->text_out.len); in hwaes_aes_op()
203 if (args->text_in.len % EVP_CIPHER_CTX_block_size(cipher_ctx)) { in hwaes_aes_op()
204 TLOGE("text_in_len (%zd) is not block aligned\n", args->text_in.len); in hwaes_aes_op()
246 &out_data_size, args->text_in.data_ptr, in hwaes_aes_op()
247 args->text_in.len); in hwaes_aes_op()
/trusty/user/base/lib/hwaes/
Dhwaes.c385 hwaes_set_shm_arg_in(&args->text_in, &cmd_header.text_in, shm_descs, &shm); in hwaes_crypt()
410 if (cmd_header.text_in.shm_idx == HWAES_INVALID_INDEX && in hwaes_crypt()
411 args->text_in.len != 0) { in hwaes_crypt()
414 hwaes_set_iov_arg_in(&args->text_in, &cmd_header.text_in, &req_iov); in hwaes_crypt()
/trusty/user/base/lib/hwaes/srv/include/lib/hwaes_server/
Dhwaes_server.h67 struct hwaes_arg_in text_in; member
/trusty/user/base/app/hwaes-unittest/
Dhwaes-test.c255 args->text_in = vector->plaintext; in parse_vector()
257 args->text_in = vector->ciphertext; in parse_vector()
264 args->text_out.len = args->text_in.len; in parse_vector()
403 .text_in = in TEST_F_SETUP()
431 .text_in = in TEST_F_SETUP()
562 _state->args_encrypt.text_in.shm_hd_ptr = &bad_shm_hd; in TEST_F()
575 _state->args_encrypt.text_in.shm_hd_ptr = &bad_shm_hd; in TEST_F()
596 _state->args_encrypt.text_in.len = 0; in TEST_F()
624 _state->args_decrypt.text_in.len = 0; in TEST_F()
657 _state->args_encrypt.text_in = (struct hwcrypt_arg_in){ in TEST_F()
[all …]
/trusty/user/base/lib/hwaes/include/lib/hwaes/
Dhwaes.h100 struct hwcrypt_arg_in text_in; member
/trusty/user/base/interface/hwaes/include/interface/hwaes/
Dhwaes.h226 struct hwaes_data_desc text_in; member
/trusty/user/base/lib/apploader_package/
Dpackage.cpp137 cryptArgs.text_in.data_ptr = encryptedData; in hwaesDecryptAesGcmInPlace()
138 cryptArgs.text_in.len = ciphertextSize; in hwaesDecryptAesGcmInPlace()
/trusty/user/base/lib/hwaes/srv/
Dhwaes_server.c358 rc = hwaes_set_arg_in(&cmd_header->text_in, PROT_READ, shms, num_handles, in hwaes_handle_aes_cmd()
360 &args.text_in); in hwaes_handle_aes_cmd()
/trusty/user/base/app/hwaes-benchmark/
Dhwaes-bench.c284 .text_in = in BENCH_SETUP()