Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/qoriq/caam/caam_test.c
Show All 20 Lines | |||||
#include <dev/random/randomdev.h> | #include <dev/random/randomdev.h> | ||||
#include "caam.h" | #include "caam.h" | ||||
#include "caam_debug.h" | #include "caam_debug.h" | ||||
#include "caam_internal.h" | #include "caam_internal.h" | ||||
#include "caam_test.h" | #include "caam_test.h" | ||||
#include "jr/caam_jobdesc.h" | #include "jr/caam_jobdesc.h" | ||||
#include "jr/caam_jr_hw.h" | |||||
/* Reference to the CAAM device on witch to execute the tests. */ | /* Reference to the CAAM device on witch to execute the tests. */ | ||||
static device_t g_caam_dev; | static device_t g_caam_dev; | ||||
/* Utility static functions */ | /* Utility static functions */ | ||||
/* `borrowed` from sys/cam/ctl/ctl.c */ | /* `borrowed` from sys/cam/ctl/ctl.c */ | ||||
static int | static int | ||||
hex2bin(const char *str, uint8_t *buf, int buf_size) | hex2bin(const char *str, uint8_t *buf, int buf_size) | ||||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |