/system/keymaster/cppcose/ |
D | cppcose.cpp | 74 .add(cppbor::Map().add(ALGORITHM, HMAC_256).canonicalize().encode()) in generateCoseMac0Mac() 77 .encode(); in generateCoseMac0Mac() 93 .add(cppbor::Map().add(ALGORITHM, HMAC_256).canonicalize().encode()) in constructCoseMac0() 144 .encode(); in createCoseSign1Signature() 157 bytevec protParms = protectedParams.add(ALGORITHM, EDDSA).canonicalize().encode(); in constructCoseSign1() 212 cppbor::Array().add("Signature1").add(*protectedParams).add(aad).add(*payload).encode(); in verifyAndParseCoseSign1() 230 .encode(), in createCoseEncryptCiphertext() 243 .encode(); in constructCoseEncrypt() 365 .encode(); in decryptCoseEncrypt() 394 .encode(); in x25519_HKDF_DeriveKey()
|
/system/extras/verity/fec/tests/ |
D | fec.py | 44 def encode(image, fec, roots): function 70 encode(image, temp_fec.name, roots)
|
/system/keymaster/contexts/ |
D | pure_soft_remote_provisioning_context.cpp | 111 .add(-4670552 /* Subject Pub Key */, coseKey.encode()) in GenerateBcc() 115 .encode(); in GenerateBcc()
|
/system/bt/vendor_libs/test_vendor_lib/scripts/ |
D | test_channel.py | 77 self._socket.sendall(data.encode()) 128 name.encode() 130 arg.encode()
|
D | simple_link_layer_socket.py | 135 name.encode('utf-8') 137 arg.encode('utf-8')
|
D | send_simple_commands.py | 152 name.encode('utf-8') 154 arg.encode('utf-8')
|
/system/chre/apps/test/common/chre_cross_validator_sensor/src/ |
D | chre_cross_validator_sensor_manager.cc | 135 .values = {.funcs = {.encode = encodeFunc}, in makeDatapoint() 444 .funcs = {.encode = encodeThreeAxisSensorDatapoints}, in makeSensorThreeAxisData() 464 .funcs = {.encode = encodeFloatSensorDatapoints}, in makeSensorFloatData() 484 .funcs = {.encode = encodeProximitySensorDatapoints}, in makeSensorProximityData() 504 .funcs = {.encode = encodeStepCounterSensorDatapoints}, in makeSensorStepCounterData()
|
/system/bt/tools/scripts/ |
D | btsnoop_live.py | 191 conn_str.encode('ascii', 'ignore'), config_str.encode('ascii', 'ignore'), byref(success))
|
/system/chre/apps/test/common/shared/src/ |
D | send_message.cc | 59 result.errorMessage = {.funcs = {.encode = encodeErrorMessage}, in sendTestResultWithMsgToHost()
|
/system/bt/gd/neighbor/cert/ |
D | py_neighbor.py | 83 … address=remote_address.encode('utf8'), page_scan_repetition_mode=1, clock_offset=0x6855))
|
D | neighbor_test.py | 40 self.cert_name += b'@' + self.cert_address.encode('utf8')
|
/system/keymaster/android_keymaster/ |
D | remote_provisioning_utils.cpp | 189 return pubKeysToMac.encode(); in validateAndExtractPubkeys() 199 .encode()) in buildCertReqRecipients()
|
D | android_keymaster.cpp | 392 std::vector<uint8_t> cosePublicKey = cose_public_key_map.canonicalize().encode(); in GenerateRkpKey() 400 std::vector<uint8_t> enc = macedKey->encode(); in GenerateRkpKey() 461 std::vector<uint8_t> device_info = device_info_map->encode(); in GenerateCsr() 471 .encode()); in GenerateCsr() 507 .encode(), in GenerateCsr() 516 std::vector<uint8_t> payload = coseEncrypted->encode(); in GenerateCsr()
|
/system/tools/mkbootimg/tests/ |
D | mkbootimg_test.py | 672 self.assertEqual(raw_cmdline, cmdline.encode() + b'\x00') 674 extra_cmdline.encode() + b'\x00') 700 self.assertEqual(raw_cmdline, cmdline.encode() + b'\x00') 726 vendor_cmdline.encode() + b'\x00')
|
/system/extras/verity/fec/ |
D | main.cpp | 172 static int encode(image& ctx, const std::vector<std::string>& inp_filenames, in encode() function 403 return encode(ctx, inp_filenames, fec_filename); in main()
|
/system/keymaster/include/keymaster/cppcose/ |
D | cppcose.h | 229 bytevec encode() { return key_->canonicalize().encode(); } in encode() function
|
/system/tools/mkbootimg/ |
D | mkbootimg.py | 113 args.output.write(pack(f'{BOOT_MAGIC_SIZE}s', BOOT_MAGIC.encode())) 145 VENDOR_BOOT_MAGIC.encode())) 197 args.output.write(pack(f'{BOOT_MAGIC_SIZE}s', BOOT_MAGIC.encode())) 282 arg_bytes = arg.encode() + b'\x00'
|
/system/security/provisioner/ |
D | rkp_factory_extraction_tool.cpp | 108 auto bytes = csr.encode(); in writeOutput()
|
/system/chre/apps/test/common/chre_cross_validator_wifi/src/ |
D | chre_cross_validator_wifi_manager.cc | 262 testResult.errorMessage = {.funcs = {.encode = encodeErrorMessage}, in makeTestResultProtoMessage()
|
/system/update_engine/scripts/update_payload/ |
D | checker_unittest.py | 818 op.data_sha256_hash = hashlib.sha256(fake_data.encode('utf-8')).digest() 819 payload.ReadDataBlob.return_value = fake_data.encode('utf-8') 824 fake_data.replace(' ', '-').encode('utf-8')).digest() 825 payload.ReadDataBlob.return_value = fake_data.encode('utf-8')
|
/system/security/identity/ |
D | WritableCredential.cpp | 162 return array.encode().size(); in calcExpectedProofOfProvisioningSize()
|
D | CredentialData.cpp | 137 vector<uint8_t> credentialData = map.encode(); in saveToDisk()
|
/system/apex/tests/testdata/sharedlibs/build/ |
D | shared_libs_repack.py | 399 pb.canned_fs_config = config_to_str(canned_fs_config).encode('utf-8')
|
/system/update_engine/scripts/ |
D | update_device.py | 326 headers += extra_headers.encode()
|
/system/chre/chpp/api_parser/ |
D | README.md | 54 If conditions 2 or 3 are not met, then optimized encode/decode is still possible
|