| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |
#include <stdlib.h>#include <string.h>#include <doca_argp.h>#include <doca_error.h>#include <doca_dev.h>#include <doca_sha.h>#include <doca_log.h>#include <utils.h>
Go to the source code of this file.
Macros | |
| #define | MAX_USER_DATA_LEN 1024 /* max user data length */ |
| #define | MAX_DATA_LEN (MAX_USER_DATA_LEN + 1) /* max data length */ |
| #define | MIN_USER_DATA_LEN 1 /* min user data length */ |
Functions | |
| DOCA_LOG_REGISTER (SHA_CREATE::MAIN) | |
| doca_error_t | sha_create (char *src_buffer) |
| static doca_error_t | data_callback (void *param, void *config) |
| static doca_error_t | register_sha_params (void) |
| int | main (int argc, char **argv) |
| #define MAX_DATA_LEN (MAX_USER_DATA_LEN + 1) /* max data length */ |
Definition at line 40 of file sha_create_main.c.
| #define MAX_USER_DATA_LEN 1024 /* max user data length */ |
Definition at line 39 of file sha_create_main.c.
| #define MIN_USER_DATA_LEN 1 /* min user data length */ |
Definition at line 41 of file sha_create_main.c.
|
static |
Definition at line 53 of file sha_create_main.c.
| DOCA_LOG_REGISTER | ( | SHA_CREATE::MAIN | ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 103 of file sha_create_main.c.
|
static |
Definition at line 73 of file sha_create_main.c.
| doca_error_t sha_create | ( | char * | src_buffer | ) |
Definition at line 229 of file sha_create_sample.c.