/system/security/provisioner/ |
D | rkp_factory_extraction_tool.cpp | 70 Array composeCertificateRequest(const ProtectedData& protectedData, in composeCertificateRequest() 74 Array macedKeysToSign = Array() in composeCertificateRequest() 80 Array deviceInfo = in composeCertificateRequest() 81 Array().add(EncodedItem(verifiedDeviceInfo.deviceInfo)).add(Map()); // Empty device info in composeCertificateRequest() 83 Array certificateRequest = Array() in composeCertificateRequest() 106 void writeOutput(const Array& csr) { in writeOutput()
|
/system/keymaster/cppcose/ |
D | cppcose.cpp | 72 auto macStructure = cppbor::Array() in generateCoseMac0Mac() 87 ErrMsgOr<cppbor::Array> constructCoseMac0(HmacSha256Function macFunction, in constructCoseMac0() 92 return cppbor::Array() in constructCoseMac0() 139 bytevec signatureInput = cppbor::Array() in createCoseSign1Signature() 155 ErrMsgOr<cppbor::Array> constructCoseSign1(const bytevec& key, cppbor::Map protectedParams, in constructCoseSign1() 161 return cppbor::Array() in constructCoseSign1() 168 ErrMsgOr<cppbor::Array> constructCoseSign1(const bytevec& key, const bytevec& payload, in constructCoseSign1() 173 ErrMsgOr<bytevec> verifyAndParseCoseSign1(const cppbor::Array* coseSign1, in verifyAndParseCoseSign1() 212 cppbor::Array().add("Signature1").add(*protectedParams).add(aad).add(*payload).encode(); in verifyAndParseCoseSign1() 226 cppbor::Array() // Enc strucure as AAD in createCoseEncryptCiphertext() [all …]
|
/system/security/identity/ |
D | CredentialData.cpp | 87 cppbor::Array sacpArray; in saveToDisk() 89 cppbor::Array array; in saveToDisk() 103 cppbor::Array encryptedChunkArray; in saveToDisk() 107 cppbor::Array entryDataArray; in saveToDisk() 109 cppbor::Array idsArray; in saveToDisk() 121 cppbor::Array authKeyDatasArray; in saveToDisk() 123 cppbor::Array array; in saveToDisk() 143 const cppbor::Array* array = item.asArray(); in parseSacp() 174 const cppbor::Array* array = item.asArray(); in parseAuthKeyData() 210 const cppbor::Array* array = item.asArray(); in parseAccessControlProfileIds() [all …]
|
D | WritableCredential.cpp | 119 cppbor::Array acpArray; in calcExpectedProofOfProvisioningSize() 135 cppbor::Array entriesArray; in calcExpectedProofOfProvisioningSize() 146 cppbor::Array acpIdsArray; in calcExpectedProofOfProvisioningSize() 156 cppbor::Array array; in calcExpectedProofOfProvisioningSize()
|
D | Credential.cpp | 726 const cppbor::Array* array = item->asArray(); in extractDocType()
|
/system/keymaster/include/keymaster/ |
D | remote_provisioning_context.h | 37 virtual std::pair<std::vector<uint8_t>, cppbor::Array> GenerateBcc(bool testMode) const = 0; 45 cppbor::Array bcc_;
|
D | remote_provisioning_utils.h | 75 cppbor::Array buildCertReqRecipients(const std::vector<uint8_t>& pubkey,
|
/system/keymaster/android_keymaster/ |
D | remote_provisioning_utils.cpp | 76 const cppbor::Array* certArr = item->asArray(); in validateAndExtractEekPubAndId() 130 auto pubKeysToMac = cppbor::Array(); in validateAndExtractPubkeys() 192 cppbor::Array buildCertReqRecipients(const std::vector<uint8_t>& pubkey, in buildCertReqRecipients() 194 return cppbor::Array() // Array of recipients in buildCertReqRecipients() 195 .add(cppbor::Array() // Recipient in buildCertReqRecipients()
|
D | android_keymaster.cpp | 447 cppbor::Array bcc; in GenerateCsr() 466 cppbor::Array() /* AAD */ in GenerateCsr() 504 cppbor::Array() // payload in GenerateCsr()
|
/system/teeui/libteeui/include/teeui/ |
D | cbor.h | 59 template <typename... Elems> struct Array; 61 template <typename Head, typename... Tail> struct Array<Head, Tail...> { 63 Array<Tail...> tail_; 64 Array(const Head& head, const Tail&... tail) : head_(head), tail_(tail...) {} 68 template <> struct Array<> {}; 148 template <typename... Elements> Array<Elements...> arr(const Elements&... elements) { 149 return Array<Elements...>(elements...); 274 template <typename... Elems> WriteState write(WriteState wState, const Array<Elems...>& arr) {
|
D | common_message_types.h | 155 inline std::tuple<teeui::ReadStream, teeui::Array<uint8_t, size>> 156 read(teeui::Message<teeui::Array<uint8_t, size>>, teeui::ReadStream in) { in read() 157 std::tuple<teeui::ReadStream, teeui::Array<uint8_t, size>> result; in read() 172 inline teeui::WriteStream write(teeui::WriteStream out, const teeui::Array<uint8_t, size>& v) { in write()
|
D | utils.h | 39 template <typename T, size_t elements> class Array { 43 constexpr Array() : data_{} {} in Array() function 44 constexpr Array(const T (&data)[elements]) { std::copy(data, data + elements, data_); } in Array() function 45 constexpr Array(const std::initializer_list<uint8_t>& li) { in Array() function 66 static constexpr Array fill(const T& v) { in fill() 67 Array result; in fill() 123 using AuthTokenKey = Array<uint8_t, kAuthTokenKeySize>;
|
/system/keymaster/include/keymaster/cppcose/ |
D | cppcose.h | 244 ErrMsgOr<cppbor::Array> constructCoseMac0(HmacSha256Function macFunction, 251 ErrMsgOr<cppbor::Array> constructCoseSign1(const bytevec& key, const bytevec& payload, 253 ErrMsgOr<cppbor::Array> constructCoseSign1(const bytevec& key, cppbor::Map extraProtectedFields, 264 ErrMsgOr<bytevec /* payload */> verifyAndParseCoseSign1(const cppbor::Array* coseSign1, 270 ErrMsgOr<cppbor::Array> constructCoseEncrypt(const bytevec& key, const bytevec& nonce, 272 cppbor::Array recipients);
|
/system/teeui/libteeui/include/secure_input/ |
D | secure_input_proto.h | 58 using Nonce = teeui::Array<uint8_t, kNonceBytes>; 59 using Signature = teeui::Array<uint8_t, kSignatureBytes>;
|
/system/keymaster/contexts/ |
D | pure_soft_remote_provisioning_context.cpp | 87 std::pair<std::vector<uint8_t> /* privKey */, cppbor::Array /* BCC */> 121 return {privKey, cppbor::Array().add(std::move(coseKey)).add(coseSign1.moveValue())}; in GenerateBcc()
|
/system/keymaster/include/keymaster/contexts/ |
D | pure_soft_remote_provisioning_context.h | 35 std::pair<std::vector<uint8_t>, cppbor::Array> GenerateBcc(bool testMode) const override;
|
/system/libhidl/base/include/hidl/ |
D | HidlSupport.h | 589 template <typename Array> 590 void copyFrom(const Array &data, size_t size) { in copyFrom() 945 template<typename Array> 946 std::string arrayToString(const Array &a, size_t size); 963 template<typename Array> 964 std::string arrayToString(const Array &a, size_t size) {
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 443 template<typename T, uint16_t length> class Array { 528 constexpr Array(); 530 Array(); 538 Array(const Array &); 539 Array &operator=(const Array &); 544 template<typename T, uint16_t length> class Array<Offset<T>, length> { 560 Array(); 561 Array(const Array &); 562 Array &operator=(const Array &);
|
/system/keymaster/km_openssl/ |
D | attestation_record.cpp | 134 std::unordered_map<EatClaim, cppbor::Array>* fields_map) { in add_repeating_enum() 139 fields_map->insert({key, cppbor::Array().add(value)}); in add_repeating_enum() 145 std::unordered_map<EatClaim, cppbor::Array>* fields_map) { in insert_unknown_tag() 290 std::unordered_map<EatClaim, cppbor::Array> repeating_fields = in build_eat_submod() 291 std::unordered_map<EatClaim, cppbor::Array>(); in build_eat_submod() 857 auto eat_boot_state = cppbor::Array() in build_eat_record() 1487 const cppbor::Array* array_value = value_item->asArray(); in parse_eat_record()
|
/system/media/camera/docs/ |
D | camera_metadata_tag_info.mako | 24 * Array assignments are done using specified-index syntax to keep things in
|
/system/libvintf/ |
D | parse_string.cpp | 78 template<typename E, typename Array> 79 bool parseEnum(const std::string &s, E *e, const Array &strings) { in parseEnum()
|
D | parse_xml.cpp | 216 template<typename Array> 218 const Array &array, DocType *d) const { in appendTextElements() 226 template <typename T, typename Array> 228 const Array& array, DocType* d, in appendChildren()
|
/system/bt/gd/packet/parser/ |
D | language_y.yy | 732 DEBUG() << "Array field defined name=" << *$1 << " element_size=" << $3 763 DEBUG() << "Array field defined name=" << *$1 << " type=" << *$3
|
/system/tools/aidl/ |
D | aidl_language_y.yy | 432 …$$ = AidlConstantValue::Array(loc(@1), std::unique_ptr<vector<unique_ptr<AidlConstantValue>>>($2));
|
D | aidl_const_expressions.cpp | 445 AidlConstantValue* AidlConstantValue::Array( in Array() function in AidlConstantValue
|