Home
last modified time | relevance | path

Searched refs:key_path (Results 1 – 12 of 12) sorted by relevance

/external/autotest/site_utils/stable_images/
Dbuild_data.py129 def _get_by_key_path(dictdict, key_path): argument
144 for key in key_path:
162 key_path = ['board-metadata', board, 'models']
163 model_versions = _get_by_key_path(metadata_json, key_path)
266 key_path = ['board-metadata', board, 'main-firmware-version']
267 return {board: _get_by_key_path(metadata_json, key_path)}
/external/autotest/client/cros/faft/utils/
Dkernel_handler.py109 key_path=None): argument
140 if key_path and self.os_if.is_dir(key_path):
141 resign_key_path = key_path
186 def resign_kernel(self, section, key_path=None): argument
191 key_path)
/external/avb/test/
Davb_unittest_util.cc96 const base::FilePath& key_path, in GenerateVBMetaImage() argument
103 key_path.value() + " "; in GenerateVBMetaImage()
154 std::string BaseAvbToolTest::PublicKeyAVB(const base::FilePath& key_path) { in PublicKeyAVB() argument
159 key_path.value().c_str(), in PublicKeyAVB()
Davb_unittest_util.h80 const base::FilePath& key_path,
94 std::string PublicKeyAVB(const base::FilePath& key_path);
Davb_atx_validate_unittest.cc286 void SignUnlockCredentialChallenge(const char* key_path) { in SignUnlockCredentialChallenge() argument
288 ScopedRSA key(key_path); in SignUnlockCredentialChallenge()
/external/autotest/client/cros/
Dhttpd.py247 def __init__(self, server_address, HandlerClass, cert_path, key_path): argument
253 keyfile=key_path)
280 key_path='/etc/mock_server.key', argument
288 key_path)
Dhttpd_unittest.py70 key_path=(creds_path+'.key'))
/external/scapy/scapy/layers/tls/
Dcert.py183 def __call__(cls, key_path=None): argument
185 if key_path is None:
195 if isinstance(key_path, tuple):
199 obj.import_from_tuple(key_path)
206 obj = _PKIObjMaker.__call__(cls, key_path, _MAX_KEY_SIZE)
343 def __call__(cls, key_path=None): argument
351 if key_path is None:
360 obj = _PKIObjMaker.__call__(cls, key_path, _MAX_KEY_SIZE)
/external/avb/
Davbtool347 def __init__(self, key_path): argument
363 args = ['openssl', 'rsa', '-in', key_path, '-modulus', '-noout']
393 def encode_rsa_key(key_path): argument
405 key = RSAPublicKey(key_path)
441 algorithm_name, signature_num_bytes, key_path, argument
465 [signing_helper_with_files, algorithm_name, key_path, signing_file.name])
474 [signing_helper, algorithm_name, key_path],
480 ['openssl', 'rsautl', '-sign', '-inkey', key_path, '-raw'],
2223 …def verify_image(self, image_filename, key_path, expected_chain_partitions, follow_chain_partition… argument
2250 if key_path:
[all …]
/external/autotest/client/common_lib/cros/
Darc.py55 key_path = os.path.join(_ADB_KEYS_PATH, 'test_key')
56 if not os.path.exists(key_path):
57 utils.system('adb keygen ' + pipes.quote(key_path))
58 os.environ[_ADB_VENDOR_KEYS] = key_path
/external/autotest/server/cros/
Dtradefed_test.py409 key_path = os.path.join(self.tmpdir, 'test_key')
410 pubkey_path = key_path + '.pub'
411 self._run_adb_cmd(verbose=True, args=('keygen', pipes.quote(key_path)))
412 os.environ['ADB_VENDOR_KEYS'] = key_path
/external/autotest/client/cros/faft/
Drpc_functions.py639 def _kernel_resign_with_keys(self, section, key_path=None): argument
641 self._kernel_handler.resign_kernel(section, key_path)