lcx_groestl.h Previous Back to the files list GROESTL hash function. More... Data Structures struct hashState_s Hash state. More... struct cx_groestl_s Groestl context. More... Macros #define ROWS 8 #define COLS1024 16 #define SIZE1024 (ROWS * COLS1024) Typedefs typedef unsigned char BitSequence typedef struct hashState_s hashState typedef struct cx_groestl_s cx_groestl_t Convenience type. More... Functions cx_err_t cx_groestl_init_no_throw (cx_groestl_t *hash, size_t size) Initializes a GROESTL context. More... static int cx_groestl_init (cx_groestl_t *hash, unsigned int size) Initializes a GROESTL context. More... Detailed Description GROESTL hash function. Refer to GROESTL info for more details. Macro Definition Documentation COLS1024 #define COLS1024 16 ROWS #define ROWS 8 SIZE1024 #define SIZE1024 (ROWS * COLS1024) Typedef Documentation BitSequence typedef unsigned char BitSequence cx_groestl_t typedef struct cx_groestl_s cx_groestl_t Convenience type. hashState typedef struct hashState_s hashState Function Documentation cx_groestl_init() static int cx_groestl_init ( cx_groestl_t * hash, unsigned int size ) Initializes a GROESTL context. Throws an exception if the initialization fails. Parameters [out]hashPointer to the context to initialize. [in]sizeLength of the digest. ReturnsGROESTL identifier. Exceptions CX_INVALID_PARAMETER cx_groestl_init_no_throw() cx_err_t cx_groestl_init_no_throw ( cx_groestl_t * hash, size_t size ) Initializes a GROESTL context. Parameters [out]hashPointer to the context to init.ialize. [in]sizeLength of the digest. ReturnsError code: CX_OK on success CX_INVALID_PARAMETER 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.