netxduo
NX_CRYPTO_HMAC
is only used within netxduo.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
netxduo
NX_CRYPTO_HMAC
NX_CRYPTO_HMAC struct
Syntax
Show:
Summary
Declaration
from
nx_crypto_hmac.h:69
typedef
struct
NX_CRYPTO_HMAC_STRUCT
{
VOID
*
context
;
UCHAR
k_ipad
[
NX_CRYPTO_HMAC_MAX_PAD_SIZE
]
;
UCHAR
k_opad
[
NX_CRYPTO_HMAC_MAX_PAD_SIZE
]
;
UINT
algorithm
;
UINT
block_size
;
UINT
output_length
;
UINT
(
*
crypto_initialize
)
(
VOID
*
,
UINT
)
;
UINT
(
*
crypto_update
)
(
VOID
*
,
UCHAR
*
,
UINT
)
;
UINT
(
*
crypto_digest_calculate
)
(
VOID
*
,
UCHAR
*
,
UINT
)
;
NX_CRYPTO_METHOD
*
hash_method
;
VOID
*
hash_context
;
}
NX_CRYPTO_HMAC
;
Fields
Field
Declared as
NX_CRYPTO_HMAC_STRUCT::context
VOID
*
NX_CRYPTO_HMAC_STRUCT::k_ipad
UCHAR
[
NX_CRYPTO_HMAC_MAX_PAD_SIZE
]
NX_CRYPTO_HMAC_STRUCT::k_opad
UCHAR
[
NX_CRYPTO_HMAC_MAX_PAD_SIZE
]
NX_CRYPTO_HMAC_STRUCT::algorithm
UINT
NX_CRYPTO_HMAC_STRUCT::block_size
UINT
NX_CRYPTO_HMAC_STRUCT::output_length
UINT
NX_CRYPTO_HMAC_STRUCT::crypto_initialize
UINT
(
*
)
(
VOID
*
,
UINT
)
NX_CRYPTO_HMAC_STRUCT::crypto_update
UINT
(
*
)
(
VOID
*
,
UCHAR
*
,
UINT
)
NX_CRYPTO_HMAC_STRUCT::crypto_digest_calculate
UINT
(
*
)
(
VOID
*
,
UCHAR
*
,
UINT
)
NX_CRYPTO_HMAC_STRUCT::hash_method
NX_CRYPTO_METHOD
*
NX_CRYPTO_HMAC_STRUCT::hash_context
VOID
*
Related Functions
Found 5 other functions taking a
NX_CRYPTO_HMAC_STRUCT
argument:
Function
_nx_crypto_hmac_initialize()
_nx_crypto_hmac_update()
_nx_crypto_hmac_digest_calculate()
_nx_crypto_hmac()
_nx_crypto_hmac_metadata_set()
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
NX_CRYPTO_HMAC_STRUCT
nx_crypto_hmac.h:69
}
NX_CRYPTO_HMAC
;
nx_crypto_hmac.h:82
NX_CRYPTO_KEEP
UINT
_nx_crypto_hmac
(
NX_CRYPTO_HMAC
*
hmac_metadata
,
nx_crypto_hmac.c:75
_nx_crypto_hmac()
NX_CRYPTO_KEEP
UINT
_nx_crypto_hmac_initialize
(
NX_CRYPTO_HMAC
*
hmac_metadata
,
UCHAR
*
key_ptr
,
UINT
key_length
)
nx_crypto_hmac.c:141
_nx_crypto_hmac_initialize()
NX_CRYPTO_KEEP
UINT
_nx_crypto_hmac_update
(
NX_CRYPTO_HMAC
*
hmac_metadata
,
UCHAR
*
input_ptr
,
UINT
input_length
)
nx_crypto_hmac.c:243
_nx_crypto_hmac_update()
NX_CRYPTO_KEEP
UINT
_nx_crypto_hmac_digest_calculate
(
NX_CRYPTO_HMAC
*
hmac_metadata
,
UCHAR
*
digest_ptr
,
UINT
digest_length
)
nx_crypto_hmac.c:299
_nx_crypto_hmac_digest_calculate()
NX_CRYPTO_KEEP
VOID
_nx_crypto_hmac_metadata_set
(
NX_CRYPTO_HMAC
*
hmac_metadata
,
nx_crypto_hmac.c:379
_nx_crypto_hmac_metadata_set()
_nx_crypto_hmac_metadata_set()::hmac_metadata
NX_CRYPTO_HMAC
*
hmac
;
nx_crypto_hmac.c:439
_nx_crypto_hmac_hash_initialize()
hmac
=
(
NX_CRYPTO_HMAC
*
)
context
;
nx_crypto_hmac.c:447
_nx_crypto_hmac_hash_initialize()
NX_CRYPTO_HMAC
*
hmac
;
nx_crypto_hmac.c:517
_nx_crypto_hmac_hash_update()
hmac
=
(
NX_CRYPTO_HMAC
*
)
context
;
nx_crypto_hmac.c:523
_nx_crypto_hmac_hash_update()
NX_CRYPTO_HMAC
*
hmac
;
nx_crypto_hmac.c:593
_nx_crypto_hmac_hash_digest_calculate()
hmac
=
(
NX_CRYPTO_HMAC
*
)
context
;
nx_crypto_hmac.c:601
_nx_crypto_hmac_hash_digest_calculate()
if
(
crypto_metadata_size
<
sizeof
(
NX_CRYPTO_HMAC
)
)
nx_crypto_hmac.c:697
_nx_crypto_method_hmac_init()
NX_CRYPTO_HMAC
*
hmac
;
nx_crypto_hmac.c:841
_nx_crypto_method_hmac_operation()
if
(
crypto_metadata_size
<
sizeof
(
NX_CRYPTO_HMAC
)
)
nx_crypto_hmac.c:857
_nx_crypto_method_hmac_operation()
hmac
=
(
NX_CRYPTO_HMAC
*
)
(
crypto_metadata
)
;
nx_crypto_hmac.c:863
_nx_crypto_method_hmac_operation()
hmac
->
hash_context
=
(
(
UCHAR
*
)
(
crypto_metadata
)
)
+
sizeof
(
NX_CRYPTO_HMAC
)
;
nx_crypto_hmac.c:867
_nx_crypto_method_hmac_operation()
}
NX_CRYPTO_HMAC
;
nx_crypto_hmac.h:82
NX_CRYPTO_HMAC
UINT
_nx_crypto_hmac
(
NX_CRYPTO_HMAC
*
crypto_matadata
,
nx_crypto_hmac.h:84
_nx_crypto_hmac()
_nx_crypto_hmac()::crypto_matadata
UINT
_nx_crypto_hmac_initialize
(
NX_CRYPTO_HMAC
*
crypto_matadata
,
UCHAR
*
key_ptr
,
UINT
key_length
)
;
nx_crypto_hmac.h:89
_nx_crypto_hmac_initialize()
_nx_crypto_hmac_initialize()::crypto_matadata
UINT
_nx_crypto_hmac_update
(
NX_CRYPTO_HMAC
*
crypto_matadata
,
UCHAR
*
input_ptr
,
UINT
input_length
)
;
nx_crypto_hmac.h:91
_nx_crypto_hmac_update()
_nx_crypto_hmac_update()::crypto_matadata
UINT
_nx_crypto_hmac_digest_calculate
(
NX_CRYPTO_HMAC
*
crypto_matadata
,
UCHAR
*
digest_ptr
,
UINT
digest_length
)
;
nx_crypto_hmac.h:93
_nx_crypto_hmac_digest_calculate()
_nx_crypto_hmac_digest_calculate()::crypto_matadata
VOID
_nx_crypto_hmac_metadata_set
(
NX_CRYPTO_HMAC
*
hmac_metadata
,
nx_crypto_hmac.h:95
_nx_crypto_hmac_metadata_set()
_nx_crypto_hmac_metadata_set()::hmac_metadata
NX_CRYPTO_HMAC
*
hmac_metadata
;
nx_crypto_hmac_md5.c:236
_nx_crypto_method_hmac_md5_operation()
NX_CRYPTO_HMAC
nx_md5_hmac_metadata
;
nx_crypto_hmac_md5.h:81
NX_CRYPTO_MD5_HMAC_STRUCT
NX_CRYPTO_MD5_HMAC_STRUCT::nx_md5_hmac_metadata
NX_CRYPTO_HMAC
*
hmac_metadata
;
nx_crypto_hmac_sha1.c:235
_nx_crypto_method_hmac_sha1_operation()
NX_CRYPTO_HMAC
nx_sha1_hmac_metadata
;
nx_crypto_hmac_sha1.h:81
NX_CRYPTO_SHA1_HMAC_STRUCT
NX_CRYPTO_SHA1_HMAC_STRUCT::nx_sha1_hmac_metadata
NX_CRYPTO_HMAC
*
hmac_metadata
;
nx_crypto_hmac_sha2.c:236
_nx_crypto_method_hmac_sha256_operation()
NX_CRYPTO_HMAC
nx_sha256_hmac_metadata
;
nx_crypto_hmac_sha2.h:83
NX_CRYPTO_SHA256_HMAC_STRUCT
NX_CRYPTO_SHA256_HMAC_STRUCT::nx_sha256_hmac_metadata
NX_CRYPTO_HMAC
*
hmac_metadata
;
nx_crypto_hmac_sha5.c:236
_nx_crypto_method_hmac_sha512_operation()
NX_CRYPTO_HMAC
nx_sha512_hmac_metadata
;
nx_crypto_hmac_sha5.h:83
NX_CRYPTO_SHA512_HMAC_STRUCT
NX_CRYPTO_SHA512_HMAC_STRUCT::nx_sha512_hmac_metadata
sizeof
(
NX_CRYPTO_HMAC
)
,
/* Metadata size in bytes */
nx_crypto_methods.c:714
sizeof
(
NX_CRYPTO_HKDF
)
+
sizeof
(
NX_CRYPTO_HMAC
)
,
/* Metadata size in bytes */
nx_crypto_methods.c:729
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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
Instance
Scope
Location
Project
_nx_crypto_hmac()::crypto_matadata
_nx_crypto_hmac()
nx_crypto_hmac.h:84
_nx_crypto_hmac_initialize()::crypto_matadata
_nx_crypto_hmac_initialize()
nx_crypto_hmac.h:89
_nx_crypto_hmac_update()::crypto_matadata
_nx_crypto_hmac_update()
nx_crypto_hmac.h:91
_nx_crypto_hmac_digest_calculate()::crypto_matadata
_nx_crypto_hmac_digest_calculate()
nx_crypto_hmac.h:93
_nx_crypto_hmac_metadata_set()::hmac_metadata
_nx_crypto_hmac_metadata_set()
nx_crypto_hmac.h:95
NX_CRYPTO_SHA512_HMAC_STRUCT::nx_sha512_hmac_metadata
NX_CRYPTO_SHA512_HMAC_STRUCT
nx_crypto_hmac_sha5.h:83
_nx_crypto_hmac_metadata_set()::hmac_metadata
_nx_crypto_hmac_metadata_set()
nx_crypto_hmac.c:379
NX_CRYPTO_MD5_HMAC_STRUCT::nx_md5_hmac_metadata
NX_CRYPTO_MD5_HMAC_STRUCT
nx_crypto_hmac_md5.h:81
NX_CRYPTO_SHA1_HMAC_STRUCT::nx_sha1_hmac_metadata
NX_CRYPTO_SHA1_HMAC_STRUCT
nx_crypto_hmac_sha1.h:81
NX_CRYPTO_SHA256_HMAC_STRUCT::nx_sha256_hmac_metadata
NX_CRYPTO_SHA256_HMAC_STRUCT
nx_crypto_hmac_sha2.h:83
Lifecycle
from
examples
All items filtered out
All items filtered out