Home
last modified time | relevance | path

Searched refs:hex (Results 1 – 25 of 49) sorted by relevance

12

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_base64.data148 Base64 encode hex #1
151 Base64 encode hex #2 (buffer too small)
154 Base64 encode hex #3
157 Base64 encode hex #4
162 Base64 encode hex all valid input bytes #0
165 Base64 encode hex all valid input bytes #1
168 Base64 encode hex all valid input bytes #2
174 Base64 decode hex #1
177 Base64 decode hex #2 (buffer too small)
180 Base64 decode hex #3
[all …]
Dtest_suite_lmots.data38 …nt('lmots_verify_test:"{}":"{}":"{}":0'.format(message.hex(), sig.hex(), ots_public_key.pubkey.hex
63 …nt('lmots_verify_test:"{}":"{}":"{}":0'.format(message.hex(), sig.hex(), ots_public_key.pubkey.hex
86 …nt('lmots_verify_test:"{}":"{}":"{}":0'.format(message.hex(), sig.hex(), ots_public_key.pubkey.hex
Dtest_suite_lms.data34 …('lms_verify_test:"{}":"{}":"{}":0'.format(message1.hex(), sig1.hex(), public_key.serialize()[4:].
48 …('lms_verify_test:"{}":"{}":"{}":0'.format(message2.hex(), sig2.hex(), public_key.serialize()[4:].
160 …int('lms_verify_test:"{}":"{}":"{}":0'.format(message.hex(), sig.hex(), public_key.get_pubkey().he…
186 …int('lms_verify_test:"{}":"{}":"{}":0'.format(message.hex(), sig.hex(), public_key.get_pubkey().he…
Dtest_suite_bignum.misc.data16 Base test mpi_read_write_string #3 (Read zero hex)
22 Base test mpi_read_write_string #3 (Read minus zero hex)
31 Base test mpi_read_write_string #3 (Negative hex -> decimal)
34 Base test mpi_read_write_string #3 (Negative hex)
37 Base test mpi_read_write_string #3 (Negative hex, leading 0)
64 Test mpi_read_write_string #8 (Empty MPI hex -> hex)
67 Test mpi_read_write_string #9 (Empty MPI hex -> dec)
70 Test mpi_read_write_string #9 (Empty MPI hex -> base 2)
73 Test mpi_read_write_string #8 (Empty MPI dec -> hex)
82 Test mpi_write_string #10 (Negative hex with odd number of digits)
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Dtcp_client.pl17 my ($hex) = @_;
18 $hex =~ s/\s+//g;
19 return pack('H*', $hex);
Dgenerate_pkcs7_tests.py134 new_length = str(hex(int(data[data_i - 1], 16) + 1))[2:]
150 new_length = str(hex(int(data[data_i - 1], 16) - 1))[2:]
172 DATA_STR = f.read().hex()
/openthread-latest/third_party/mbedtls/repo/scripts/mbedtls_dev/
Dpsa_storage.py163 def hex(self) -> str: member in Key
168 return self.bytes().hex()
187 self.assertEqual(key.hex(), expected_hex)
198 self.assertEqual(key.hex(), expected_hex)
206 self.assertEqual(key.hex(), expected_hex)
Dcrypto_data_tests.py102 [short.hex(), hash_short])
106 [long[:n].hex(), calc(long[:n]),
107 long[n:].hex(), hash_long])
/openthread-latest/tools/tcat_ble_client/dataset/
Ddataset_entries.py41 value = value.hex()
127 self.data = tlv.value.hex()
180 self.data = tlv.value.hex()
209 self.data = tlv.value.hex()
260 self.data = tlv.value.hex()
313 self.data = tlv.value.hex()
/openthread-latest/tests/scripts/thread-cert/border_router/
Dtest_trel_connectivity.py168 print('BR1_RLOC16:', hex(BR1_RLOC16))
169 print('BR2_RLOC16:', hex(BR2_RLOC16))
/openthread-latest/tools/tcat_ble_client/auth-generate/ext/
DCommCert1.ext9 # Because ASN1:OCTETSTRING doesn't work with hex input, we use raw DER here. Tag 0x04 is OCTETSTRIN…
DDeviceCert1.ext12 # Because ASN1:OCTETSTRING doesn't work with hex input, we use raw DER here. Tag 0x04 is OCTETSTRIN…
DDeviceCert2.ext12 # Because ASN1:OCTETSTRING doesn't work with hex input, we use raw DER here. Tag 0x04 is OCTETSTRIN…
DCommCert3.ext9 # Because ASN1:OCTETSTRING doesn't work with hex input, we use raw DER here. Tag 0x04 is OCTETSTRIN…
DCommCert4.ext9 # Because ASN1:OCTETSTRING doesn't work with hex input, we use raw DER here. Tag 0x04 is OCTETSTRIN…
DCommCert2.ext9 # Because ASN1:OCTETSTRING doesn't work with hex input, we use raw DER here. Tag 0x04 is OCTETSTRIN…
/openthread-latest/src/posix/
DREADME.md95 arm-none-eabi-objcopy -O ihex build/bin/ot-rcp build/bin/ot-rcp.hex
108 --application build/bin/ot-rcp.hex --application-version 1 build/bin/ot-rcp.zip
122 nrfjprog -f nrf52 --chiperase --program build/bin/ot-rcp.hex --reset
/openthread-latest/src/cli/
DREADME_DATASET.md363 Print Active Operational Dataset as hex-encoded TLVs.
492 Usage: `dataset init <active|new|pending|tlvs <hex-encoded TLVs>>`
508 Use the `tlvs` option to initialize the dataset buffer from a string of hex-encoded TLVs:
638 Print Pending Operational Dataset as hex-encoded TLVs.
679 …et buffer if set or values in the current stack if not, otherwise set PSKc as \<key\> (hex format).
722 Set the Active Operational Dataset using hex-encoded TLVs.
729 Set the Pending Operational Dataset using hex-encoded TLVs.
740 Convert the Operational Dataset to hex-encoded TLVs.
DREADME_NETDATA.md372 - Service data (as hex bytes)
373 - Server data (as hex bytes)
388 - Border Agent RLOC16 (in hex) if present in Dataset or `-` otherwise
390 - Steering Data (as hex bytes) if present in Dataset or `-` otherwise
425 Print Network Data received from the Leader as hex-encoded TLVs.
444 Print local Network Data to sync with Leader as hex-encoded TLVs.
/openthread-latest/tools/harness-thci/
DOpenThread_WpanCtl.py467 str(hex(self.panId)),
1377 panid = str(hex(xPAN))
1904 …cmd = self.wpan_cmd_prefix + 'setprop Network:PartitionId %s' % (str(hex(partationId)).rstrip('L'))
2224 panid = str(hex(xPanId))
2409 policy = str(hex(rotationTime))[2:]
2416 setRawTLVCmd += str(hex(policyBits))[2:]
2420 sessionid = str(hex(xCommissioningSessionId))[2:]
2429 locator = str(hex(xBorderRouterLocator))[2:]
2610 print(str(xSteeringData) + ' ' + str(hex(xSteeringData)[2:]))
2627 cmd += '08' + str(len(hex(xSteeringData)[2:])) + str(hex(xSteeringData)[2:])
[all …]
DOpenThread.py1378 panid = str(hex(xPAN))
1449 self.pskc = hex(stretchedPSKc).rstrip('L').lstrip('0x')
1565 euiHex = hex(EUIadr)
2004 cmd += str(hex(partationId)).rstrip('L')
2417 panid = str(hex(xPanId))
2580 policy = str(hex(rotationTime))[2:]
2596 sessionid = str(hex(xCommissioningSessionId))[2:]
2605 locator = str(hex(xBorderRouterLocator))[2:]
2703 sessionid = str(hex(xCommissionerSessionId))[2:]
2761 cmd += str(hex(xSteeringData)[2:])
[all …]
/openthread-latest/tests/scripts/thread-cert/pktverify/
Dcoap.py81 self._add_field('coap.tlv.type', hex(t))
/openthread-latest/tests/scripts/thread-cert/
Dnetwork_layer.py126 return "Rloc16(rloc16={})".format(hex(self.rloc16))
231 …return "RouterMask(id_sequence={}, router_id_mask={})".format(self.id_sequence, hex(self.router_id…
/openthread-latest/tools/ot-fct/
DREADME.md35 - rawpowersetting: The raw power setting hex string.
/openthread-latest/tools/cp-caps/
DREADME.md45 $ arm-none-eabi-objcopy -O ihex build/bin/ot-cli-ftd ot-cli-ftd.hex
46 $ nrfjprog -f nrf52 --chiperase --program ot-cli-ftd.hex --reset

12