source: rtems/cpukit/libcsupport/src/arc4random_getentropy_fail.c @ ddc339c

5
Last change on this file since ddc339c was ddc339c, checked in by Christian Mauderer <Christian.Mauderer@…>, on 11/13/17 at 08:21:28

cpukit: Add _arc4random_getentropy_fail.

Add a default implementation of _arc4random_getentropy_fail with an
internal error.

Update #3239.

  • Property mode set to 100644
File size: 516 bytes
Line 
1/*
2 * Copyright (c) 2017 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Dornierstr. 4
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.org/license/LICENSE.
13 */
14
15#include <machine/_arc4random.h>
16#include <rtems/score/interr.h>
17
18void _arc4random_getentropy_fail( void )
19{
20  _Internal_error( INTERNAL_ERROR_ARC4RANDOM_GETENTROPY_FAIL );
21}
Note: See TracBrowser for help on using the repository browser.