/openthread-3.4.0/tests/scripts/thread-cert/ |
D | thread_cert.py | 153 for i, params in self.TOPOLOGY.items(): 154 params = self._parse_params(params) 155 initial_topology[i] = params 157 logging.info("Creating node %d: %r", i, params) 159 if params['is_otbr']: 161 elif params['is_host']: 168 is_mtd=params['is_mtd'], 170 name=params.get('name'), 171 version=params['version'], 172 is_bbr=params['is_bbr'], [all …]
|
/openthread-3.4.0/tools/harness-automation/autothreadharness/ |
D | pdu_controller.py | 53 def open(self, **params): argument 57 def reboot(self, **params): argument 69 def open(self, **params): argument 72 def reboot(self, **params): argument 97 def open(self, **params): argument 107 self.port = params['port'] 108 self.ip = params['ip'] 130 def reboot(self, **params): argument 139 outlet = params['outlet'] 179 def open(self, **params): argument [all …]
|
D | rf_shield_controller.py | 97 def get_rf_shield_controller(shield_type, params): argument 99 return CONTROLLERS[shield_type](**params)
|
D | harness_case.py | 325 params=settings.SHIELD_CONTROLLER_PARAMS) 1043 params = reduce( 1044 lambda params, param: params.update(((param[0].strip(' '), param[1]),)) or params, 1048 prefix = params['P_Prefix'].strip('\0\r\n\t ') 1050 if params.get('P_slaac_preferred', 0) == '1': 1053 if params.get('P_stable', 0) == '1': 1055 if params.get('P_default', 0) == '1':
|
/openthread-3.4.0/third_party/mbedtls/repo/scripts/mbedtls_dev/ |
D | crypto_knowledge.py | 29 def __init__(self, name: str, params: Optional[Iterable[str]] = None): 46 if params is None: 51 params = m.group(2).split(',') 52 self.params = (None if params is None else 53 [param.strip() for param in params]) 62 if self.params is not None: 63 self.expression += '(' + ', '.join(self.params) + ')' 105 assert self.params is not None 106 return self.ECC_KEY_SIZES[self.params[0]]
|
/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_pkcs5.data | 113 PBES2 Decrypt (bad params tag) 129 PBES2 Decrypt (bad PBKDF2 params: not a sequence) 133 PBES2 Decrypt (bad PBKDF2 params: overlong) 137 PBES2 Decrypt (bad PBKDF2 params salt: not an octet string) 141 PBES2 Decrypt (bad PBKDF2 params salt: overlong) 145 PBES2 Decrypt (bad PBKDF2 params iter: not an int) 149 PBES2 Decrypt (bad PBKDF2 params iter: overlong) 153 PBES2 Decrypt (OK, PBKDF2 params explicit keylen) 157 PBES2 Decrypt (bad PBKDF2 params explicit keylen: overlong) 161 PBES2 Decrypt (OK, PBKDF2 params explicit prf_alg) [all …]
|
D | test_suite_pkcs5.function | 40 mbedtls_asn1_buf params; 43 params.tag = params_tag; 44 params.p = params_hex->x; 45 params.len = params_hex->len; 49 my_ret = mbedtls_pkcs5_pbes2( ¶ms, MBEDTLS_PKCS5_DECRYPT,
|
D | host_test.function | 155 * \param params Out params found 156 * \param params_len Out params array len 160 static int parse_arguments( char *buf, size_t len, char **params, 167 params[cnt++] = cur; 183 params[cnt++] = cur; 194 p = params[i]; 195 q = params[i]; 236 * \param params Out array of found parameters. 241 static int convert_params( size_t cnt , char ** params , int32_t * int_params_store ) 243 char ** cur = params; [all …]
|
D | main_test.function | 170 * \param params Parameters to pass to the #TestWrapper_t wrapper function. 173 void execute_function_ptr(TestWrapper_t fp, void **params) 184 fp( params ); 197 fp( params ); 209 * \param params The array of parameters to pass to the test function. 216 int dispatch_test( size_t func_idx, void ** params ) 225 execute_function_ptr(fp, params);
|
D | test_suite_asn1parse.data | 541 AlgorithmIdentifier, no params 544 AlgorithmIdentifier, no params, trailing garbage 547 AlgorithmIdentifier, null params 550 AlgorithmIdentifier, null params, trailing garbage 553 AlgorithmIdentifier, OCTET STRING params 568 AlgorithmIdentifier, truncated in params after tag 571 AlgorithmIdentifier, truncated in params after length 574 AlgorithmIdentifier, truncated inside params content
|
D | test_suite_asn1parse.function | 677 mbedtls_asn1_buf params = { -1, 0, NULL }; 682 &oid, ¶ms ), 689 TEST_EQUAL( params.tag, params_tag ); 691 TEST_EQUAL( params.p - input->x, params_offset ); 693 TEST_ASSERT( params.p == NULL ); 694 TEST_EQUAL( params.len, (size_t) params_length );
|
D | test_suite_x509parse.function | 1221 void x509_parse_rsassa_pss_params( data_t * params, int params_tag, 1230 buf.p = params->x; 1231 buf.len = params->len;
|
D | test_suite_dhm.function | 207 * Set params
|
/openthread-3.4.0/third_party/mbedtls/repo/library/ |
D | asn1parse.c | 381 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params ) in mbedtls_asn1_get_alg() argument 404 mbedtls_platform_zeroize( params, sizeof(mbedtls_asn1_buf) ); in mbedtls_asn1_get_alg() 408 params->tag = **p; in mbedtls_asn1_get_alg() 411 if( ( ret = mbedtls_asn1_get_len( p, end, ¶ms->len ) ) != 0 ) in mbedtls_asn1_get_alg() 414 params->p = *p; in mbedtls_asn1_get_alg() 415 *p += params->len; in mbedtls_asn1_get_alg() 428 mbedtls_asn1_buf params; in mbedtls_asn1_get_alg_null() local 430 memset( ¶ms, 0, sizeof(mbedtls_asn1_buf) ); in mbedtls_asn1_get_alg_null() 432 if( ( ret = mbedtls_asn1_get_alg( p, end, alg, ¶ms ) ) != 0 ) in mbedtls_asn1_get_alg_null() 435 if( ( params.tag != MBEDTLS_ASN1_NULL && params.tag != 0 ) || params.len != 0 ) in mbedtls_asn1_get_alg_null()
|
D | pkparse.c | 184 mbedtls_asn1_buf *params ) in pk_get_ecparams() argument 193 params->tag = **p; in pk_get_ecparams() 194 if( params->tag != MBEDTLS_ASN1_OID in pk_get_ecparams() 196 && params->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) in pk_get_ecparams() 204 if( ( ret = mbedtls_asn1_get_tag( p, end, ¶ms->len, params->tag ) ) != 0 ) in pk_get_ecparams() 209 params->p = *p; in pk_get_ecparams() 210 *p += params->len; in pk_get_ecparams() 239 static int pk_group_from_specified( const mbedtls_asn1_buf *params, mbedtls_ecp_group *grp ) in pk_group_from_specified() argument 242 unsigned char *p = params->p; in pk_group_from_specified() 243 const unsigned char * const end = params->p + params->len; in pk_group_from_specified() [all …]
|
D | pkcs5.c | 53 static int pkcs5_parse_pbkdf2_params( const mbedtls_asn1_buf *params, in pkcs5_parse_pbkdf2_params() argument 59 unsigned char *p = params->p; in pkcs5_parse_pbkdf2_params() 60 const unsigned char *end = params->p + params->len; in pkcs5_parse_pbkdf2_params() 62 if( params->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) ) in pkcs5_parse_pbkdf2_params()
|
D | pkcs12.c | 48 static int pkcs12_parse_pbe_params( mbedtls_asn1_buf *params, in pkcs12_parse_pbe_params() argument 52 unsigned char **p = ¶ms->p; in pkcs12_parse_pbe_params() 53 const unsigned char *end = params->p + params->len; in pkcs12_parse_pbe_params() 62 if( params->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) ) in pkcs12_parse_pbe_params()
|
D | x509.c | 124 mbedtls_x509_buf *alg, mbedtls_x509_buf *params ) in mbedtls_x509_get_alg() argument 128 if( ( ret = mbedtls_asn1_get_alg( p, end, alg, params ) ) != 0 ) in mbedtls_x509_get_alg() 203 int mbedtls_x509_get_rsassa_pss_params( const mbedtls_x509_buf *params, in mbedtls_x509_get_rsassa_pss_params() argument 219 if( params->tag != ( MBEDTLS_ASN1_CONSTRUCTED | MBEDTLS_ASN1_SEQUENCE ) ) in mbedtls_x509_get_rsassa_pss_params() 223 p = (unsigned char *) params->p; in mbedtls_x509_get_rsassa_pss_params() 224 end = p + params->len; in mbedtls_x509_get_rsassa_pss_params()
|
D | ssl_cli.c | 3253 unsigned char *params = ssl->in_msg + mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_server_key_exchange() local 3254 size_t params_len = p - params; in ssl_parse_server_key_exchange() 3344 ret = mbedtls_ssl_get_key_exchange_md_ssl_tls( ssl, hash, params, in ssl_parse_server_key_exchange() 3357 params, params_len, in ssl_parse_server_key_exchange()
|
/openthread-3.4.0/tools/harness-simulation/harness/Thread_Harness/THCI/ |
D | OpenThread_BR_Sim.py | 119 def _parseConnectionParams(self, params): argument 120 discovery_add = params.get('SerialPort')
|
D | OpenThread_Sim.py | 151 def _parseConnectionParams(self, params): argument 152 discovery_add = params.get('SerialPort')
|
/openthread-3.4.0/tools/harness-thci/ |
D | OpenThread.py | 402 def intialize(self, params): argument 404 self.mac = params.get('EUI') 405 self.backboneNetif = params.get('Param8') or 'eth0' 406 self.extraParams = self.__parseExtraParams(params.get('Param9')) 409 self._parseConnectionParams(params) 454 def _parseConnectionParams(self, params): argument 460 self.port = params.get('SerialPort', '') 462 self.log('All parameters: %r', params) 470 self.telnetUsername = 'pi' if params.get('Param6') is None else params.get('Param6') 471 … self.telnetPassword = 'raspberry' if params.get('Param7') is None else params.get('Param7') [all …]
|
/openthread-3.4.0/third_party/mbedtls/repo/include/mbedtls/ |
D | x509.h | 334 mbedtls_x509_buf *alg, mbedtls_x509_buf *params ); 336 int mbedtls_x509_get_rsassa_pss_params( const mbedtls_x509_buf *params,
|
D | asn1.h | 557 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params );
|
/openthread-3.4.0/third_party/mbedtls/repo/tests/scripts/ |
D | generate_psa_tests.py | 184 if kt.params is not None: 187 for i, sym in enumerate(kt.params)] 273 if kt.params is not None: 275 for i, sym in enumerate(kt.params)] 497 params: Optional[Iterable[str]] = None 505 kt = crypto_knowledge.KeyType(key_type, params)
|