/trusty/user/app/sample/binder-test/service/ |
D | main.cpp | 44 Status ReverseArray(const std::vector<T>& input, in ReverseArray() 45 std::vector<T>* repeated, in ReverseArray() 46 std::vector<T>* _aidl_return) { in ReverseArray() 91 Status ReverseBoolean(const std::vector<bool>& input, in ReverseBoolean() 92 std::vector<bool>* repeated, in ReverseBoolean() 93 std::vector<bool>* _aidl_return) override { in ReverseBoolean() 96 Status ReverseByte(const std::vector<uint8_t>& input, in ReverseByte() 97 std::vector<uint8_t>* repeated, in ReverseByte() 98 std::vector<uint8_t>* _aidl_return) override { in ReverseByte() 101 Status ReverseChar(const std::vector<char16_t>& input, in ReverseChar() [all …]
|
/trusty/user/base/lib/apploader_package/include/apploader/ |
D | cose.h | 120 std::optional<std::vector<uint8_t>> coseSignEcDsa( 121 const std::vector<uint8_t>& key, 123 const std::vector<uint8_t>& data, 154 bool coseCheckEcDsaSignature(const std::vector<uint8_t>& signatureCoseSign1, 155 const std::vector<uint8_t>& detachedContent, 156 const std::vector<uint8_t>& publicKey); 219 std::optional<std::vector<uint8_t>> coseEncryptAesGcmKeyWrap( 220 const std::vector<uint8_t>& key, 223 const std::vector<uint8_t>& externalAad, 224 const std::vector<uint8_t>& encodedProtectedHeaders, [all …]
|
D | cbor.h | 93 constexpr bool operator()(const std::vector<T>& a, in operator() 94 const std::vector<T>& b) const { in operator() 113 using CborMap = std::map<std::vector<uint8_t>, 147 std::vector<uint8_t> encKey(encodedSizeOfInt(key)); in populateMap() 171 static inline std::optional<std::vector<uint8_t>> mergeMaps( in mergeMaps() 192 auto output = std::vector<uint8_t>(outputSize); in mergeMaps() 398 void encodeBstr(const std::vector<uint8_t>& vec) { in encodeBstr() 436 bool copyBytes(const std::vector<uint8_t>& vec) { in copyBytes() 605 void encodeBstr(const std::vector<uint8_t>& vec) { in encodeBstr() 638 bool copyBytes(const std::vector<uint8_t>& vec) { in copyBytes() [all …]
|
/trusty/kernel/lib/trusty/ |
D | uirq.c | 35 static void uirq_hw_mask(const void* vector) { in uirq_hw_mask() argument 36 int ret = mask_interrupt((unsigned int)(uintptr_t)vector); in uirq_hw_mask() 40 static void uirq_hw_unmask(const void* vector) { in uirq_hw_unmask() argument 41 int ret = unmask_interrupt((unsigned int)(uintptr_t)vector); in uirq_hw_unmask() 87 int uirq_register_hw_irq(unsigned int vector, in uirq_register_hw_irq() argument 98 rc = mask_interrupt(vector); in uirq_register_hw_irq() 105 (const void*)(uintptr_t)vector, uirq->uuids, in uirq_register_hw_irq() 112 register_int_handler(vector, plat_uirq_handler, h); in uirq_register_hw_irq() 117 register_int_handler(vector, NULL, NULL); in uirq_register_hw_irq()
|
/trusty/user/app/sample/binder-test/client/ |
D | main.cpp | 95 Status (ITestService::*func)(const std::vector<T>&, in CheckReverse() 96 std::vector<T>*, in CheckReverse() 97 std::vector<T>*), in CheckReverse() 98 const std::vector<T>& input) { in CheckReverse() 100 std::vector<T> repeated(input.size()); in CheckReverse() 101 std::vector<T> reversed(input.size()); in CheckReverse() 106 std::vector<T> reversed_input(input); in CheckReverse() 188 std::vector<String16> strings = { in TEST_F() 202 std::vector<bool> bools{true, false, false}; in TEST_F() 207 std::vector<uint8_t> bytes{uint8_t{255}, uint8_t{0}, uint8_t{127}}; in TEST_F() [all …]
|
/trusty/user/app/keymaster/ |
D | trusty_remote_provisioning_context.h | 43 std::vector<uint8_t> DeriveBytesFromHbk(const std::string& context, 47 cppcose::ErrMsgOr<std::vector<uint8_t>> BuildProtectedDataPayload( 49 const std::vector<uint8_t>& macKey, 50 const std::vector<uint8_t>& aad) const override; 55 const std::vector<uint8_t>& challenge,
|
D | trusty_remote_provisioning_context.cpp | 52 std::vector<uint8_t> TrustyRemoteProvisioningContext::DeriveBytesFromHbk( in DeriveBytesFromHbk() 75 std::vector<uint8_t> result(num_bytes); in DeriveBytesFromHbk() 164 cppcose::ErrMsgOr<std::vector<uint8_t>> 167 const std::vector<uint8_t>& macKey, in BuildProtectedDataPayload() 168 const std::vector<uint8_t>& aad) const { in BuildProtectedDataPayload() 169 std::vector<uint8_t> signedOutput(HWBCC_MAX_RESP_PAYLOAD_SIZE); in BuildProtectedDataPayload() 170 std::vector<uint8_t> bcc(HWBCC_MAX_RESP_PAYLOAD_SIZE); in BuildProtectedDataPayload() 212 const std::vector<uint8_t>& challenge, in BuildCsr() 227 std::vector<uint8_t> signedData(HWBCC_MAX_RESP_PAYLOAD_SIZE); in BuildCsr() 228 std::vector<uint8_t> bcc(HWBCC_MAX_RESP_PAYLOAD_SIZE); in BuildCsr()
|
D | openssl_keymaster_enforcement.h | 54 const std::vector<uint8_t>& data_to_mac) const override;
|
/trusty/user/app/cast-auth/app/ |
D | cast_auth_impl.h | 27 const std::vector<uint8_t>& wrappedKey); 28 android::binder::Status SignHash(const std::vector<uint8_t>& hash, 29 std::vector<uint8_t>* signature);
|
D | cast_auth_impl.cc | 47 bool is_plaintext_rsa_2048_private_key(const std::vector<uint8_t>& key) { in is_plaintext_rsa_2048_private_key() 73 Status CastAuthImpl::ProvisionKey(const std::vector<uint8_t>& wrappedKey) { in ProvisionKey() 114 Status CastAuthImpl::SignHash(const std::vector<uint8_t>& hash, in SignHash() 115 std::vector<uint8_t>* signature) { in SignHash()
|
/trusty/user/base/lib/apploader_package/ |
D | cose.cpp | 82 static std::vector<uint8_t> coseBuildToBeSigned( in coseBuildToBeSigned() 84 const std::vector<uint8_t>& data) { in coseBuildToBeSigned() 98 static std::optional<std::vector<uint8_t>> getRandom(size_t numBytes) { in getRandom() 99 std::vector<uint8_t> output; in getRandom() 110 const std::vector<std::tuple<const void*, size_t>>& data_list) { in sha() 126 const std::vector<std::tuple<const void*, size_t>>& data_list) { in sha() 142 static SHADigest sha(const std::vector<uint8_t>& data) { in sha() 146 static std::optional<std::vector<uint8_t>> signEcDsaDigest( in signEcDsaDigest() 147 const std::vector<uint8_t>& key, in signEcDsaDigest() 176 std::vector<uint8_t> signature; in signEcDsaDigest() [all …]
|
/trusty/user/app/confirmationui/src/ |
D | trusty_confirmation_ui.h | 85 std::vector<secure_fb_info> fb_info_; 86 std::vector<secure_fb_handle_t> secure_fb_handle_; 91 std::vector<std::unique_ptr<teeui::layouts::ILayout>> layout_;
|
/trusty/user/app/cast-auth/app/test-app/ |
D | main.cc | 50 const std::vector<uint8_t> test_hash{ 60 const std::vector<uint8_t> test_pkcs1_der{ 269 std::vector<uint8_t> wrapped_keybox(test_pkcs1_der.size() + 1); in TEST_F() 282 std::vector<uint8_t> signature(256); in TEST_F() 301 std::vector<uint8_t> signature(256); in TEST_F()
|
/trusty/kernel/lib/shared/device_tree/service/include/lib/shared/device_tree/service/ |
D | device_tree_service.h | 77 NodeIterator(const std::vector<std::string>& compatible, in NodeIterator() 89 std::optional<std::vector<std::string>> mCompatibleStrs; 101 const std::vector<std::string>& compatible_strs,
|
/trusty/user/base/app/hwaes-unittest/ |
D | hwaes-test.c | 243 static void parse_vector(const struct test_vector* vector, in parse_vector() argument 249 args->mode = vector->mode; in parse_vector() 251 args->key = vector->key; in parse_vector() 252 args->iv = vector->iv; in parse_vector() 253 args->aad = vector->aad; in parse_vector() 255 args->text_in = vector->plaintext; in parse_vector() 257 args->text_in = vector->ciphertext; in parse_vector() 258 args->tag_in = vector->tag; in parse_vector() 267 if (encrypt && vector->tag.len > 0) { in parse_vector() 269 args->tag_out.len = vector->tag.len; in parse_vector() [all …]
|
/trusty/user/base/lib/hwbcc/common/ |
D | common.cpp | 189 std::vector<uint8_t> signature_input = cppbor::Array() in validate_bcc_entry() 207 std::vector<PubKey> keys; in validate_bcc() 228 std::vector<PubKey>* keys) { in validate_bcc_impl() 297 std::vector<uint8_t> cdi_attest = handover_map->get(1)->asBstr()->value(); in validate_bcc_handover_impl() 298 std::vector<uint8_t> cdi_seal = handover_map->get(2)->asBstr()->value(); in validate_bcc_handover_impl()
|
/trusty/kernel/lib/trusty/include/lib/trusty/ |
D | uirq.h | 77 int uirq_register_hw_irq(unsigned int vector,
|
/trusty/user/base/lib/hwbcc/test/ |
D | main.cpp | 86 std::vector<PubKey> keys; in TEST_F() 115 std::vector<PubKey> keys1; in TEST() 116 std::vector<PubKey> keys2; in TEST() 183 std::vector<PubKey> keys; in TEST()
|
/trusty/user/base/lib/libstdc++-trusty/test/ |
D | libcxx_test.cpp | 268 TEST_F(libcxx, vector) { in TEST_F() argument 270 std::vector<int> v = {1, 2, 3, 4, 5, 6, 7}; in TEST_F() 284 std::vector<Counter> a(3); in TEST_F() 285 std::vector<Counter> b; in TEST_F() 308 std::vector<int> v = {2, 3, 1}; in TEST_F()
|
/trusty/user/base/lib/hwbcc/common/include/lib/hwbcc/common/ |
D | common.h | 40 std::vector<PubKey>* keys);
|
/trusty/user/base/app/apploader/tests/cbor_test/ |
D | cbor_test.cpp | 58 std::vector<uint64_t> cases = {0, in TEST() 75 static std::vector<int64_t> int64_cases = {std::numeric_limits<int64_t>::min(), 107 std::vector<uint64_t> cases = { in TEST() 138 std::vector<uint8_t> emptyEncoded = empty.encode(); in TEST() 188 const std::vector<uint8_t> firstEncoded = first.encode(); in TEST() 192 const std::vector<uint8_t> secondEncoded = second.encode(); in TEST()
|
/trusty/kernel/lib/libcxx-trusty/ |
D | rules.mk | 69 $(LIBCXX_DIR)/src/vector.cpp \
|
/trusty/user/app/sample/stats-test/relayer/ |
D | relayer.cpp | 80 std::vector<VendorAtom> pending; in setInterface() 132 std::vector<VendorAtom> mPendingAtoms;
|
/trusty/user/base/app/acvp/ |
D | acvp.cpp | 140 std::vector<uint8_t> out(static_cast<size_t>(out_len)); in KAS_HKDF() 159 bool WriteReply(std::vector<bssl::Span<const uint8_t>> spans); 188 bool TrustyAcvpTool::WriteReply(std::vector<bssl::Span<const uint8_t>> spans) { in WriteReply() 313 const std::vector<bssl::Span<const uint8_t>>& args) { in RewriteConfig()
|
/trusty/kernel/lib/syscall/ |
D | README | 42 Syscall vector handler and ABI 45 The system call vector handler provided as part of this library simply
|