mbedTLS
mbedtls_xor()
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
mbedtls_xor()
mbedtls_xor() function
Syntax
Show:
Summary
Declaration
from
common.h:165
__attribute__
(
(
always_inline
)
)
#endif
static
inline
void
mbedtls_xor
(
unsigned
char
*
r
,
const
unsigned
char
*
a
,
const
unsigned
char
*
b
,
size_t
n
)
;
Arguments
Argument
Declared as
r
unsigned
char
*
a
const
unsigned
char
*
b
const
unsigned
char
*
n
size_t
Examples
References
from
examples
Code
Location
Referrer
static
inline
void
mbedtls_xor
(
unsigned
char
*
r
,
common.h:186
mbedtls_xor
(
tmp
,
input
,
tweak
,
16
)
;
aes.c:1235
mbedtls_aes_crypt_xts()
mbedtls_xor
(
output
,
tmp
,
tweak
,
16
)
;
aes.c:1242
mbedtls_aes_crypt_xts()
mbedtls_xor
(
tmp
,
input
,
t
,
leftover
)
;
aes.c:1268
mbedtls_aes_crypt_xts()
mbedtls_xor
(
tmp
+
i
,
prev_output
+
i
,
t
+
i
,
16
-
i
)
;
aes.c:1272
mbedtls_aes_crypt_xts()
mbedtls_xor
(
prev_output
,
tmp
,
t
,
16
)
;
aes.c:1281
mbedtls_aes_crypt_xts()
mbedtls_xor
(
&
output
[
i
]
,
&
input
[
i
]
,
&
stream_block
[
offset
]
,
n
)
;
aes.c:1468
mbedtls_aes_crypt_ctr()
mbedtls_xor
(
output
,
output
,
iv
,
MBEDTLS_ARIA_BLOCKSIZE
)
;
aria.c:534
mbedtls_aria_crypt_cbc()
mbedtls_xor
(
output
,
input
,
iv
,
MBEDTLS_ARIA_BLOCKSIZE
)
;
aria.c:544
mbedtls_aria_crypt_cbc()
mbedtls_xor
(
output
,
input
,
tmp_buf
+
offset
,
use_len
)
;
ccm.c:143
mbedtls_ccm_crypt()
mbedtls_xor
(
ctx
->
y
+
offset
,
ctx
->
y
+
offset
,
add
,
use_len
)
;
ccm.c:330
mbedtls_ccm_update_ad()
mbedtls_xor
(
ctx
->
y
+
offset
,
ctx
->
y
+
offset
,
input
,
use_len
)
;
ccm.c:403
mbedtls_ccm_update()
mbedtls_xor
(
ctx
->
y
+
offset
,
ctx
->
y
+
offset
,
local_output
,
use_len
)
;
ccm.c:436
mbedtls_ccm_update()
mbedtls_xor
(
M_last
,
M_last
,
K2
,
block_size
)
;
cmac.c:298
mbedtls_cipher_cmac_finish()
mbedtls_xor
(
M_last
,
last_block
,
K1
,
block_size
)
;
cmac.c:301
mbedtls_cipher_cmac_finish()
mbedtls_xor
(
state
,
M_last
,
state
,
block_size
)
;
cmac.c:305
mbedtls_cipher_cmac_finish()
mbedtls_xor
(
chain
,
chain
,
p
,
MBEDTLS_CTR_DRBG_BLOCKSIZE
)
;
ctr_drbg.c:236
block_cipher_df()
mbedtls_xor
(
tmp
,
tmp
,
data
,
MBEDTLS_CTR_DRBG_SEEDLEN
)
;
ctr_drbg.c:372
ctr_drbg_update_internal()
mbedtls_xor
(
ctx
->
y
,
ctx
->
y
,
p
,
use_len
)
;
gcm.c:446
mbedtls_gcm_starts_soft()
mbedtls_xor
(
ctx
->
y
,
ctx
->
y
,
work_buf
,
16
)
;
gcm.c:458
mbedtls_gcm_starts_soft()
mbedtls_xor
(
ctx
->
buf
+
offset
,
ctx
->
buf
+
offset
,
p
,
use_len
)
;
gcm.c:521
mbedtls_gcm_update_ad_soft()
mbedtls_xor
(
ctx
->
buf
,
ctx
->
buf
,
p
,
16
)
;
gcm.c:535
mbedtls_gcm_update_ad_soft()
mbedtls_xor
(
ctx
->
buf
,
ctx
->
buf
,
p
,
add_len
)
;
gcm.c:544
mbedtls_gcm_update_ad_soft()
mbedtls_xor
(
ctx
->
buf
+
offset
,
ctx
->
buf
+
offset
,
input
,
use_len
)
;
gcm.c:580
gcm_mask()
mbedtls_xor
(
output
,
ectr
+
offset
,
input
,
use_len
)
;
gcm.c:582
gcm_mask()
mbedtls_xor
(
ctx
->
buf
+
offset
,
ctx
->
buf
+
offset
,
output
,
use_len
)
;
gcm.c:584
gcm_mask()
mbedtls_xor
(
ctx
->
buf
,
ctx
->
buf
,
work_buf
,
16
)
;
gcm.c:719
mbedtls_gcm_finish_soft()
mbedtls_xor
(
tag
,
tag
,
ctx
->
buf
,
tag_len
)
;
gcm.c:723
mbedtls_gcm_finish_soft()
mbedtls_xor
(
ipad
,
ipad
,
key
,
keylen
)
;
md.c:1000
mbedtls_md_hmac_starts()
mbedtls_xor
(
opad
,
opad
,
key
,
keylen
)
;
md.c:1001
mbedtls_md_hmac_starts()
mbedtls_xor
(
work
,
work
,
md1
,
md_size
)
;
pkcs5.c:333
pkcs5_pbkdf2_hmac()
mbedtls_xor
(
dst_iv
,
dst_iv
,
dynamic_iv
,
dynamic_iv_len
)
;
ssl_msg.c:897
ssl_build_record_nonce()
Call Tree
from
examples
mbedtls_xor()
is called by 19 functions:
mbedtls_aes_crypt_xts()
mbedtls_aes_crypt_ctr()
mbedtls_aria_crypt_cbc()
mbedtls_ccm_crypt()
mbedtls_ccm_update_ad()
mbedtls_ccm_update()
mbedtls_cipher_cmac_finish()
block_cipher_df()
ctr_drbg_update_internal()
mbedtls_gcm_starts_soft()
mbedtls_gcm_starts()
mbedtls_gcm_update_ad_soft()
mbedtls_gcm_update_ad()
gcm_mask()
mbedtls_gcm_finish_soft()
mbedtls_gcm_finish()
mbedtls_md_hmac_starts()
pkcs5_pbkdf2_hmac()
ssl_build_record_nonce()
All items filtered out
mbedtls_xor()
All items filtered out
Data Use
from
examples
mbedtls_xor()
:
All items filtered out
mbedtls_xor()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out