Lines Matching defs:buf
225 static void platform_setbuf_uninit(FILE *stream, char *buf)
228 ((void) buf);
233 void (*mbedtls_setbuf)(FILE *stream, char *buf) = MBEDTLS_PLATFORM_STD_SETBUF;
235 int mbedtls_platform_set_setbuf(void (*setbuf_func)(FILE *stream, char *buf))
296 int mbedtls_platform_std_nv_seed_read(unsigned char *buf, size_t buf_len)
308 if ((n = fread(buf, 1, buf_len, file)) != buf_len) {
310 mbedtls_platform_zeroize(buf, buf_len);
318 int mbedtls_platform_std_nv_seed_write(unsigned char *buf, size_t buf_len)
330 if ((n = fwrite(buf, 1, buf_len, file)) != buf_len) {
345 static int platform_nv_seed_read_uninit(unsigned char *buf, size_t buf_len)
347 ((void) buf);
359 static int platform_nv_seed_write_uninit(unsigned char *buf, size_t buf_len)
361 ((void) buf);
369 int (*mbedtls_nv_seed_read)(unsigned char *buf, size_t buf_len) =
371 int (*mbedtls_nv_seed_write)(unsigned char *buf, size_t buf_len) =
375 int (*nv_seed_read_func)(unsigned char *buf, size_t buf_len),
376 int (*nv_seed_write_func)(unsigned char *buf, size_t buf_len))