Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
sol-message-digest.h File Reference

These routines are used to calculate message digest. More...

#include <stdbool.h>
#include <stdint.h>
#include <sol-common-buildopts.h>
#include <sol-types.h>
#include <sol-str-slice.h>

Go to the source code of this file.

Data Structures

struct  sol_message_digest_config
 The message digest configuration to use when creating a new handle. More...
 

Macros

#define SOL_MESSAGE_DIGEST_CONFIG_API_VERSION   (1)
 

Typedefs

typedef struct sol_message_digest sol_message_digest
 A handle for a message digest. More...
 
typedef struct
sol_message_digest_config 
sol_message_digest_config
 The message digest configuration to use when creating a new handle. More...
 

Functions

void sol_message_digest_del (struct sol_message_digest *handle)
 Delete a message digest handle. More...
 
int sol_message_digest_feed (struct sol_message_digest *handle, struct sol_blob *input, bool is_last)
 Feed message (data) to be digested (hashed). More...
 
struct sol_message_digestsol_message_digest_new (const struct sol_message_digest_config *config)
 Create a new handle to feed the message to digest. More...
 

Detailed Description

These routines are used to calculate message digest.

Macro Definition Documentation

#define SOL_MESSAGE_DIGEST_CONFIG_API_VERSION   (1)