netxduo
NX_CRYPTO_SHA512_STRUCT::nx_sha512_bit_count
is only used within netxduo.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
netxduo
NX_CRYPTO_SHA512_STRUCT::nx_sha512_bit_count
NX_CRYPTO_SHA512_STRUCT::nx_sha512_bit_count field
Syntax
from
nx_crypto_sha5.h:90
ULONG64
nx_sha512_bit_count
[
2
]
;
References
Location
Referrer
Text
nx_crypto_sha5.h:90
ULONG64
nx_sha512_bit_count
[
2
]
;
/* Contains the 128-bit total bit */
nx_crypto_sha5.c:127
_nx_crypto_sha512_initialize()
context
->
nx_sha512_bit_count
[
0
]
=
0
;
/* Clear the lower 64-bits of the count.*/
nx_crypto_sha5.c:128
_nx_crypto_sha512_initialize()
context
->
nx_sha512_bit_count
[
1
]
=
0
;
/* Clear the upper 64-bits of the count.*/
nx_crypto_sha5.c:256
_nx_crypto_sha512_update()
current_bytes
=
(
context
->
nx_sha512_bit_count
[
0
]
>
>
3
)
&
0x7F
;
nx_crypto_sha5.c:262
_nx_crypto_sha512_update()
context
->
nx_sha512_bit_count
[
0
]
+=
(
input_length
<
<
3
)
;
nx_crypto_sha5.c:265
_nx_crypto_sha512_update()
if
(
context
->
nx_sha512_bit_count
[
0
]
<
(
input_length
<
<
3
)
)
nx_crypto_sha5.c:269
_nx_crypto_sha512_update()
context
->
nx_sha512_bit_count
[
1
]
++
;
nx_crypto_sha5.c:273
_nx_crypto_sha512_update()
context
->
nx_sha512_bit_count
[
1
]
+=
(
input_length
>
>
29
)
;
nx_crypto_sha5.c:375
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
0
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
1
]
>
>
56
)
;
nx_crypto_sha5.c:376
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
1
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
1
]
>
>
48
)
;
nx_crypto_sha5.c:377
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
2
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
1
]
>
>
40
)
;
nx_crypto_sha5.c:378
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
3
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
1
]
>
>
32
)
;
nx_crypto_sha5.c:379
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
4
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
1
]
>
>
24
)
;
nx_crypto_sha5.c:380
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
5
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
1
]
>
>
16
)
;
nx_crypto_sha5.c:381
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
6
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
1
]
>
>
8
)
;
nx_crypto_sha5.c:382
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
7
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
1
]
)
;
nx_crypto_sha5.c:383
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
8
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
0
]
>
>
56
)
;
nx_crypto_sha5.c:384
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
9
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
0
]
>
>
48
)
;
nx_crypto_sha5.c:385
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
10
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
0
]
>
>
40
)
;
nx_crypto_sha5.c:386
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
11
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
0
]
>
>
32
)
;
nx_crypto_sha5.c:387
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
12
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
0
]
>
>
24
)
;
nx_crypto_sha5.c:388
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
13
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
0
]
>
>
16
)
;
nx_crypto_sha5.c:389
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
14
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
0
]
>
>
8
)
;
nx_crypto_sha5.c:390
_nx_crypto_sha512_digest_calculate()
bit_count_string
[
15
]
=
(
UCHAR
)
(
context
->
nx_sha512_bit_count
[
0
]
)
;
nx_crypto_sha5.c:393
_nx_crypto_sha512_digest_calculate()
current_byte_count
=
(
context
->
nx_sha512_bit_count
[
0
]
>
>
3
)
&
0x7F
;
Data Use
Functions reading
NX_CRYPTO_SHA512_STRUCT::nx_sha512_bit_count
NX_CRYPTO_SHA512_STRUCT::nx_sha512_bit_count
_nx_crypto_sha512_initialize()
_nx_crypto_sha512_update()
_nx_crypto_sha512_digest_calculate()
all items filtered out
Type of
NX_CRYPTO_SHA512_STRUCT::nx_sha512_bit_count
NX_CRYPTO_SHA512_STRUCT::nx_sha512_bit_count
ULONG64
all items filtered out