Home
last modified time | relevance | path

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

12

/mbedtls-development/library/
A 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
A 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()
A Dssl_tls13_keys.h47 #define MBEDTLS_SSL_TLS1_3_LABEL( name, string ) \ argument
48 const unsigned char name [ sizeof(string) - 1 ];
A DCMakeLists.txt202 string(APPEND mbedtls_static_target "_static")
203 string(APPEND mbedx509_static_target "_static")
204 string(APPEND mbedcrypto_static_target "_static")
/mbedtls-development/scripts/mbedtls_dev/
A Dpsa_storage.py33 self.string = '{0:#0{1}x}'.format(content, digits + 2)
36 self.string = content
61 def normalize(string: str) -> str:
68 return re.sub(r'\s+', r'', string)
73 if re.match(r'([0-9]+|0x[0-9a-f]+)\Z', self.string, re.I):
74 return int(self.string, 0)
75 normalized = self.normalize(self.string)
/mbedtls-development/include/mbedtls/
A Dversion.h52 void mbedtls_version_get_string( char *string );
63 void mbedtls_version_get_string_full( char *string );
/mbedtls-development/tests/scripts/
A Drun-test-suites.pl83 my( $width, $padchar, $string ) = @_;
84 my $padlen = ( $width - length( $string ) - 2 ) / 2;
85 print $padchar x( $padlen ), " $string ", $padchar x( $padlen ), "\n";
A Dgenerate_psa_tests.py334 self.usage = psa_storage.Expr(self.usage.string + ' | ' + implicit)
354 self.expected_usage = expected_usage if expected_usage else self.usage.string #type: str
386 key.lifetime.string, key.type.string,
387 key.expected_usage, key.alg.string, key.alg2.string,
401 if key.type.string != 'PSA_KEY_TYPE_RAW_DATA':
403 if 'READ_ONLY' in key.lifetime.string:
406 tc.set_arguments([key.lifetime.string,
407 key.type.string, str(key.bits),
408 key.expected_usage, key.alg.string, key.alg2.string,
/mbedtls-development/programs/psa/
A Dpsa_constant_names.c57 const char *string, size_t length) in append() argument
61 memcpy(*buffer, string, length); in append()
83 const char *string, size_t length, in append_with_curve() argument
87 append(buffer, buffer_size, required_size, string, length); in append_with_curve()
101 const char *string, size_t length, in append_with_group() argument
105 append(buffer, buffer_size, required_size, string, length); in append_with_group()
/mbedtls-development/tests/include/test/
A Dpsa_crypto_helpers.h182 #define RECORD_STATUS( string, expr ) \ argument
183 mbedtls_test_record_status( ( expr ), string, __FILE__, __LINE__, #expr )
/mbedtls-development/
A DCMakeLists.txt55 string(REGEX MATCH "Clang" CMAKE_COMPILER_IS_CLANG "${CMAKE_C_COMPILER_ID}")
56 string(REGEX MATCH "GNU" CMAKE_COMPILER_IS_GNU "${CMAKE_C_COMPILER_ID}")
57 string(REGEX MATCH "IAR" CMAKE_COMPILER_IS_IAR "${CMAKE_C_COMPILER_ID}")
58 string(REGEX MATCH "MSVC" CMAKE_COMPILER_IS_MSVC "${CMAKE_C_COMPILER_ID}")
67 # Warning string - created as a list for compatibility with CMake 2.8
115 string(REPLACE "/" "\\" link "${CMAKE_CURRENT_BINARY_DIR}/${base_name}")
145 # Split into a list on '.' (but a cmake list is just a ';'-separated string)
146 string(REPLACE "." ";" ext_parts "${full_name}")
153 # Convert back to a string by replacing separators with '.'
154 string(REPLACE ";" "." no_ext_name "${ext_parts}")
[all …]
/mbedtls-development/tests/suites/
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.
17 "Expected string (with \"\") for parameter and got: %s\n", *str );
28 * \brief Verifies that string is an integer. Also gives the converted
31 * \param str Input string.
84 * \brief Usage string.
151 * \brief Splits string delimited by ':'. Ignores '\:'.
153 * \param buf Input string
154 * \param len Input string length
229 * "Hello", // Verified string
A Dhelpers.function45 #include <string.h>
70 Only int, string, binary data
A Dtest_suite_asn1write.data178 ASN.1 Write tagged string: length=0
181 ASN.1 Write tagged string: length=1
184 ASN.1 Write tagged string: length=128
334 ASN.1 Write Bitstring / long string all bits unset except trailing bits
A Dtest_suite_asn1parse.function237 /* full_result: expected result from parsing the given string. */
238 /* overfull_result: expected_result from parsing the given string plus
248 /* Test every prefix of the input, except the empty string.
249 * The first byte of the string is the tag. Without a tag byte,
296 /* Test prefixes of a buffer containing the given length string
300 * and we only test the empty string on a 1-byte input.
585 /* The description string is a comma-separated list of integers.
647 /* The description string is a comma-separated list of integers.
A Dtest_suite_oid.function5 #include "string.h"
A Dmain_test.function63 * is identified by a unique identifier instead of string literals.
96 * is identified by a unique identifier instead of string literals.
A 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-development/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-development/tests/data_files/
A Dtest-ca.opensslconf55 CPS.1 ="CPS uri string"
A DReadme-x509.txt28 - enco-ca-prstr.pem: has its CN encoded as a printable string, but child cert
29 enco-cert-utf8str.pem has its issuer's CN encoded as a UTF-8 string.
/mbedtls-development/tests/
A DCMakeLists.txt62 string(REGEX REPLACE "[ ,;]" "|" SKIP_TEST_SUITES_REGEX "${SKIP_TEST_SUITES}")
63 string(REPLACE "." "\\." SKIP_TEST_SUITES_REGEX "${SKIP_TEST_SUITES_REGEX}")
82 string(SUBSTRING ${generated_data_name} 11 -1 generated_data_name)
/mbedtls-development/scripts/data_files/
A Dversion_features.fmt26 #include <string.h>
A Dquery_config.fmt91 #include <string.h>
94 * Helper macros to convert a macro or its expansion into a string
A Derror.fmt35 #include <string.h>

Completed in 18 milliseconds

12