Lines Matching refs:buf_len
283 int mbedtls_platform_std_nv_seed_read( unsigned char *buf, size_t buf_len ) in mbedtls_platform_std_nv_seed_read() argument
291 if( ( n = fread( buf, 1, buf_len, file ) ) != buf_len ) in mbedtls_platform_std_nv_seed_read()
294 mbedtls_platform_zeroize( buf, buf_len ); in mbedtls_platform_std_nv_seed_read()
302 int mbedtls_platform_std_nv_seed_write( unsigned char *buf, size_t buf_len ) in mbedtls_platform_std_nv_seed_write() argument
310 if( ( n = fwrite( buf, 1, buf_len, file ) ) != buf_len ) in mbedtls_platform_std_nv_seed_write()
326 static int platform_nv_seed_read_uninit( unsigned char *buf, size_t buf_len ) in platform_nv_seed_read_uninit() argument
329 ((void) buf_len); in platform_nv_seed_read_uninit()
340 static int platform_nv_seed_write_uninit( unsigned char *buf, size_t buf_len ) in platform_nv_seed_write_uninit() argument
343 ((void) buf_len); in platform_nv_seed_write_uninit()
350 int (*mbedtls_nv_seed_read)( unsigned char *buf, size_t buf_len ) =
352 int (*mbedtls_nv_seed_write)( unsigned char *buf, size_t buf_len ) =
356 int (*nv_seed_read_func)( unsigned char *buf, size_t buf_len ), in mbedtls_platform_set_nv_seed() argument
357 int (*nv_seed_write_func)( unsigned char *buf, size_t buf_len ) ) in mbedtls_platform_set_nv_seed()