Lines Matching refs:buf_len
225 int mbedtls_platform_std_nv_seed_read( unsigned char *buf, size_t buf_len ) in mbedtls_platform_std_nv_seed_read() argument
233 if( ( n = fread( buf, 1, buf_len, file ) ) != buf_len ) in mbedtls_platform_std_nv_seed_read()
243 int mbedtls_platform_std_nv_seed_write( unsigned char *buf, size_t buf_len ) in mbedtls_platform_std_nv_seed_write() argument
251 if( ( n = fwrite( buf, 1, buf_len, file ) ) != buf_len ) in mbedtls_platform_std_nv_seed_write()
267 static int platform_nv_seed_read_uninit( unsigned char *buf, size_t buf_len ) in platform_nv_seed_read_uninit() argument
270 ((void) buf_len); in platform_nv_seed_read_uninit()
281 static int platform_nv_seed_write_uninit( unsigned char *buf, size_t buf_len ) in platform_nv_seed_write_uninit() argument
284 ((void) buf_len); in platform_nv_seed_write_uninit()
291 int (*mbedtls_nv_seed_read)( unsigned char *buf, size_t buf_len ) =
293 int (*mbedtls_nv_seed_write)( unsigned char *buf, size_t buf_len ) =
297 int (*nv_seed_read_func)( unsigned char *buf, size_t buf_len ), in mbedtls_platform_set_nv_seed() argument
298 int (*nv_seed_write_func)( unsigned char *buf, size_t buf_len ) ) in mbedtls_platform_set_nv_seed()