/mbedtls-3.4.0/scripts/mbedtls_dev/ |
D | crypto_knowledge.py | 103 self.name = m.group(1) 104 params = m.group(2).split(',') 120 self.head = re.sub(r'_(?:PUBLIC_KEY|KEY_PAIR)\Z', r'', m.group(1)) 316 expr = m.group(1) 329 head = m.group(1) 334 head = m.group(1) 424 kdf_alg = m.group(1) 448 return int(m.group(1)) // 8 476 max_length = cls.hash_length(m.group(1)) 494 base = m.group('base') [all …]
|
D | macro_collector.py | 481 name = m.group(1) 487 dest = self.table_by_prefix.get(m.group(2)) 491 if m.group(3): 492 self.argspecs[name] = self._argument_split(m.group(3)) 550 self.add_test_case_line(m.group(1), m.group(2))
|
/mbedtls-3.4.0/scripts/ |
D | config.py | 407 elif m.group('section'): 408 self.current_section = m.group('section') 411 active = not m.group('commented_out') 412 name = m.group('name') 413 value = m.group('value') 415 m.group('indentation'), 416 m.group('define') + name + 417 m.group('arguments') + m.group('separator'))
|
D | generate_ssl_debug_helpers.py | 44 return match.group() 165 group=match.groupdict()) 167 def __init__(self, source_code, span=None, group=None): argument 168 assert isinstance(group, dict) 169 prefix_name = group.get('prefix_name', None) 170 suffix_name = group.get('suffix_name', None) 171 body = group.get('body', None)
|
D | assemble_changelog.py | 139 top_version_title = m.group(1) 140 top_version_body = m.group(2) 170 return [CategoryContent(title_match.group(1), title_line, 313 return m.group(0)
|
/mbedtls-3.4.0/programs/psa/ |
D | psa_constant_names.c | 78 static const char *psa_dh_family_name(psa_dh_family_t group); 102 psa_dh_family_t group) in append_with_group() argument 104 const char *group_name = psa_dh_family_name(group); in append_with_group() 112 "0x%02x", group); in append_with_group() 171 psa_dh_family_t group) in psa_snprint_dh_group() argument 173 const char *name = psa_dh_family_name(group); in psa_snprint_dh_group() 175 return snprintf(buffer, buffer_size, "0x%02x", (unsigned) group); in psa_snprint_dh_group()
|
D | psa_constant_names_generated.c | 48 static const char *psa_dh_family_name(psa_dh_family_t group) in psa_dh_family_name() argument 50 switch (group) { in psa_dh_family_name()
|
/mbedtls-3.4.0/tests/scripts/ |
D | check_names.py | 364 if macro.group("macro").startswith(exclusions): 372 macro.group("macro"))) 407 name.group(0))) 460 enum_const.group("enum_const"))) 499 lambda s: '""' if s.group('string') else ' ', 586 for group in identifier.groups(): 587 if not group: 595 group)) 719 if (symbol and not symbol.group("symbol").startswith(exclusions)): 720 symbols.append(symbol.group("symbol")) [all …]
|
D | generate_test_code.py | 424 dependencies = parse_dependencies(match.group('dependencies')) 449 dep_str = match.group('depends_on') 453 dependencies += parse_dependencies(match.group('dependencies')) 557 name = match.group('func_name') 657 lambda m: m.group(1) or '\n', inp_str, 707 match.group('dependencies')) 746 _defined = '' if dependency.group(2) else 'defined' 747 _cond = dependency.group(2) if dependency.group(2) else '' 748 _value = dependency.group(3) if dependency.group(3) else '' 760 macro=dependency.group(1), id=dep_id,
|
D | set_psa_test_dependencies.py | 218 arguments = content_matches[-1].group(0).split(':') 234 old_dependencies = dependencies_match.group(0).split(':')
|
D | check_test_cases.py | 110 description = m.group(1) 187 re.search(br'[\t;]', description).group(0).decode('ascii'))
|
D | depends.py | 160 yield m.group(1) 385 if m and m.group(1) not in ['NONE', 'NULL', '3DES']: 386 self.base_symbols.add('MBEDTLS_' + m.group(1) + '_C')
|
D | check_files.py | 208 interpreter = m.group(1) or m.group(2)
|
D | generate_psa_tests.py | 543 hash_alg = m.group(1)
|
/mbedtls-3.4.0/tests/suites/ |
D | test_suite_ecp.data | 312 Check ECP group metadata #1 secp192k1 (SEC 2) 316 Check ECP group metadata #2 secp192r1 (SEC 2) 320 Check ECP group metadata #3 secp224k1 (SEC 2) 324 Check ECP group metadata #4 secp224r1 (SEC 2) 328 Check ECP group metadata #5 secp256k1 (SEC 2) 332 Check ECP group metadata #6 secp256r1 (SEC 2) 336 Check ECP group metadata #7 secp384r1 (SEC 2) 340 Check ECP group metadata #8 secp521r1 (SEC 2) 344 Check ECP group metadata #9 bp256r1 (RFC 5639) 348 Check ECP group metadata #10 bp384r1 (RFC 5639) [all …]
|
D | test_suite_psa_crypto_metadata.function | 711 psa_dh_family_t group = group_arg; 712 psa_key_type_t public_type = PSA_KEY_TYPE_DH_PUBLIC_KEY( group ); 713 psa_key_type_t pair_type = PSA_KEY_TYPE_DH_KEY_PAIR( group ); 715 TEST_PARITY( group ); 720 TEST_EQUAL( PSA_KEY_TYPE_DH_GET_FAMILY( public_type ), group ); 721 TEST_EQUAL( PSA_KEY_TYPE_DH_GET_FAMILY( pair_type ), group );
|
D | test_suite_ecp.function | 839 // Load group 842 // Compare group with expected parameters 875 // Read group from buffer and compare with expected ID 890 // Copy group and compare with original 894 // Check curve is in curve list and group ID list
|
D | test_suite_psa_crypto_metadata.data | 397 DH group family: RFC 7919
|
D | test_suite_ecdsa.function | 480 /* Prepare ECP group context */
|
/mbedtls-3.4.0/library/ |
D | ssl_tls13_server.c | 869 uint16_t group; in ssl_tls13_parse_key_shares_ext() local 880 group = MBEDTLS_GET_UINT16_BE( p, 0 ); in ssl_tls13_parse_key_shares_ext() 890 if( ! mbedtls_ssl_named_group_is_offered( ssl, group ) || in ssl_tls13_parse_key_shares_ext() 891 ! mbedtls_ssl_named_group_is_supported( group ) || in ssl_tls13_parse_key_shares_ext() 900 if( mbedtls_ssl_tls13_named_group_is_ecdhe( group ) ) in ssl_tls13_parse_key_shares_ext() 903 mbedtls_ssl_named_group_to_str( group ), in ssl_tls13_parse_key_shares_ext() 904 group ) ); in ssl_tls13_parse_key_shares_ext() 914 (unsigned) group ) ); in ssl_tls13_parse_key_shares_ext() 918 ssl->handshake->offered_group_id = group; in ssl_tls13_parse_key_shares_ext() 1890 uint16_t group = ssl->handshake->offered_group_id; in ssl_tls13_write_key_share_ext() local [all …]
|
D | ssl_tls13_client.c | 314 unsigned char *group = p; in ssl_tls13_write_key_share_ext() local 331 MBEDTLS_PUT_UINT16_BE( group_id, group, 0 ); in ssl_tls13_write_key_share_ext() 333 MBEDTLS_PUT_UINT16_BE( key_exchange_len, group, 2 ); in ssl_tls13_write_key_share_ext() 471 uint16_t group, offered_group; in ssl_tls13_parse_key_share_ext() local 478 group = MBEDTLS_GET_UINT16_BE( p, 0 ); in ssl_tls13_parse_key_share_ext() 483 if( offered_group != group ) in ssl_tls13_parse_key_share_ext() 487 (unsigned) offered_group, (unsigned) group ) ); in ssl_tls13_parse_key_share_ext() 494 if( mbedtls_ssl_tls13_named_group_is_ecdhe( group ) ) in ssl_tls13_parse_key_share_ext() 497 mbedtls_ecp_curve_info_from_tls_id( group ); in ssl_tls13_parse_key_share_ext()
|
/mbedtls-3.4.0/include/psa/ |
D | crypto_values.h | 683 #define PSA_KEY_TYPE_DH_KEY_PAIR(group) \ argument 684 (PSA_KEY_TYPE_DH_KEY_PAIR_BASE | (group)) 690 #define PSA_KEY_TYPE_DH_PUBLIC_KEY(group) \ argument 691 (PSA_KEY_TYPE_DH_PUBLIC_KEY_BASE | (group))
|
/mbedtls-3.4.0/docs/architecture/ |
D | alternative-implementations.md | 52 …ds must be writable, and `mbedtls_ecp_point_read_binary()` must support a group structure where on…
|
/mbedtls-3.4.0/docs/architecture/testing/ |
D | driver-interface-test-strategy.md | 48 Some methods only make sense as a group (for example a driver that provides the MAC methods must pr…
|
/mbedtls-3.4.0/docs/proposed/ |
D | psa-conditional-inclusion-c.md | 97 Rationale: Finite-field Diffie-Hellman code is usually not specialized for any particular group, so…
|