Searched refs:myrand (Results 1 – 2 of 2) sorted by relevance
/optee_os-3.20.0/lib/libutils/isoc/ |
A D | bget.c | 1413 static int myrand(void) in myrand() function 1466 int i = myrand() & 0x3; 1620 bufsize bs = pow(x, (double) (myrand() & (ExpIncr - 1))); in bget_main_test() 1622 bufsize bs = (myrand() & (ExpIncr * 4 - 1)) / (1 << (myrand() & 0x7)); in bget_main_test() 1645 if (myrand() & 0x400) { in bget_main_test() 1675 if ((myrand() & 0x10) == 0) { in bget_main_test() 1677 int j = myrand() & 0x3; in bget_main_test() 1697 if ((myrand() & 0x20) == 0) { in bget_main_test() 1699 int j = myrand() & 0x3; in bget_main_test() 1713 bs = pow(x, (double) (myrand() & (ExpIncr - 1))); in bget_main_test()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | rsa.c | 2436 static int myrand( void *rng_state, unsigned char *output, size_t len ) in myrand() function 2509 if( mbedtls_rsa_pkcs1_encrypt( &rsa, myrand, NULL, MBEDTLS_RSA_PUBLIC, in mbedtls_rsa_self_test() 2523 if( mbedtls_rsa_pkcs1_decrypt( &rsa, myrand, NULL, MBEDTLS_RSA_PRIVATE, in mbedtls_rsa_self_test() 2558 if( mbedtls_rsa_pkcs1_sign( &rsa, myrand, NULL, in mbedtls_rsa_self_test()
|
Completed in 13 milliseconds