Home
last modified time | relevance | path

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

123

/mbedtls-3.5.0/tests/suites/
Dtest_suite_oid.data92 OID get numeric string - hardware module name
95 OID get numeric string - multi-byte subidentifier
98 OID get numeric string - second component greater than 39
101 OID get numeric string - multi-byte first subidentifier
104 OID get numeric string - second subidentifier not terminated
107 OID get numeric string - empty oid buffer
110 OID get numeric string - no final / all bytes have top bit set
113 OID get numeric string - 0.39
116 OID get numeric string - 1.0
119 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.
79 * \brief Usage string.
147 * \brief Splits string delimited by ':'. Ignores '\:'.
149 * \param buf Input string
150 * \param len Input string length
214 * "Hello", // Verified string
Dhelpers.function33 #include <string.h>
54 Only int, string, binary data
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
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_pkcs5.data137 PBES2 Decrypt (bad PBKDF2 params salt: not an octet string)
193 PBES2 Decrypt (bad enc_scheme_alg params: not an octet string)
/mbedtls-3.5.0/library/
Dmps_common.h102 #define MBEDTLS_MPS_STATE_VALIDATE_RAW(cond, string) \ argument
107 MBEDTLS_MPS_TRACE(MBEDTLS_MPS_TRACE_TYPE_ERROR, string); \
114 #define MBEDTLS_MPS_STATE_VALIDATE_RAW(cond, string) \ argument
124 #define MBEDTLS_MPS_ASSERT_RAW(cond, string) \ argument
129 MBEDTLS_MPS_TRACE(MBEDTLS_MPS_TRACE_TYPE_ERROR, string); \
136 #define MBEDTLS_MPS_ASSERT_RAW(cond, string) do {} while (0) argument
Dversion.c32 void mbedtls_version_get_string(char *string) in mbedtls_version_get_string() argument
34 memcpy(string, MBEDTLS_VERSION_STRING, in mbedtls_version_get_string()
38 void mbedtls_version_get_string_full(char *string) in mbedtls_version_get_string_full() argument
40 memcpy(string, MBEDTLS_VERSION_STRING_FULL, in mbedtls_version_get_string_full()
Dssl_tls13_keys.h55 #define MBEDTLS_SSL_TLS1_3_LABEL(name, string) \ argument
56 const unsigned char name [sizeof(string) - 1];
DCMakeLists.txt207 string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
256 string(APPEND mbedtls_static_target "_static")
257 string(APPEND mbedx509_static_target "_static")
258 string(APPEND mbedcrypto_static_target "_static")
/mbedtls-3.5.0/scripts/mbedtls_dev/
Dpsa_storage.py38 self.string = '{0:#0{1}x}'.format(content, digits + 2)
41 self.string = content
66 def normalize(string: str) -> str:
73 return re.sub(r'\s+', r'', string)
78 if re.match(r'([0-9]+|0x[0-9a-f]+)\Z', self.string, re.I):
79 return int(self.string, 0)
80 normalized = self.normalize(self.string)
/mbedtls-3.5.0/tests/
DCMakeLists.txt29 string(REGEX REPLACE "[^;]*/" ""
41 string(REGEX REPLACE "[^;]*/" ""
53 string(REGEX REPLACE "[^;]*/" ""
60 string(REGEX REPLACE "([^;]+)" "suites/\\1"
151 string(REGEX REPLACE "[ ,;]" "|" SKIP_TEST_SUITES_REGEX "${SKIP_TEST_SUITES}")
152 string(REPLACE "." "\\." SKIP_TEST_SUITES_REGEX "${SKIP_TEST_SUITES_REGEX}")
173 string(SUBSTRING ${generated_data_name} 11 -1 generated_data_name)
182 string(SUBSTRING ${generated_data_name} 11 -1 generated_data_name)
191 string(SUBSTRING ${generated_data_name} 11 -1 generated_data_name)
283 string(REGEX REPLACE "\\.data\$" "" data_name "${data_name}")
[all …]
/mbedtls-3.5.0/programs/psa/
Dpsa_constant_names.c57 const char *string, size_t length) in append() argument
61 memcpy(*buffer, string, length); in append()
85 const char *string, size_t length, in append_with_curve() argument
89 append(buffer, buffer_size, required_size, string, length); in append_with_curve()
103 const char *string, size_t length, in append_with_group() argument
107 append(buffer, buffer_size, required_size, string, length); in append_with_group()
/mbedtls-3.5.0/tests/scripts/
Dgenerate_psa_tests.py540 if key_type.string == 'PSA_KEY_TYPE_RAW_DATA':
543 m = cls.RSA_OAEP_RE.match(alg.string)
555 m = cls.BRAINPOOL_RE.match(key_type.string)
556 if m and alg.string != 'PSA_ALG_ECDSA_ANY':
573 key.lifetime.string, key.type.string,
574 key.alg.string, key.alg2.string,
585 if 'READ_ONLY' in key.lifetime.string:
588 tc.set_arguments([key.lifetime.string,
589 key.type.string, str(key.bits),
590 key.expected_usage.string,
[all …]
Drun-test-suites.pl85 my( $width, $padchar, $string ) = @_;
86 my $padlen = ( $width - length( $string ) - 2 ) / 2;
87 print $padchar x( $padlen ), " $string ", $padchar x( $padlen ), "\n";
/mbedtls-3.5.0/include/mbedtls/
Dversion.h52 void mbedtls_version_get_string(char *string);
63 void mbedtls_version_get_string_full(char *string);
/mbedtls-3.5.0/
DCMakeLists.txt67 string(REGEX MATCH "Clang" CMAKE_COMPILER_IS_CLANG "${CMAKE_C_COMPILER_ID}")
68 string(REGEX MATCH "GNU" CMAKE_COMPILER_IS_GNU "${CMAKE_C_COMPILER_ID}")
69 string(REGEX MATCH "IAR" CMAKE_COMPILER_IS_IAR "${CMAKE_C_COMPILER_ID}")
70 string(REGEX MATCH "MSVC" CMAKE_COMPILER_IS_MSVC "${CMAKE_C_COMPILER_ID}")
79 # Warning string - created as a list for compatibility with CMake 2.8
155 # Split into a list on '.' (but a cmake list is just a ';'-separated string)
156 string(REPLACE "." ";" ext_parts "${full_name}")
163 # Convert back to a string by replacing separators with '.'
164 string(REPLACE ";" "." no_ext_name "${ext_parts}")
169 string(REGEX MATCH "Clang" CMAKE_COMPILER_IS_CLANG "${CMAKE_C_COMPILER_ID}")
/mbedtls-3.5.0/tests/include/test/
Dpsa_crypto_helpers.h188 #define RECORD_STATUS(string, expr) \ argument
189 mbedtls_test_record_status((expr), string, __FILE__, __LINE__, #expr)
/mbedtls-3.5.0/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-3.5.0/scripts/
Dgenerate_ssl_debug_helpers.py32 def remove_c_comments(string): argument
45 return pattern.sub(replacer, string)
/mbedtls-3.5.0/scripts/data_files/
Dquery_config.fmt92 #include <string.h>
95 * Helper macros to convert a macro or its expansion into a string
Dversion_features.fmt26 #include <string.h>
/mbedtls-3.5.0/docs/proposed/
Dpsa-driver-developer-guide.md42 * `"mbedtls/h_condition"` (optional, string) can include complex preprocessor definitions to condit…
43 * `"mbedtls/c_condition"` (optional, string) can include complex preprocessor definitions to condit…
/mbedtls-3.5.0/tests/data_files/
Dtest-ca.opensslconf65 CPS.1 ="CPS uri string"

123