Home
last modified time | relevance | path

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

123

/mbedtls-latest/tests/suites/
Dtest_suite_oid.data108 OID get numeric string - hardware module name
111 OID get numeric string - multi-byte subidentifier
114 OID get numeric string - second component greater than 39
117 OID get numeric string - multi-byte first subidentifier
120 OID get numeric string - second subidentifier not terminated
123 OID get numeric string - empty oid buffer
126 OID get numeric string - no final / all bytes have top bit set
129 OID get numeric string - 0.39
132 OID get numeric string - 1.0
135 OID get numeric string - 1.39
[all …]
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
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.
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
Dhelpers.function17 #include <string.h>
43 Only int, string, binary data
Dmain_test.function63 * is identified by a unique identifier instead of string literals.
95 * is identified by a unique identifier instead of string literals.
Dtest_suite_x509write.data199 X509 String to Names #11 (Invalid hexpair escape at end of string)
245 X509 String to Names (null byte in hexstring with string type)
248 X509 String to Names (null byte in hexstring with non-string type)
260 X509 Round trip test (hexstring output for non string input)
Dtest_suite_pkcs5.data193 PBES2 Decrypt (bad PBKDF2 params salt: not an octet string)
249 PBES2 Decrypt (bad enc_scheme_alg params: not an octet string)
Dtest_suite_platform_printf.function16 #include <string.h>
/mbedtls-latest/library/
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
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()
DCMakeLists.txt214 string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
265 string(APPEND mbedtls_static_target "_static")
266 string(APPEND mbedx509_static_target "_static")
267 string(APPEND mbedcrypto_static_target "_static")
Dssl_tls13_keys.h43 #define MBEDTLS_SSL_TLS1_3_LABEL(name, string) \ argument
44 const unsigned char name [sizeof(string) - 1];
/mbedtls-latest/tests/
DCMakeLists.txt30 string(REGEX REPLACE "[^;]*/" ""
42 string(REGEX REPLACE "[^;]*/" ""
54 string(REGEX REPLACE "[^;]*/" ""
66 string(REGEX REPLACE "[^;]*/" ""
74 string(REGEX REPLACE "([^;]+)" "suites/\\1"
187 string(REGEX REPLACE "[ ,;]" "|" SKIP_TEST_SUITES_REGEX "${SKIP_TEST_SUITES}")
188 string(REPLACE "." "\\." SKIP_TEST_SUITES_REGEX "${SKIP_TEST_SUITES_REGEX}")
210 string(SUBSTRING ${generated_data_name} 11 -1 generated_data_name)
219 string(SUBSTRING ${generated_data_name} 11 -1 generated_data_name)
228 string(SUBSTRING ${generated_data_name} 11 -1 generated_data_name)
[all …]
/mbedtls-latest/programs/psa/
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()
Dpsa_hash_demo.sh10 compute a SHA-256 hash of a test string using the one-shot API call
/mbedtls-latest/tests/scripts/
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-latest/include/mbedtls/
Dversion.h40 void mbedtls_version_get_string(char *string);
51 void mbedtls_version_get_string_full(char *string);
/mbedtls-latest/
DCMakeLists.txt86 string(REGEX MATCH "Clang" CMAKE_COMPILER_IS_CLANG "${COMPILER_ID}")
87 string(REGEX MATCH "GNU" CMAKE_COMPILER_IS_GNU "${COMPILER_ID}")
88 string(REGEX MATCH "IAR" CMAKE_COMPILER_IS_IAR "${COMPILER_ID}")
89 string(REGEX MATCH "MSVC" CMAKE_COMPILER_IS_MSVC "${COMPILER_ID}")
98 # Warning string - created as a list for compatibility with CMake 2.8
183 # Split into a list on '.' (but a cmake list is just a ';'-separated string)
184 string(REPLACE "." ";" ext_parts "${full_name}")
191 # Convert back to a string by replacing separators with '.'
192 string(REPLACE ";" "." no_ext_name "${ext_parts}")
/mbedtls-latest/programs/
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-latest/tests/include/test/
Dpsa_crypto_helpers.h174 #define RECORD_STATUS(string, expr) \ argument
175 mbedtls_test_record_status((expr), string, __FILE__, __LINE__, #expr)
/mbedtls-latest/scripts/data_files/
Dquery_config.fmt80 #include <string.h>
83 * Helper macros to convert a macro or its expansion into a string
Dversion_features.fmt14 #include <string.h>
/mbedtls-latest/scripts/
Dgenerate_ssl_debug_helpers.py22 def remove_c_comments(string): argument
35 return pattern.sub(replacer, string)
/mbedtls-latest/docs/proposed/
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…

123