Home
last modified time | relevance | path

Searched refs:encoding (Results 1 – 25 of 37) sorted by relevance

12

/openthread-latest/third_party/mbedtls/repo/scripts/
Dgenerate_driver_wrappers.py65 encoding='UTF-8') as out_file:
102 with open(file=driver_file, mode='r', encoding='UTF-8') as f:
129 with open(file=file_path, mode='r', encoding='UTF-8') as file:
144 encoding='UTF-8') as driver_list_file:
Dassemble_changelog.py263 with open(filename, 'w', encoding='utf-8') as out:
406 with open(generated_output_file, 'r', encoding='utf-8') as fd:
408 for line in open(main_input_file, 'r', encoding='utf-8'):
412 for line in open(merged_file, 'r', encoding='utf-8'):
469 with open(options.input, 'r', encoding='utf-8') as input_file:
476 with open(filename, 'r', encoding='utf-8') as input_file:
Dcode_style.py50 content = open(CHECK_GENERATED_FILES, encoding="utf-8").read()
58 content = open(filename, encoding="utf-8").read()
Dconfig.py400 with open(filename, 'r', encoding='utf-8') as file:
481 with open(filename, 'w', encoding='utf-8') as output:
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/
Dpsa-limitations.md97 - a hash algorithm used for the encoding function
114 - encoding hash = MGF1 hash (from context, or argument = message hash)
118 - encoding hash = MGF1 hash (from context, or argument = message hash)
122 - encoding hash = MGF1 hash (from context, or argument = message hash)
126 - encoding hash = MGF1 hash from dedicated argument
132 - encoding hash = MGF1 hash, specified explicitly
136 - hash alg used for message hashing, encoding and MGF1
152 RFC 4055 Section 3.1 defines the encoding of RSA-PSS that's used in X.509.
153 It allows independently specifying the message hash (also used for encoding
156 encoded as part of the key, and of the signature. If both encoding are
[all …]
Dmd-cipher-dispatch.md244 #### Double encoding solution
246 A natural solution is to double up the encoding of hashes in `mbedtls_md_type_t`. Pass `MBEDTLS_MD_…
480 #### Conversion to PSA encoding
482 The implementation needs to convert from a legacy type encoding to a PSA encoding.
541 … renumber the `mbedtls_md_type_t` enum so that the values are the 8 lower bits of the PSA encoding.
/openthread-latest/tools/otci/
Dsetup.py31 with open("README.md", "r", encoding="utf-8") as fh:
/openthread-latest/tools/otci/otci/
Dconnectors.py118 encoding='utf-8',
132 encoding='utf-8',
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Dset_psa_test_dependencies.py260 with open(tmp, 'w', encoding='utf-8') as new_file:
271 old_content = open(file_name, encoding='utf-8').read()
Dlist_internal_identifiers.py41 with open("identifiers", "w", encoding="utf-8") as f:
Dgenerate_pkcs7_tests.py57 with open(file, "r", encoding='UTF-8') as fp:
78 with open(self.file_name, 'a', encoding='UTF-8') as fw:
Dcheck_names.py387 with open(header_file, "r", encoding="utf-8") as header:
425 with open(filename, "r", encoding="utf-8") as fp:
461 with open(header_file, "r", encoding="utf-8") as header:
577 with open(header_file, "r", encoding="utf-8") as header:
Daudit-validity-dates.py61 encoding = cryptography.hazmat.primitives.serialization.Encoding.DER
62 self._identifier = hashlib.sha1(self._obj.public_bytes(encoding)).hexdigest()
Danalyze_outcomes.py171 with open(outcome_file, 'r', encoding='utf-8') as input_file:
Ddepends.py372 with open('include/mbedtls/cipher.h', encoding="utf-8") as fh:
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_rsa.data158 RSA PKCS1 Verify v1.5 reduced length encoding
162 # Non-reduced 1-byte length encoding in `DigestInfo` ASN.1 element
163 RSA PKCS1 Verify v1.5 non-reduced length encoding #1
167 # Non-reduced 2-byte length encoding for `digestAlgorithm` ASN.1 element
168 RSA PKCS1 Verify v1.5 non-reduced length encoding #2
172 # Non-reduced 3-byte length encoding for optional parameters in `digestAlgorithm` ASN.1 element
173 RSA PKCS1 Verify v1.5 non-reduced length encoding #3
177 # Non-reduced 4-byte length encoding in `digest` ASN.1 element
178 RSA PKCS1 Verify v1.5 non-reduced length encoding #4
182 # Non-reduced 3-byte length encoding for OID in `digestAlgorithm` ASN.1 element
[all …]
Dtest_suite_x509parse.data934 X509 CRT verification #75 (encoding mismatch)
1278 X509 CRT ASN1 (inv Certificate, bad length encoding)
1293 X509 CRT ASN1 (inv TBS, invalid length encoding)
1322 X509 CRT ASN1 (TBS, valid inner version tag, inv inner length encoding)
1363 X509 CRT ASN1 (TBS, inv serial, inv length encoding)
1387 X509 CRT ASN1 (TBS, inv AlgID, OID inv length encoding)
1403 X509 CRT ASN1 (TBS, inv AlgID, param inv length encoding)
1435 X509 CRT ASN1 (TBS, inv Issuer, RDNSequence inv length encoding)
1451 X509 CRT ASN1 (TBS, inv Issuer, RDN inv length encoding)
1467 X509 CRT ASN1 (TBS, inv Issuer, AttrTypeAndValue inv length encoding)
[all …]
Dtest_suite_oid.data151 OID get numeric string - overlong encoding
154 OID get numeric string - overlong encoding, second subidentifier
Dtest_suite_psa_crypto_metadata.function102 * possibly turn a valid encoding into another valid encoding. Here in
106 * The expected parity is even so that 0 is considered a valid encoding.
Dtest_suite_asn1write.function307 /* Write an OCTET STRING with a short length encoding */
312 /* Write an OCTET STRING with a two-byte length encoding */
/openthread-latest/third_party/mbedtls/repo/scripts/mbedtls_dev/
Dc_build_helper.py38 c_file = os.fdopen(c_fd, 'w', encoding='ascii')
Dc_parsing_helper.py87 with open(filename, encoding='utf-8') as inp:
Dc_wrapper_generator.py324 with open(filename, 'w', encoding='utf-8') as out:
339 with open(filename, 'w', encoding='utf-8') as out:
/openthread-latest/tests/scripts/thread-cert/
Dnode.py261 def bash(self, cmd: str, encoding='ascii') -> List[str]: argument
267 encoding=encoding)
317 output = self.bash(f'dig -6 @{server} \'{name}\' {qtype}', encoding='raw_unicode_escape')
4001 for line in self.bash(f'cat /tmp/{name}', encoding='raw_unicode_escape'):
4029 for line in self.bash(f'cat {service_data_file}', encoding='raw_unicode_escape'):
4043 logging.debug(self.bash(f'cat {host_name_file}', encoding='raw_unicode_escape'))
4044 logging.debug(self.bash(f'cat {service_data_file}', encoding='raw_unicode_escape'))
4050 for line in self.bash(f'cat {host_name_file}', encoding='raw_unicode_escape'):
4068 for line in self.bash(f'cat {service_data_file}', encoding='raw_unicode_escape'):
/openthread-latest/third_party/mbedtls/repo/docs/architecture/
Dmbed-crypto-storage-specification.md68 The file format is just the seed as a byte string with no metadata or encoding of any kind.
121 …al to [0.1.0](#key-file-format-for-0.1.0) so far. However note that the encoding of key types, alg…
127 The file format is just the seed as a byte string with no metadata or encoding of any kind.
197 * The encoding of key types, algorithms and key material has changed, therefore the storage format …

12