Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
yarrow.h File Reference
Yarrow PRNG. More...
Go to the source code of this file.
Data Structures | |
| struct | YarrowContext |
| Yarrow PRNG context. More... | |
Functions | |
| error_t | yarrowInit (YarrowContext *context) |
| Initialize PRNG context. | |
| void | yarrowRelease (YarrowContext *context) |
| Release PRNG context. | |
| error_t | yarrowSeed (YarrowContext *context, const uint8_t *input, size_t length) |
| Seed the PRNG state. | |
| error_t | yarrowAddEntropy (YarrowContext *context, uint_t source, const uint8_t *input, size_t length, size_t entropy) |
| Add entropy to the PRNG state. | |
| error_t | yarrowRead (YarrowContext *context, uint8_t *output, size_t length) |
| Read random data. | |
| void | yarrowGenerateBlock (YarrowContext *context, uint8_t *output) |
| Generate a random block of data. | |
| void | yarrowFastReseed (YarrowContext *context) |
| Reseed from the fast pool. | |
| void | yarrowSlowReseed (YarrowContext *context) |
| Reseed from the slow pool. | |
Detailed Description
Yarrow PRNG.
License
Copyright (C) 2010-2017 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneSSL Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- Version:
- 1.7.6
Definition in file yarrow.h.
Function Documentation
| error_t yarrowAddEntropy | ( | YarrowContext * | context, |
| uint_t | source, | ||
| const uint8_t * | input, | ||
| size_t | length, | ||
| size_t | entropy | ||
| ) |
| void yarrowFastReseed | ( | YarrowContext * | context ) |
| void yarrowGenerateBlock | ( | YarrowContext * | context, |
| uint8_t * | output | ||
| ) |
| error_t yarrowInit | ( | YarrowContext * | context ) |
| error_t yarrowRead | ( | YarrowContext * | context, |
| uint8_t * | output, | ||
| size_t | length | ||
| ) |
| void yarrowRelease | ( | YarrowContext * | context ) |
| error_t yarrowSeed | ( | YarrowContext * | context, |
| const uint8_t * | input, | ||
| size_t | length | ||
| ) |
| void yarrowSlowReseed | ( | YarrowContext * | context ) |
Generated on Tue Jul 12 2022 17:10:23 by
1.7.2