Mistake on this page?
Report an issue in GitHub or email us
default_random_seed.h
1 
2 
3 #ifndef DEFAULT_RANDOM_SEED_H
4 #define DEFAULT_RANDOM_SEED_H
5 
6 #include <stddef.h>
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 
13 
14 /** Read seed from the secure storage.
15  *
16  * This function will be the default function for reading the Random seed.
17  *
18  * @param buf[out] buffer to hold the seed value from the secure storage
19  * @param buf_len[in] input buffer length
20  *
21  * @returns
22  * secure storage API return value.
23  *
24  */
25 int mbed_default_seed_read(unsigned char *buf, size_t buf_len);
26 
27 /** Writes seed to the secure storage.
28  *
29  * This function will be the default function for writing the Random seed.
30  *
31  * @param buf[in] buffer to the seed value
32  * @param buf_len[in] input buffer length
33  *
34  * @returns
35  * secure storage API return value.
36  */
37 int mbed_default_seed_write(unsigned char *buf, size_t buf_len);
38 
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 
44 #endif /* DEFAULT_RANDOM_SEED_H */
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.