Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 16 of 16) sorted by relevance

/mbedtls/tests/scripts/
A Dtest_generate_test_code.py406 stream)
600 stream, [], [])
965 self.assertEqual(stream.line_no, 1)
988 self.assertEqual(stream.line_no, 1)
1009 self.assertEqual(stream.line_no, 1)
1032 self.assertEqual(stream.line_no, 1)
1059 parse_functions(stream)
1062 self.assertEqual(stream.line_no, 5)
1102 parse_functions(stream)
1585 self.assertEqual(stream.getvalue(),
[all …]
A Dgenerate_psa_wrappers.py191 def __init__(self, stream: str) -> None:
193 self.set_stream(stream)
A Dgenerate_test_code.py572 def skip_comments(line, stream): argument
594 continuation = next(stream)
602 line += next(stream)
/mbedtls/library/
A Dpsa_its_file.c111 FILE *stream = NULL; in psa_its_get_info() local
113 if (stream != NULL) { in psa_its_get_info()
114 fclose(stream); in psa_its_get_info()
126 FILE *stream = NULL; in psa_its_get() local
169 if (stream != NULL) { in psa_its_get()
170 fclose(stream); in psa_its_get()
186 FILE *stream = NULL; in psa_its_set() local
197 if (stream == NULL) { in psa_its_set()
218 if (stream != NULL) { in psa_its_set()
241 FILE *stream; in psa_its_remove() local
[all …]
A Dplatform.c197 static int platform_fprintf_uninit(FILE *stream, const char *format, ...) in platform_fprintf_uninit() argument
199 ((void) stream); in platform_fprintf_uninit()
222 static void platform_setbuf_uninit(FILE *stream, char *buf) in platform_setbuf_uninit() argument
224 ((void) stream); in platform_setbuf_uninit()
230 void (*mbedtls_setbuf)(FILE *stream, char *buf) = MBEDTLS_PLATFORM_STD_SETBUF;
232 int mbedtls_platform_set_setbuf(void (*setbuf_func)(FILE *stream, char *buf)) in mbedtls_platform_set_setbuf() argument
/mbedtls/tests/suites/
A Dtest_suite_psa_its.function251 FILE *stream = NULL;
257 stream = fopen(filename, "rb+");
258 TEST_ASSERT(NULL != stream);
267 stream = freopen(filename, "wb", stream);
268 TEST_ASSERT(NULL != stream);
270 fclose(stream);
271 stream = NULL;
279 stream = fopen(filename, "rb");
280 TEST_ASSERT(NULL == stream);
283 if (stream != NULL) {
[all …]
A Dtest_suite_bignum_random.function165 * stream. */
219 /* Call the core and mod random() functions with the same random stream. */
A Dtest_suite_mps.function840 * stream of outgoing/incoming data for the lower/upper layers, even if
A Dtest_suite_ssl.function3228 /* Can't use CID functions with stream transport. */
/mbedtls/include/mbedtls/
A Dplatform.h176 extern int (*mbedtls_fprintf)(FILE *stream, const char *format, ...);
187 int mbedtls_platform_set_fprintf(int (*fprintf_func)(FILE *stream, const char *,
317 extern void (*mbedtls_setbuf)(FILE *stream, char *buf);
329 FILE *stream, char *buf));
/mbedtls/scripts/mbedtls_dev/
A Dc_wrapper_generator.py362 self.stream = 'stdout'
364 def set_stream(self, stream: str) -> None:
369 self.stream = stream
462 .format(stream=self.stream,
/mbedtls/docs/
A Ddriver-only-builds.md396 - In the legacy API, `MBEDTLS_CHACHA20_C` enables the ChaCha20 stream cipher, and
A Dpsa-transition.md267 …s.h`), a particular block cipher mode (`ccm.h`, `gcm.h`) or a particular stream cipher (`chacha20.…
/mbedtls/docs/proposed/
A Dpsa-driver-interface.md443 …ey types where the derived key material is not a direct copy of the key derivation's output stream.
529 * `input` is a buffer of `input_length` bytes which contains the raw key stream, i.e. the data that…
538 …key"` entry point again with the same `memory` object and with subsequent data from the key stream.
541 …ERROR_INSUFFICIENT_DATA`. Each call has a successive fragment of the key stream. The `memory` obje…
1424 … the key is derived, which practically dictates how the pseudorandom key stream is consumed. So it…
/mbedtls/docs/architecture/
A Dpsa-shared-memory.md178 Key derivation typically emits its output as a stream, with no error condition detected after setup…
/mbedtls/
A DChangeLog506 * Fix crypt_and_hash decryption fail when used with a stream cipher
2036 The underlying stream cipher is determined by the key type
3269 * Add new crypto primitives from RFC 7539: stream cipher Chacha20, one-time

Completed in 44 milliseconds