Home
last modified time | relevance | path

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

/mbedtls-latest/library/
Dpsa_its_file.c111 FILE *stream = NULL; in psa_its_get_info() local
112 status = psa_its_read_file(uid, p_info, &stream); in psa_its_get_info()
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
130 status = psa_its_read_file(uid, &info, &stream); in psa_its_get()
150 if (fseek(stream, LONG_MAX, SEEK_CUR) != 0) { in psa_its_get()
156 if (fseek(stream, data_offset, SEEK_CUR) != 0) { in psa_its_get()
159 n = fread(p_data, 1, data_length, stream); in psa_its_get()
169 if (stream != NULL) { in psa_its_get()
[all …]
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-latest/tests/suites/
Dtest_suite_psa_its.function251 FILE *stream = NULL;
257 stream = fopen(filename, "rb+");
258 TEST_ASSERT(NULL != stream);
261 TEST_ASSERT(fseek(stream, 0, SEEK_SET) == 0);
262 n = fwrite(&bad_char, 1, 1, stream);
267 stream = freopen(filename, "wb", stream);
268 TEST_ASSERT(NULL != stream);
270 fclose(stream);
271 stream = NULL;
279 stream = fopen(filename, "rb");
[all …]
Dtest_suite_bignum_random.function165 * stream. */
219 /* Call the core and mod random() functions with the same random stream. */
Dtest_suite_mps.function840 * stream of outgoing/incoming data for the lower/upper layers, even if
Dtest_suite_ssl.function3241 /* Can't use CID functions with stream transport. */
/mbedtls-latest/include/mbedtls/
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-latest/docs/
Ddriver-only-builds.md401 - In the legacy API, `MBEDTLS_CHACHA20_C` enables the ChaCha20 stream cipher, and
Dpsa-transition.md267 …s.h`), a particular block cipher mode (`ccm.h`, `gcm.h`) or a particular stream cipher (`chacha20.…
/mbedtls-latest/docs/proposed/
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-latest/docs/architecture/
Dpsa-shared-memory.md178 Key derivation typically emits its output as a stream, with no error condition detected after setup…
/mbedtls-latest/
DChangeLog701 * Fix crypt_and_hash decryption fail when used with a stream cipher
2231 The underlying stream cipher is determined by the key type
3464 * Add new crypto primitives from RFC 7539: stream cipher Chacha20, one-time