NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
aes_gcm_encrypt_sample.c File Reference
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <doca_buf.h>
#include <doca_buf_inventory.h>
#include <doca_ctx.h>
#include <doca_aes_gcm.h>
#include <doca_error.h>
#include <doca_log.h>
#include "common.h"
#include "aes_gcm_common.h"
Include dependency graph for aes_gcm_encrypt_sample.c:

Go to the source code of this file.

Functions

 DOCA_LOG_REGISTER (AES_GCM_ENCRYPT)
 
doca_error_t aes_gcm_encrypt (struct aes_gcm_cfg *cfg, char *file_data, size_t file_size)
 

Function Documentation

◆ aes_gcm_encrypt()

doca_error_t aes_gcm_encrypt ( struct aes_gcm_cfg cfg,
char *  file_data,
size_t  file_size 
)

Definition at line 51 of file aes_gcm_encrypt_sample.c.

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( AES_GCM_ENCRYPT  )