cx_hash_info_t | Developers

cx_hash_info_t

Back to the files list

Hash description. More...

Data Fields

cx_md_t md_type
 Message digest algorithm identifier. More...
size_t output_size
 Output size. More...
size_t block_size
 Block size. More...
cx_err_t(* init_func )(cx_hash_t *ctx)
 Pointer to the initialization function. More...
cx_err_t(* update_func )(cx_hash_t *ctx, const uint8_t *data, size_t len)
 Pointer to the update function. More...
cx_err_t(* finish_func )(cx_hash_t *ctx, uint8_t *digest)
 Pointer to the final function. More...
cx_err_t(* init_ex_func )(cx_hash_t *ctx, size_t output_size)
 Pointer to the initialization function for extendable output. More...
size_t(* output_size_func )(const cx_hash_t *ctx)
 Pointer to the output size function. More...

Detailed Description

Hash description.

Field Documentation

block_size

size_t block_size

Block size.

finish_func

cx_err_t(* finish_func) (cx_hash_t *ctx, uint8_t *digest)

Pointer to the final function.

init_ex_func

cx_err_t(* init_ex_func) (cx_hash_t *ctx, size_t output_size)

Pointer to the initialization function for extendable output.

init_func

cx_err_t(* init_func) (cx_hash_t *ctx)

Pointer to the initialization function.

md_type

cx_md_t md_type

Message digest algorithm identifier.

output_size

size_t output_size

Output size.

output_size_func

size_t(* output_size_func) (const cx_hash_t *ctx)

Pointer to the output size function.

update_func

cx_err_t(* update_func) (cx_hash_t *ctx, const uint8_t *data, size_t len)

Pointer to the update function.

Back to the files list


Did you find this page helpful?


How would you improve this page for developers?



Getting Started
Theme Features
Customization

Nano Apps