Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 63) sorted by relevance

123

/mbedtls/tests/suites/
A Dtest_suite_oid.data108 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 Dhost_test.function4 * \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 Dhelpers.function17 #include <string.h>
43 Only int, string, binary data
A Dtest_suite_asn1parse.function230 /* 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 Dtest_suite_asn1write.data187 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 Dmain_test.function63 * is identified by a unique identifier instead of string literals.
95 * is identified by a unique identifier instead of string literals.
/mbedtls/library/
A Dmps_common.h88 #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 Dversion.c20 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 Dssl_tls13_keys.h43 #define MBEDTLS_SSL_TLS1_3_LABEL(name, string) \ argument
44 const unsigned char name [sizeof(string) - 1];
A DCMakeLists.txt214 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 Dpsa_storage.py28 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 DCMakeLists.txt30 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 Dgenerate_psa_tests.py462 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 Drun-test-suites.pl73 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 Dpsa_constant_names.c45 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 Dpsa_hash_demo.sh10 compute a SHA-256 hash of a test string using the one-shot API call
/mbedtls/include/mbedtls/
A Dversion.h40 void mbedtls_version_get_string(char *string);
51 void mbedtls_version_get_string_full(char *string);
/mbedtls/
A DCMakeLists.txt76 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 Dtest_certs.h.jinja212 {% if mode == 'string' %}
14 /* BEGIN FILE string macro {{name}} {{value}} */
/mbedtls/tests/include/test/
A Dpsa_crypto_helpers.h172 #define RECORD_STATUS(string, expr) \ argument
173 mbedtls_test_record_status((expr), string, __FILE__, __LINE__, #expr)
/mbedtls/programs/
A DREADME.md26 … 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 Dversion_features.fmt14 #include <string.h>
A Dquery_config.fmt80 #include <string.h>
83 * Helper macros to convert a macro or its expansion into a string
/mbedtls/docs/proposed/
A Dpsa-driver-developer-guide.md43 * `"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 Dgenerate_ssl_debug_helpers.py20 def remove_c_comments(string): argument
33 return pattern.sub(replacer, string)

Completed in 47 milliseconds

123