Searched refs:generate_random (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelRand.c | 83 crypto_generate_random_t generate_random; in C_GenerateRandom() local 101 generate_random.gr_session = session_p->k_session; in C_GenerateRandom() 102 generate_random.gr_buf = (caddr_t)pRandomData; in C_GenerateRandom() 103 generate_random.gr_buflen = ulRandomLen; in C_GenerateRandom() 106 &generate_random)) < 0) { in C_GenerateRandom() 113 if (generate_random.gr_return_value != CRYPTO_SUCCESS) { in C_GenerateRandom() 115 generate_random.gr_return_value); in C_GenerateRandom()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | crypto.c | 759 if (random_number_ops->generate_random != NULL) in crypto_build_function_list() 4463 generate_random(dev_t dev, caddr_t arg, int mode, int *rval) in generate_random() function 4465 STRUCT_DECL(crypto_generate_random, generate_random); in generate_random() 4478 STRUCT_INIT(generate_random, mode); in generate_random() 4485 if (copyin(arg, STRUCT_BUF(generate_random), in generate_random() 4486 STRUCT_SIZE(generate_random)) != 0) { in generate_random() 4491 len = STRUCT_FGET(generate_random, gr_buflen); in generate_random() 4499 session_id = STRUCT_FGET(generate_random, gr_session); in generate_random() 4514 CRYPTO_RANDOM_OFFSET(generate_random), sp->sd_provider, in generate_random() 4526 STRUCT_FGETP(generate_random, gr_buf), len) != 0) { in generate_random() [all …]
|
H A D | viorand.c | 138 .generate_random = viorand_generate_random
|
/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | spi.h | 367 int (*generate_random)(crypto_provider_handle_t, crypto_session_id_t, member
|
H A D | impl.h | 1029 KCF_PROV_RANDOM_OPS(pd)->generate_random) ? \ 1030 KCF_PROV_RANDOM_OPS(pd)->generate_random((pd)->pd_prov_handle, \
|