Lines Matching refs:len
59 int mbedtls_platform_entropy_poll( void *data, unsigned char *output, size_t len, in mbedtls_platform_entropy_poll() argument
72 if( CryptGenRandom( provider, (DWORD) len, output ) == FALSE ) in mbedtls_platform_entropy_poll()
79 *olen = len; in mbedtls_platform_entropy_poll()
151 unsigned char *output, size_t len, size_t *olen ) in mbedtls_platform_entropy_poll() argument
165 if( ( ret = getrandom_wrapper( output, len, 0 ) ) < 0 ) in mbedtls_platform_entropy_poll()
179 read_len = fread( output, 1, len, file ); in mbedtls_platform_entropy_poll()
180 if( read_len != len ) in mbedtls_platform_entropy_poll()
187 *olen = len; in mbedtls_platform_entropy_poll()
196 unsigned char *output, size_t len, size_t *olen ) in mbedtls_null_entropy_poll() argument
202 if( len < sizeof(unsigned char) ) in mbedtls_null_entropy_poll()
213 unsigned char *output, size_t len, size_t *olen ) in mbedtls_hardclock_poll() argument
219 if( len < sizeof(unsigned long) ) in mbedtls_hardclock_poll()
231 unsigned char *output, size_t len, size_t *olen ) in mbedtls_havege_poll() argument
236 if( mbedtls_havege_random( hs, output, len ) != 0 ) in mbedtls_havege_poll()
239 *olen = len; in mbedtls_havege_poll()
247 unsigned char *output, size_t len, size_t *olen ) in mbedtls_nv_seed_poll() argument
258 if( len < use_len ) in mbedtls_nv_seed_poll()
259 use_len = len; in mbedtls_nv_seed_poll()