/mbedtls/tests/suites/ |
A D | test_suite_oid.data | 108 OID get numeric string - hardware module name 111 OID get numeric string - multi-byte subidentifier 123 OID get numeric string - empty oid buffer 129 OID get numeric string - 0.39 132 OID get numeric string - 1.0 135 OID get numeric string - 1.39 138 OID get numeric string - 2.0 145 OID get numeric string - 32-bit overflow 151 OID get numeric string - overlong encoding 157 OID from numeric string - hardware module name [all …]
|
A D | host_test.function | 4 * \brief Verifies that string is in string parameter format i.e. "<str>" 5 * It also strips enclosing '"' from the input string. 16 "Expected string (with \"\") for parameter and got: %s\n", *str); 27 * \brief Verifies that string is an integer. Also gives the converted 30 * \param str Input string. 57 * \brief Usage string. 125 * \brief Splits string delimited by ':'. Ignores '\:'. 127 * \param buf Input string 128 * \param len Input string length 192 * "Hello", // Verified string
|
A D | helpers.function | 17 #include <string.h> 43 Only int, string, binary data
|
A D | test_suite_asn1parse.function | 230 /* full_result: expected result from parsing the given string. */ 231 /* overfull_result: expected_result from parsing the given string plus 241 /* Test every prefix of the input, except the empty string. 242 * The first byte of the string is the tag. Without a tag byte, 286 /* Test prefixes of a buffer containing the given length string 290 * and we only test the empty string on a 1-byte input. 564 /* The description string is a comma-separated list of integers. 622 /* The description string is a comma-separated list of integers.
|
A D | test_suite_asn1write.data | 187 ASN.1 Write tagged string: length=0 190 ASN.1 Write tagged string: length=1 193 ASN.1 Write tagged string: length=128 343 ASN.1 Write Bitstring / long string all bits unset except trailing bits
|
A D | main_test.function | 63 * is identified by a unique identifier instead of string literals. 95 * is identified by a unique identifier instead of string literals.
|
/mbedtls/library/ |
A D | mps_common.h | 88 #define MBEDTLS_MPS_STATE_VALIDATE_RAW(cond, string) \ argument 93 MBEDTLS_MPS_TRACE(MBEDTLS_MPS_TRACE_TYPE_ERROR, string); \ 100 #define MBEDTLS_MPS_STATE_VALIDATE_RAW(cond, string) \ argument 110 #define MBEDTLS_MPS_ASSERT_RAW(cond, string) \ argument 115 MBEDTLS_MPS_TRACE(MBEDTLS_MPS_TRACE_TYPE_ERROR, string); \ 122 #define MBEDTLS_MPS_ASSERT_RAW(cond, string) do {} while (0) argument
|
A D | version.c | 20 void mbedtls_version_get_string(char *string) in mbedtls_version_get_string() argument 22 memcpy(string, MBEDTLS_VERSION_STRING, in mbedtls_version_get_string() 26 void mbedtls_version_get_string_full(char *string) in mbedtls_version_get_string_full() argument 28 memcpy(string, MBEDTLS_VERSION_STRING_FULL, in mbedtls_version_get_string_full()
|
A D | ssl_tls13_keys.h | 43 #define MBEDTLS_SSL_TLS1_3_LABEL(name, string) \ argument 44 const unsigned char name [sizeof(string) - 1];
|
A D | CMakeLists.txt | 214 string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}") 263 string(APPEND mbedtls_static_target "_static") 264 string(APPEND mbedx509_static_target "_static") 265 string(APPEND mbedcrypto_static_target "_static")
|
/mbedtls/scripts/mbedtls_dev/ |
A D | psa_storage.py | 28 self.string = '{0:#0{1}x}'.format(content, digits + 2) 31 self.string = content 59 def normalize(string: str) -> str: 66 return re.sub(r'\s+', r'', string) 71 if re.match(r'([0-9]+|0x[0-9a-f]+)\Z', self.string, re.I): 72 return int(self.string, 0) 73 normalized = self.normalize(self.string)
|
/mbedtls/tests/ |
A D | CMakeLists.txt | 30 string(REGEX REPLACE "[^;]*/" "" 42 string(REGEX REPLACE "[^;]*/" "" 54 string(REGEX REPLACE "[^;]*/" "" 61 string(REGEX REPLACE "([^;]+)" "suites/\\1" 155 string(REPLACE "." "\\." SKIP_TEST_SUITES_REGEX "${SKIP_TEST_SUITES_REGEX}") 176 string(SUBSTRING ${generated_data_name} 11 -1 generated_data_name) 185 string(SUBSTRING ${generated_data_name} 11 -1 generated_data_name) 194 string(SUBSTRING ${generated_data_name} 11 -1 generated_data_name) 288 string(REGEX REPLACE "\\.data\$" "" data_name "${data_name}") 289 string(REPLACE "test_suite_" "" data_name "${data_name}") [all …]
|
/mbedtls/tests/scripts/ |
A D | generate_psa_tests.py | 462 if key_type.string == 'PSA_KEY_TYPE_RAW_DATA': 465 m = cls.RSA_OAEP_RE.match(alg.string) 477 m = cls.BRAINPOOL_RE.match(key_type.string) 478 if m and alg.string != 'PSA_ALG_ECDSA_ANY': 495 key.lifetime.string, key.type.string, 496 key.alg.string, key.alg2.string, 509 if 'READ_ONLY' in key.lifetime.string: 512 tc.set_arguments([key.lifetime.string, 514 key.expected_usage.string, 515 key.alg.string, key.alg2.string, [all …]
|
A D | run-test-suites.pl | 73 my( $width, $padchar, $string ) = @_; 74 my $padlen = ( $width - length( $string ) - 2 ) / 2; 75 print $padchar x( $padlen ), " $string ", $padchar x( $padlen ), "\n";
|
/mbedtls/programs/psa/ |
A D | psa_constant_names.c | 45 const char *string, size_t length) in append() argument 49 memcpy(*buffer, string, length); in append() 73 const char *string, size_t length, in append_with_curve() argument 77 append(buffer, buffer_size, required_size, string, length); in append_with_curve() 91 const char *string, size_t length, in append_with_group() argument 95 append(buffer, buffer_size, required_size, string, length); in append_with_group()
|
A D | psa_hash_demo.sh | 10 compute a SHA-256 hash of a test string using the one-shot API call
|
/mbedtls/include/mbedtls/ |
A D | version.h | 40 void mbedtls_version_get_string(char *string); 51 void mbedtls_version_get_string_full(char *string);
|
/mbedtls/ |
A D | CMakeLists.txt | 76 string(REGEX MATCH "Clang" CMAKE_COMPILER_IS_CLANG "${CMAKE_C_COMPILER_ID}") 77 string(REGEX MATCH "GNU" CMAKE_COMPILER_IS_GNU "${CMAKE_C_COMPILER_ID}") 78 string(REGEX MATCH "IAR" CMAKE_COMPILER_IS_IAR "${CMAKE_C_COMPILER_ID}") 79 string(REGEX MATCH "MSVC" CMAKE_COMPILER_IS_MSVC "${CMAKE_C_COMPILER_ID}") 88 # Warning string - created as a list for compatibility with CMake 2.8 173 # Split into a list on '.' (but a cmake list is just a ';'-separated string) 174 string(REPLACE "." ";" ext_parts "${full_name}") 181 # Convert back to a string by replacing separators with '.' 182 string(REPLACE ";" "." no_ext_name "${ext_parts}") 187 string(REGEX MATCH "Clang" CMAKE_COMPILER_IS_CLANG "${CMAKE_C_COMPILER_ID}")
|
/mbedtls/tests/data_files/ |
A D | test_certs.h.jinja2 | 12 {% if mode == 'string' %} 14 /* BEGIN FILE string macro {{name}} {{value}} */
|
/mbedtls/tests/include/test/ |
A D | psa_crypto_helpers.h | 172 #define RECORD_STATUS(string, expr) \ argument 173 mbedtls_test_record_status((expr), string, __FILE__, __LINE__, #expr)
|
/mbedtls/programs/ |
A D | README.md | 26 … DER public/private key file and uses the key to encrypt/decrypt a short string through the generi… 28 …rify.c): loads a PEM or DER private/public key file and uses the key to sign/verify a short string. 34 …: loads an RSA public/private key and uses it to encrypt/decrypt a short string through the low-le… 38 …y.c): loads an RSA private/public key and uses it to sign/verify a short string with the RSA PKCS#… 40 …s.c): loads an RSA private/public key and uses it to sign/verify a short string with the RSASSA-PS… 69 * [`ssl/mini_client.c`](ssl/mini_client.c): a minimalistic SSL client, which sends a short string a…
|
/mbedtls/scripts/data_files/ |
A D | version_features.fmt | 14 #include <string.h>
|
A D | query_config.fmt | 80 #include <string.h> 83 * Helper macros to convert a macro or its expansion into a string
|
/mbedtls/docs/proposed/ |
A D | psa-driver-developer-guide.md | 43 * `"mbedtls/h_condition"` (optional, string) can include complex preprocessor definitions to condit… 44 * `"mbedtls/c_condition"` (optional, string) can include complex preprocessor definitions to condit…
|
/mbedtls/scripts/ |
A D | generate_ssl_debug_helpers.py | 20 def remove_c_comments(string): argument 33 return pattern.sub(replacer, string)
|