summaryrefslogtreecommitdiffstats
path: root/watch-library/hal/documentation/rand_sync.rst
blob: 19ec1d367cd6aca68bdefc8044027e90e10aeaf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
==========================================
Random Number Generator Synchronous driver
==========================================

Random Number Generator (RAND) generates a sequence of numbers that can not
be reasonably predicted better than by a random chance.

In some implementation cases, seed is required for the Random Number Generator
to generate random numbers. rand_sync_set_seed is used to update the seed.
If it's actually not required by the generator implementation, the function just
returns ERR_UNSUPPORTED_OP.

Features
--------

* Initialization and de-initialization
* Enabling and Disabling
* Setting seed
* 8-bit and 32-bit random data/data array generation

Applications
------------

* Generate random keys for data encryption

Dependencies
------------

* Random number generation hardware/software

Concurrency
-----------
N/A

Limitations
-----------

N/A

Known issues and workarounds
----------------------------
N/A