Home
last modified time | relevance | path

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

/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.h74 const base::FilePath& key_path,
81 key_path.value() + " ";
134 std::string PublicKeyAVB(const base::FilePath& key_path) { in PublicKeyAVB() argument
139 key_path.value().c_str(), in PublicKeyAVB()
/external/autotest/site_utils/stable_images/
Dassign_stable_images.py117 def _get_by_key_path(dictdict, key_path): argument
133 for key in key_path:
151 key_path = ['board-metadata', board, 'models']
152 model_versions = _get_by_key_path(metadata_json, key_path)
194 key_path = ['board-metadata', board, 'main-firmware-version']
195 fw_version = _get_by_key_path(metadata_json, key_path)
/external/autotest/client/cros/
Dhttpd.py216 def __init__(self, server_address, HandlerClass, cert_path, key_path): argument
222 keyfile=key_path)
249 key_path='/etc/mock_server.key', argument
257 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/
Davbtool348 def __init__(self, key_path): argument
364 args = ['openssl', 'rsa', '-in', key_path, '-modulus', '-noout']
394 def encode_rsa_key(key_path): argument
406 key = RSAPublicKey(key_path)
442 algorithm_name, signature_num_bytes, key_path, argument
466 [signing_helper_with_files, algorithm_name, key_path, signing_file.name])
475 [signing_helper, algorithm_name, key_path],
481 ['openssl', 'rsautl', '-sign', '-inkey', key_path, '-raw'],
2139 def verify_image(self, image_filename, key_path, expected_chain_partitions): argument
2165 if key_path:
[all …]
/external/autotest/client/common_lib/cros/
Darc.py51 key_path = os.path.join(_ADB_KEYS_PATH, 'test_key')
52 if not os.path.exists(key_path):
53 utils.system('adb keygen ' + pipes.quote(key_path))
54 os.environ[_ADB_VENDOR_KEYS] = key_path
/external/autotest/server/cros/
Dtradefed_test.py202 key_path = os.path.join(self.tmpdir, 'test_key')
203 pubkey_path = key_path + '.pub'
204 self._run('adb', verbose=True, args=('keygen', pipes.quote(key_path)))
209 os.environ['ADB_VENDOR_KEYS'] = key_path
/external/autotest/client/cros/faft/
Drpc_functions.py632 def _kernel_resign_with_keys(self, section, key_path=None): argument
634 self._kernel_handler.resign_kernel(section, key_path)