XenevaOS
Loading...
Searching...
No Matches
XenevaOS
Ports
mbedtls
library
psa_crypto_core_common.h
Go to the documentation of this file.
1
6
/*
7
* Copyright The Mbed TLS Contributors
8
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
9
*/
10
11
#ifndef PSA_CRYPTO_CORE_COMMON_H
12
#define PSA_CRYPTO_CORE_COMMON_H
13
29
static
inline
unsigned
char
*psa_crypto_buffer_offset(
30
unsigned
char
*p,
size_t
n)
31
{
32
return
p ==
NULL
?
NULL
: p + n;
33
}
34
46
static
inline
const
unsigned
char
*psa_crypto_buffer_offset_const(
47
const
unsigned
char
*p,
size_t
n)
48
{
49
return
p ==
NULL
?
NULL
: p + n;
50
}
51
52
#endif
/* PSA_CRYPTO_CORE_COMMON_H */
NULL
#define NULL
Definition
actypes.h:561
Generated by
1.9.8