cx_hash_info_t Previous 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. Previous Back to the files list Did you find this page helpful? How would you improve this page for developers? I am a developer. Contributors will be chosen randomly to receive rewards. Check this box to send your email and participate. Ledger collects your email address to send you rewards for your contribution to improve the Developer Portal documentation. Learn more about how we manage your data and your rights. By providing your email address, you consent that Ledger may contact you for rewards delivery purposes. If you are part of the randomly selected contributors, we will send you an email to ask for your physical address and if necessary, ask you for additional information on the suggestion you made. Your information will only be available to Ledger and will be retained for no longer than 90 days. It may be transferred to non-European countries that ensure an adequate level of protection or under the standard contractual clauses adopted by the EU Commission. Please note that you may withdraw your consent at any time, access your data and request their rectification or deletion. You may also request the limitation of the processing of your data. To exercise your rights or for any question on the processing of your data, please contact LEDGER’s Data Protection Officer here. If nevertheless you believe LEDGER did not adequately address your concerns and mishandled your data, you may lodge a complaint with the personal data protection authority of your country.