aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak/internal.h
blob: 3e45c153fb5d34f5cafb3e392ce14e97e34185de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* See LICENSE file for copyright and license details. */
#ifndef LIBKECCAK_INTERNAL_H
#define LIBKECCAK_INTERNAL_H 1


/* Use built in functions and branching optimisation if available */
#ifndef __GNUC__
# define __builtin_expect(expression, expect) expression
# define __builtin_memset(dest, c, n) memset(dest, c, n)
# define __builtin_memcpy(dest, src, n) memcpy(dest, src, n)
# define __builtin_memmove(dest, src, n) memmove(dest, src, n)
#endif


#endif