Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nettle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitry Baryshkov
nettle
Commits
445cb2c9
Commit
445cb2c9
authored
26 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
* lsh_types.h: Moved definitions of UINT* to
include/crypto_types.h. Rev: src/symmetric/include/crypto_types.h:1.3
parent
e518d716
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/crypto_types.h
+35
-12
35 additions, 12 deletions
include/crypto_types.h
with
35 additions
and
12 deletions
include/crypto_types.h
+
35
−
12
View file @
445cb2c9
...
@@ -6,19 +6,42 @@
...
@@ -6,19 +6,42 @@
#define CRYPTO_TYPES_H_INCLUDED
#define CRYPTO_TYPES_H_INCLUDED
#ifdef PIKE
#ifdef PIKE
#include
"pike_types.h"
#
include "pike_types.h"
#include
"global.h"
#
include "global.h"
#define UINT32 unsigned INT32
#
define UINT32 unsigned INT32
#define UINT16 unsigned INT16
#
define UINT16 unsigned INT16
#define UINT8 unsigned INT8
#
define UINT8 unsigned INT8
#else
/* !PIKE */
#else
/* !PIKE */
#ifdef LSH
#include
"lsh_types.h"
# ifdef LSH
#else
/* !LSH */
# ifdef HAVE_CONFIG_H
#define UINT32 unsigned long
# include "config.h"
#define UINT16 unsigned short
# endif
#define UINT8 unsigned char
# if SIZEOF_SHORT >= 4
#endif
# define UINT32 unsigned short
# elif SIZEOF_INT >= 4
# define UINT32 unsigned int
# elif SIZEOF_LONG >= 4
# define UINT32 unsigned long
# else
# error Ledsen error
# endif
/* UINT32 */
# if SIZEOF_SHORT >= 2
# define UINT16 unsigned short
# elif SIZEOF_INT >= 2
# define UINT16 unsigned int
# else
# error Ledsen error
# endif
/* UINT16 */
# define UINT8 unsigned char
# else
/* !LSH */
# define UINT32 unsigned long
# define UINT16 unsigned short
# define UINT8 unsigned char
# endif
/* !PIKE */
#endif
#endif
#endif
/* CRYPTO_TYPES_H_INCLUDED */
#endif
/* CRYPTO_TYPES_H_INCLUDED */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment