Home
last modified time | relevance | path

Searched refs:op (Results 1 – 10 of 10) sorted by relevance

/trusty/user/app/confirmationui/src/
Dmain.cpp39 std::unique_ptr<TrustyOperation> op; member
197 ctx->op->handleMsg(msg, req_len, ctx->shm_base, &resp_len); in handle_msg()
217 auto op = std::make_unique<TrustyOperation>(); in on_connect() local
218 if (!op) { in on_connect()
233 op->setHmacKey(kTestKey); in on_connect()
241 op->abort(); in on_connect()
245 op->setHmacKey(authKey); in on_connect()
248 ctx->op = std::move(op); in on_connect()
257 ctx->op->abort(); in on_channel_cleanup()
258 ctx->op.reset(); in on_channel_cleanup()
/trusty/kernel/lib/syscall/stubgen/
Dstubgen.py346 op = OptionParser(usage=usage)
347 op.add_option("-v", "--verify", action="store_true",
350 op.add_option("-d", "--std-header", type="string",
353 op.add_option("-s", "--stubs-file", type="string",
356 op.add_option("-r", "--rust-file", type="string",
359 op.add_option("-a", "--arch", type="string",
363 (opts, args) = op.parse_args()
366 op.print_help()
371 op.print_help()
/trusty/user/base/lib/unittest-rust/src/
Dasserts.rs62 let op = match kind { in assert_failed_inner() localVariable
73 op, in assert_failed_inner()
83 op, in assert_failed_inner()
/trusty/user/app/sample/hwcryptohal/server/
Dservice_encryption_key.rs90 let mut op = aes.begin_aead( in encrypt_content_service_encryption_key() localVariable
95 op.update_aad(aad)?; in encrypt_content_service_encryption_key()
96 let mut ct = op.update(pt)?; in encrypt_content_service_encryption_key()
97 ct.try_extend_from_slice(&op.finish()?)?; in encrypt_content_service_encryption_key()
116 let mut op = aes.begin_aead( in decrypt_content_service_encryption_key() localVariable
126 op.update_aad(&extended_aad)?; in decrypt_content_service_encryption_key()
127 let mut pt_data = op.update(&context.ciphertext.unwrap_or_default())?; in decrypt_content_service_encryption_key()
129 &op.finish() in decrypt_content_service_encryption_key()
/trusty/user/base/lib/sample/apploader_policy_engine/
Dapploader_policy_engine.cpp46 std::string_view op, in get_key() argument
51 key_slot += op; in get_key()
/trusty/kernel/include/shared/lk/
Dtrusty_unittest.h640 #define ASSERT_EXPECT_TEST(op, op_pre, op_sep, op_args, is_hard_fail, \ argument
715 #define ASSERT_EXPECT_LONG_TEST(op, is_hard_fail, fail_action, val1, val2, \ argument
717 ASSERT_EXPECT_TEST(op, , (op), (), is_hard_fail, fail_action, \
718 __typeof__(val2), "%ld", (long), #op, val1, val2, args)
728 #define EXPECT_TEST(op, args...) ASSERT_EXPECT_LONG_TEST(op, false, , args) argument
754 #define ASSERT_TEST(op, args...) \ argument
755 ASSERT_EXPECT_LONG_TEST(op, true, goto test_abort;, args)
/trusty/user/app/keymint/keys/
Dlegacy.rs182 let mut op = in convert_key() localVariable
184 let mut raw_key_material = op.update(&encrypted_keyblob.ciphertext)?; in convert_key()
185 raw_key_material.try_extend_from_slice(&op.update(&encrypted_keyblob.tag)?)?; in convert_key()
186 raw_key_material.try_extend_from_slice(&op.finish()?)?; in convert_key()
/trusty/user/base/lib/apploader_package/
Dpackage.cpp53 get_key(hwkey_session_t hwkey_session, std::string_view op, uint8_t key_id) { in get_key() argument
55 key_slot += op; in get_key()
/trusty/kernel/lib/ubsan/
Dubsan.c193 const char* op) { in handle_overflow() argument
201 scnprintf(overflow_kind, sizeof(overflow_kind), "overflow:%s", op); in handle_overflow()
212 rendered_lhs, op, rendered_rhs, type->name); in handle_overflow()
/trusty/user/app/keymint/
Dipc_manager.rs416 let op = req_msg.code(); in on_message() localVariable
424 error!("operation {:?} failed: {:?} {}", op, rc, msg); in on_message()
425 legacy::serialize_trusty_error_rsp(op, rc).map_err(|e| { in on_message()
519 let op = req_msg.code(); in on_message() localVariable
533 error!("operation {:?} failed: {:?} {}", op, rc, msg); in on_message()
534 legacy::serialize_trusty_secure_error_rsp(op, rc).map_err(|e| { in on_message()