mbed TLS v2.6.0
|
Platform-specific and custom entropy polling functions. More...
Go to the source code of this file.
Macros | |
#define | MBEDTLS_ENTROPY_MIN_PLATFORM 32 |
Minimum for platform source. More... | |
#define | MBEDTLS_ENTROPY_MIN_HAVEGE 32 |
Minimum for HAVEGE. More... | |
#define | MBEDTLS_ENTROPY_MIN_HARDCLOCK 4 |
Minimum for mbedtls_timing_hardclock() More... | |
#define | MBEDTLS_ENTROPY_MIN_HARDWARE 32 |
Minimum for the hardware source. More... | |
Functions | |
int | mbedtls_platform_entropy_poll (void *data, unsigned char *output, size_t len, size_t *olen) |
Entropy poll callback that provides 0 entropy. More... | |
int | mbedtls_hardclock_poll (void *data, unsigned char *output, size_t len, size_t *olen) |
mbedtls_timing_hardclock-based entropy poll callback More... | |
Platform-specific and custom entropy polling functions.
Copyright (C) 2006-2016, ARM Limited, All Rights Reserved SPDX-License-Identifier: GPL-2.0
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.
This file is part of mbed TLS (https://tls.mbed.org)
Definition in file entropy_poll.h.
#define MBEDTLS_ENTROPY_MIN_HARDCLOCK 4 |
Minimum for mbedtls_timing_hardclock()
Definition at line 45 of file entropy_poll.h.
#define MBEDTLS_ENTROPY_MIN_HARDWARE 32 |
Minimum for the hardware source.
Definition at line 47 of file entropy_poll.h.
#define MBEDTLS_ENTROPY_MIN_HAVEGE 32 |
Minimum for HAVEGE.
Definition at line 44 of file entropy_poll.h.
#define MBEDTLS_ENTROPY_MIN_PLATFORM 32 |
Minimum for platform source.
Definition at line 43 of file entropy_poll.h.
int mbedtls_hardclock_poll | ( | void * | data, |
unsigned char * | output, | ||
size_t | len, | ||
size_t * | olen | ||
) |
mbedtls_timing_hardclock-based entropy poll callback
int mbedtls_platform_entropy_poll | ( | void * | data, |
unsigned char * | output, | ||
size_t | len, | ||
size_t * | olen | ||
) |
Entropy poll callback that provides 0 entropy.
Platform-specific entropy poll callback