lcx_ripemd160.h | Developers

lcx_ripemd160.h

Back to the files list

RIPEMD-160 hash function. More...

Data Structures

struct  cx_ripemd160_s
 RIPEMD-160 context. More...

Macros

#define CX_RIPEMD160_SIZE   20
 RIPEMD160 message digest size. More...

Typedefs

typedef struct cx_ripemd160_s cx_ripemd160_t
 Convenience type. More...

Functions

cx_err_t cx_ripemd160_init_no_throw (cx_ripemd160_t *hash)
 Initializes a RIPEMD-160 context. More...
static int cx_ripemd160_init (cx_ripemd160_t *hash)
 Initializes a RIPEMD-160 context. More...

Detailed Description

RIPEMD-160 hash function.

RIPEMD-160 is a 160-bit cryptographic hash function. Refer to RIPEMD-160 for more details.

Macro Definition Documentation

CX_RIPEMD160_SIZE

#define CX_RIPEMD160_SIZE   20

RIPEMD160 message digest size.

Typedef Documentation

cx_ripemd160_t

Convenience type.

See cx_ripemd160_s.

Function Documentation

cx_ripemd160_init()

static int cx_ripemd160_init ( cx_ripemd160_t hash)

Initializes a RIPEMD-160 context.

Parameters
[out]hashPointer to the context. The context shall be in RAM.
Returns
RIPEMD160 identifier.

cx_ripemd160_init_no_throw()

cx_err_t cx_ripemd160_init_no_throw ( cx_ripemd160_t hash)

Initializes a RIPEMD-160 context.

Parameters
[out]hashPointer to the context. The context shall be in RAM.
Returns
Error code:
  • CX_OK on success

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