Botan
2.1.0
Crypto and TLS for C++11
Main Page
Namespaces
Classes
Files
File List
File Members
src
lib
utils
types.h
Go to the documentation of this file.
1
/*
2
* Low Level Types
3
* (C) 1999-2007 Jack Lloyd
4
* (C) 2015 Simon Warta (Kullo GmbH)
5
*
6
* Botan is released under the Simplified BSD License (see license.txt)
7
*/
8
9
#ifndef BOTAN_TYPES_H__
10
#define BOTAN_TYPES_H__
11
12
#include <botan/build.h>
13
#include <botan/assert.h>
14
#include <cstddef>
15
#include <cstdint>
16
#include <memory>
17
18
/**
19
* The primary namespace for the botan library
20
*/
21
namespace
Botan
{
22
23
using
std::uint8_t;
24
using
std::uint16_t;
25
using
std::uint32_t;
26
using
std::uint64_t;
27
using
std::int32_t;
28
using
std::int64_t;
29
using
std::size_t;
30
31
/*
32
* These typedefs are no longer used within the library headers
33
* or code. They are kept only for compatability with software
34
* written against older versions.
35
*/
36
using
byte
= std::uint8_t;
37
using
u16bit
= std::uint16_t;
38
using
u32bit
= std::uint32_t;
39
using
u64bit
= std::uint64_t;
40
using
s32bit
= std::int32_t;
41
42
/**
43
* A default buffer size; typically a memory page
44
*/
45
static
const
size_t
DEFAULT_BUFFERSIZE = BOTAN_DEFAULT_BUFFER_SIZE;
46
47
}
48
49
#endif
Botan::u16bit
std::uint16_t u16bit
Definition:
types.h:37
Botan::u32bit
std::uint32_t u32bit
Definition:
types.h:38
Botan::u64bit
std::uint64_t u64bit
Definition:
types.h:39
Botan::s32bit
std::int32_t s32bit
Definition:
types.h:40
Botan
Definition:
alg_id.cpp:13
Botan::byte
std::uint8_t byte
Definition:
types.h:36
Generated on Fri Aug 4 2017 19:29:39 for Botan by
1.8.9.1