Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 13 of 13) sorted by relevance

/hal_adi-latest/MAX/Libraries/PeriphDrivers/Source/TPU/
Dtpu_reva.c449 int MXC_TPU_RevA_Hash_SHA(mxc_tpu_reva_regs_t *tpu, const char *msg, mxc_tpu_hashfunsel_t fun, in MXC_TPU_RevA_Hash_SHA() argument
458 if (msg == NULL || digest == NULL) { in MXC_TPU_RevA_Hash_SHA()
489 tpu->data_in[0] = (uint32_t)(msg[word + i]) | ((uint32_t)(msg[word + 1 + i]) << 8) | in MXC_TPU_RevA_Hash_SHA()
490 ((uint32_t)(msg[word + 2 + i]) << 16) | in MXC_TPU_RevA_Hash_SHA()
491 ((uint32_t)(msg[word + 3 + i]) << 24); in MXC_TPU_RevA_Hash_SHA()
507 tpu->data_in[0] = (uint32_t)(msg[word + i]) + in MXC_TPU_RevA_Hash_SHA()
508 ((uint32_t)(msg[word + 1 + i]) << 8) + in MXC_TPU_RevA_Hash_SHA()
509 ((uint32_t)(msg[word + 2 + i]) << 16) + in MXC_TPU_RevA_Hash_SHA()
510 ((uint32_t)(msg[word + 3 + i]) << 24); in MXC_TPU_RevA_Hash_SHA()
512 tpu->data_in[0] = msg[word + i]; in MXC_TPU_RevA_Hash_SHA()
[all …]
Dtpu_me10.c258 int MXC_TPU_Hash_SHA(const char *msg, mxc_tpu_hashfunsel_t fun, unsigned int byteLen, char *digest) in MXC_TPU_Hash_SHA() argument
260 return MXC_TPU_RevA_Hash_SHA((mxc_tpu_reva_regs_t *)MXC_TPU, msg, fun, byteLen, digest); in MXC_TPU_Hash_SHA()
Dtpu_me14.c268 int MXC_TPU_Hash_SHA(const char *msg, mxc_tpu_hashfunsel_t fun, unsigned int byteLen, char *digest) in MXC_TPU_Hash_SHA() argument
270 return MXC_TPU_RevA_Hash_SHA((mxc_tpu_reva_regs_t *)MXC_TPU, msg, fun, byteLen, digest); in MXC_TPU_Hash_SHA()
Dtpu_reva.h141 int MXC_TPU_RevA_Hash_SHA(mxc_tpu_reva_regs_t *tpu, const char *msg, mxc_tpu_hashfunsel_t fun,
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Include/MAX32650/
Dtpu.h372 int MXC_TPU_Hash_SHA(const char *msg, mxc_tpu_hashfunsel_t fun, unsigned int byteLen, char *digest);
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Include/MAX32665/
Dtpu.h377 int MXC_TPU_Hash_SHA(const char *msg, mxc_tpu_hashfunsel_t fun, unsigned int byteLen, char *digest);
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Source/CTB/
Dctb_reva.c811 if (!(req->msg && req->hash)) { in MXC_CTB_RevA_Hash_Compute()
834 dma_req.sourceBuffer = req->msg; in MXC_CTB_RevA_Hash_Compute()
882 MXC_ASSERT(req->msg && req->hash && req->callback); in MXC_CTB_RevA_Hash_ComputeAsync()
908 dma_req.sourceBuffer = req->msg; in MXC_CTB_RevA_Hash_ComputeAsync()
Dctb_reva.h85 uint8_t *msg; member
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Include/MAX32572/
Dctb.h139 uint8_t *msg; member
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Include/MAX32570/
Dctb.h139 uint8_t *msg; member
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Include/MAX32520/
Dctb.h140 uint8_t *msg; member
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Include/MAX32672/
Dctb.h139 uint8_t *msg; member
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Include/MAX32690/
Dctb.h139 uint8_t *msg; member