Install rand as the public DRBG for a library context, transferring ownership.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | Library context whose public RNG is replaced, or NULL for the default. |
| rand | RAND context that becomes the public generator; ctx takes ownership. |