ReactOS
0.4.16-dev-927-g467dec4
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
aesni.h
Go to the documentation of this file.
1
9
/*
10
* Copyright The Mbed TLS Contributors
11
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
12
*
13
* This file is provided under the Apache License 2.0, or the
14
* GNU General Public License v2.0 or later.
15
*
16
* **********
17
* Apache License 2.0:
18
*
19
* Licensed under the Apache License, Version 2.0 (the "License"); you may
20
* not use this file except in compliance with the License.
21
* You may obtain a copy of the License at
22
*
23
* http://www.apache.org/licenses/LICENSE-2.0
24
*
25
* Unless required by applicable law or agreed to in writing, software
26
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
27
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
28
* See the License for the specific language governing permissions and
29
* limitations under the License.
30
*
31
* **********
32
*
33
* **********
34
* GNU General Public License v2.0 or later:
35
*
36
* This program is free software; you can redistribute it and/or modify
37
* it under the terms of the GNU General Public License as published by
38
* the Free Software Foundation; either version 2 of the License, or
39
* (at your option) any later version.
40
*
41
* This program is distributed in the hope that it will be useful,
42
* but WITHOUT ANY WARRANTY; without even the implied warranty of
43
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44
* GNU General Public License for more details.
45
*
46
* You should have received a copy of the GNU General Public License along
47
* with this program; if not, write to the Free Software Foundation, Inc.,
48
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
49
*
50
* **********
51
*/
52
#ifndef MBEDTLS_AESNI_H
53
#define MBEDTLS_AESNI_H
54
55
#if !defined(MBEDTLS_CONFIG_FILE)
56
#include "
config.h
"
57
#else
58
#include MBEDTLS_CONFIG_FILE
59
#endif
60
61
#include "
aes.h
"
62
63
#define MBEDTLS_AESNI_AES 0x02000000u
64
#define MBEDTLS_AESNI_CLMUL 0x00000002u
65
66
#if defined(MBEDTLS_HAVE_ASM) && defined(__GNUC__) && \
67
( defined(__amd64__) || defined(__x86_64__) ) && \
68
! defined(MBEDTLS_HAVE_X86_64)
69
#define MBEDTLS_HAVE_X86_64
70
#endif
71
72
#if defined(MBEDTLS_HAVE_X86_64)
73
74
#ifdef __cplusplus
75
extern
"C"
{
76
#endif
77
89
int
mbedtls_aesni_has_support(
unsigned
int
what );
90
104
int
mbedtls_aesni_crypt_ecb(
mbedtls_aes_context
*
ctx
,
105
int
mode
,
106
const
unsigned
char
input
[16],
107
unsigned
char
output[16] );
108
122
void
mbedtls_aesni_gcm_mult(
unsigned
char
c
[16],
123
const
unsigned
char
a
[16],
124
const
unsigned
char
b
[16] );
125
137
void
mbedtls_aesni_inverse_key(
unsigned
char
*invkey,
138
const
unsigned
char
*fwdkey,
139
int
nr
);
140
153
int
mbedtls_aesni_setkey_enc(
unsigned
char
*rk,
154
const
unsigned
char
*
key
,
155
size_t
bits
);
156
157
#ifdef __cplusplus
158
}
159
#endif
160
161
#endif
/* MBEDTLS_HAVE_X86_64 */
162
163
#endif
/* MBEDTLS_AESNI_H */
aes.h
This file contains AES definitions and functions.
c
const GLubyte * c
Definition:
glext.h:8905
b
GLboolean GLboolean GLboolean b
Definition:
glext.h:6204
mode
GLenum mode
Definition:
glext.h:6217
bits
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
Definition:
glext.h:10929
a
GLboolean GLboolean GLboolean GLboolean a
Definition:
glext.h:6204
input
GLenum GLenum GLenum input
Definition:
glext.h:9031
nr
ULONG nr
Definition:
thread.c:7
config.h
key
Definition:
copy.c:22
mbedtls_aes_context
The AES context-type definition.
Definition:
aes.h:113
ctx
Definition:
dbghelp_private.h:571
sdk
include
reactos
libs
mbedtls
aesni.h
Generated on Sun Mar 30 2025 06:13:09 for ReactOS by
1.9.6