Lines Matching refs:buf_len
286 int mbedtls_platform_std_nv_seed_read( unsigned char *buf, size_t buf_len ) in mbedtls_platform_std_nv_seed_read() argument
294 if( ( n = fread( buf, 1, buf_len, file ) ) != buf_len ) in mbedtls_platform_std_nv_seed_read()
297 mbedtls_platform_zeroize( buf, buf_len ); in mbedtls_platform_std_nv_seed_read()
305 int mbedtls_platform_std_nv_seed_write( unsigned char *buf, size_t buf_len ) in mbedtls_platform_std_nv_seed_write() argument
313 if( ( n = fwrite( buf, 1, buf_len, file ) ) != buf_len ) in mbedtls_platform_std_nv_seed_write()
329 static int platform_nv_seed_read_uninit( unsigned char *buf, size_t buf_len ) in platform_nv_seed_read_uninit() argument
332 ((void) buf_len); in platform_nv_seed_read_uninit()
343 static int platform_nv_seed_write_uninit( unsigned char *buf, size_t buf_len ) in platform_nv_seed_write_uninit() argument
346 ((void) buf_len); in platform_nv_seed_write_uninit()
353 int (*mbedtls_nv_seed_read)( unsigned char *buf, size_t buf_len ) =
355 int (*mbedtls_nv_seed_write)( unsigned char *buf, size_t buf_len ) =
359 int (*nv_seed_read_func)( unsigned char *buf, size_t buf_len ), in mbedtls_platform_set_nv_seed() argument
360 int (*nv_seed_write_func)( unsigned char *buf, size_t buf_len ) ) in mbedtls_platform_set_nv_seed()