Home
last modified time | relevance | path

Searched refs:cipher (Results 1 – 20 of 20) sorted by relevance

/hal_adi-latest/MAX/Libraries/PeriphDrivers/Source/TPU/
Dtpu_me10.c92 unsigned int MXC_TPU_Cipher_Get_Key_Size(mxc_tpu_ciphersel_t cipher) in MXC_TPU_Cipher_Get_Key_Size() argument
95 switch (cipher) { in MXC_TPU_Cipher_Get_Key_Size()
113 unsigned int MXC_TPU_Cipher_Get_Block_Size(mxc_tpu_ciphersel_t cipher) in MXC_TPU_Cipher_Get_Block_Size() argument
115 switch (cipher) { in MXC_TPU_Cipher_Get_Block_Size()
133 unsigned int MXC_TPU_Cipher_GetLength(mxc_tpu_ciphersel_t cipher, unsigned int data_size) in MXC_TPU_Cipher_GetLength() argument
135 return MXC_TPU_RevA_Cipher_GetLength(cipher, data_size); in MXC_TPU_Cipher_GetLength()
143 int MXC_TPU_Cipher_Config(mxc_tpu_modesel_t mode, mxc_tpu_ciphersel_t cipher) in MXC_TPU_Cipher_Config() argument
146 (mxc_tpu_reva_ciphersel_t)cipher); in MXC_TPU_Cipher_Config()
156 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode, in MXC_TPU_Cipher_DoOperation() argument
159 return MXC_TPU_RevA_Cipher_DoOperation((mxc_tpu_reva_regs_t *)MXC_TPU, src, iv, key, cipher, in MXC_TPU_Cipher_DoOperation()
[all …]
Dtpu_me14.c102 unsigned int MXC_TPU_Cipher_Get_Key_Size(mxc_tpu_ciphersel_t cipher) in MXC_TPU_Cipher_Get_Key_Size() argument
105 switch (cipher) { in MXC_TPU_Cipher_Get_Key_Size()
123 unsigned int MXC_TPU_Cipher_Get_Block_Size(mxc_tpu_ciphersel_t cipher) in MXC_TPU_Cipher_Get_Block_Size() argument
125 switch (cipher) { in MXC_TPU_Cipher_Get_Block_Size()
143 unsigned int MXC_TPU_Cipher_GetLength(mxc_tpu_ciphersel_t cipher, unsigned int data_size) in MXC_TPU_Cipher_GetLength() argument
145 return MXC_TPU_RevA_Cipher_GetLength(cipher, data_size); in MXC_TPU_Cipher_GetLength()
153 int MXC_TPU_Cipher_Config(mxc_tpu_modesel_t mode, mxc_tpu_ciphersel_t cipher) in MXC_TPU_Cipher_Config() argument
156 (mxc_tpu_reva_ciphersel_t)cipher); in MXC_TPU_Cipher_Config()
166 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode, in MXC_TPU_Cipher_DoOperation() argument
169 return MXC_TPU_RevA_Cipher_DoOperation((mxc_tpu_reva_regs_t *)MXC_TPU, src, iv, key, cipher, in MXC_TPU_Cipher_DoOperation()
[all …]
Dtpu_reva.c221 unsigned int MXC_TPU_RevA_Cipher_GetLength(mxc_tpu_ciphersel_t cipher, unsigned int data_size) in MXC_TPU_RevA_Cipher_GetLength() argument
224 block_size = MXC_TPU_Cipher_Get_Block_Size(cipher); in MXC_TPU_RevA_Cipher_GetLength()
246 mxc_tpu_reva_ciphersel_t cipher) in MXC_TPU_RevA_Cipher_Config() argument
255 (cipher << MXC_F_TPU_REVA_CIPHER_CTRL_CIPHER_POS) | in MXC_TPU_RevA_Cipher_Config()
271 const char *key, mxc_tpu_ciphersel_t cipher, in MXC_TPU_RevA_Cipher_DoOperation() argument
290 numBlocks = MXC_TPU_Cipher_GetLength(cipher, data_size); in MXC_TPU_RevA_Cipher_DoOperation()
292 keyLength = MXC_TPU_Cipher_Get_Key_Size(cipher); in MXC_TPU_RevA_Cipher_DoOperation()
293 dataLength = MXC_TPU_Cipher_Get_Block_Size(cipher); in MXC_TPU_RevA_Cipher_DoOperation()
374 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode, in MXC_TPU_RevA_Cipher_AES_Encrypt() argument
377 if ((cipher != MXC_TPU_CIPHER_AES128) && (cipher != MXC_TPU_CIPHER_AES192) && in MXC_TPU_RevA_Cipher_AES_Encrypt()
[all …]
Dtpu_reva.h111 unsigned int MXC_TPU_RevA_Cipher_GetLength(mxc_tpu_ciphersel_t cipher, unsigned int data_size);
114 mxc_tpu_reva_ciphersel_t cipher);
117 const char *key, mxc_tpu_ciphersel_t cipher,
128 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode,
131 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode,
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Source/CTB/
Dctb_common.c80 unsigned int MXC_CTB_Common_Cipher_GetKeySize(mxc_ctb_cipher_t cipher) in MXC_CTB_Common_Cipher_GetKeySize() argument
82 switch (cipher) { in MXC_CTB_Common_Cipher_GetKeySize()
106 unsigned int MXC_CTB_Common_Cipher_GetBlockSize(mxc_ctb_cipher_t cipher) in MXC_CTB_Common_Cipher_GetBlockSize() argument
108 switch (cipher) { in MXC_CTB_Common_Cipher_GetBlockSize()
Dctb_common.h28 unsigned int MXC_CTB_Common_Cipher_GetKeySize(mxc_ctb_cipher_t cipher);
29 unsigned int MXC_CTB_Common_Cipher_GetBlockSize(mxc_ctb_cipher_t cipher);
Dctb_es17.c386 unsigned int MXC_CTB_Cipher_GetKeySize(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_GetKeySize() argument
388 return MXC_CTB_Common_Cipher_GetKeySize(cipher); in MXC_CTB_Cipher_GetKeySize()
391 unsigned int MXC_CTB_Cipher_GetBlockSize(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_GetBlockSize() argument
393 return MXC_CTB_Common_Cipher_GetBlockSize(cipher); in MXC_CTB_Cipher_GetBlockSize()
406 void MXC_CTB_Cipher_SetCipher(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_SetCipher() argument
408 MXC_CTB_RevA_Cipher_SetCipher((mxc_ctb_reva_regs_t *)MXC_CTB, cipher); in MXC_CTB_Cipher_SetCipher()
Dctb_me13.c394 unsigned int MXC_CTB_Cipher_GetKeySize(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_GetKeySize() argument
396 return MXC_CTB_Common_Cipher_GetKeySize(cipher); in MXC_CTB_Cipher_GetKeySize()
399 unsigned int MXC_CTB_Cipher_GetBlockSize(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_GetBlockSize() argument
401 return MXC_CTB_Common_Cipher_GetBlockSize(cipher); in MXC_CTB_Cipher_GetBlockSize()
414 void MXC_CTB_Cipher_SetCipher(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_SetCipher() argument
416 MXC_CTB_RevA_Cipher_SetCipher((mxc_ctb_reva_regs_t *)MXC_CTB, cipher); in MXC_CTB_Cipher_SetCipher()
Dctb_me21.c384 unsigned int MXC_CTB_Cipher_GetKeySize(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_GetKeySize() argument
386 return MXC_CTB_Common_Cipher_GetKeySize(cipher); in MXC_CTB_Cipher_GetKeySize()
389 unsigned int MXC_CTB_Cipher_GetBlockSize(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_GetBlockSize() argument
391 return MXC_CTB_Common_Cipher_GetBlockSize(cipher); in MXC_CTB_Cipher_GetBlockSize()
404 void MXC_CTB_Cipher_SetCipher(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_SetCipher() argument
406 MXC_CTB_RevA_Cipher_SetCipher((mxc_ctb_reva_regs_t *)MXC_CTB, cipher); in MXC_CTB_Cipher_SetCipher()
Dctb_me55.c389 unsigned int MXC_CTB_Cipher_GetKeySize(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_GetKeySize() argument
391 return MXC_CTB_Common_Cipher_GetKeySize(cipher); in MXC_CTB_Cipher_GetKeySize()
394 unsigned int MXC_CTB_Cipher_GetBlockSize(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_GetBlockSize() argument
396 return MXC_CTB_Common_Cipher_GetBlockSize(cipher); in MXC_CTB_Cipher_GetBlockSize()
409 void MXC_CTB_Cipher_SetCipher(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_SetCipher() argument
411 MXC_CTB_RevA_Cipher_SetCipher((mxc_ctb_reva_regs_t *)MXC_CTB, cipher); in MXC_CTB_Cipher_SetCipher()
Dctb_me18.c400 unsigned int MXC_CTB_Cipher_GetKeySize(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_GetKeySize() argument
402 return MXC_CTB_Common_Cipher_GetKeySize(cipher); in MXC_CTB_Cipher_GetKeySize()
405 unsigned int MXC_CTB_Cipher_GetBlockSize(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_GetBlockSize() argument
407 return MXC_CTB_Common_Cipher_GetBlockSize(cipher); in MXC_CTB_Cipher_GetBlockSize()
420 void MXC_CTB_Cipher_SetCipher(mxc_ctb_cipher_t cipher) in MXC_CTB_Cipher_SetCipher() argument
422 MXC_CTB_RevA_Cipher_SetCipher((mxc_ctb_reva_regs_t *)MXC_CTB, (mxc_ctb_reva_cipher_t)cipher); in MXC_CTB_Cipher_SetCipher()
Dctb_reva.h266 void MXC_CTB_RevA_Cipher_SetCipher(mxc_ctb_reva_regs_t *ctb_regs, mxc_ctb_reva_cipher_t cipher);
Dctb_reva.c936 void MXC_CTB_RevA_Cipher_SetCipher(mxc_ctb_reva_regs_t *ctb_regs, mxc_ctb_reva_cipher_t cipher) in MXC_CTB_RevA_Cipher_SetCipher() argument
939 cipher << MXC_F_CTB_REVA_CIPHER_CTRL_CIPHER_POS); in MXC_CTB_RevA_Cipher_SetCipher()
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Include/MAX32650/
Dtpu.h190 unsigned int MXC_TPU_Cipher_Get_Key_Size(mxc_tpu_ciphersel_t cipher);
195 unsigned int MXC_TPU_Cipher_Get_Block_Size(mxc_tpu_ciphersel_t cipher);
200 unsigned int MXC_TPU_Cipher_GetLength(mxc_tpu_ciphersel_t cipher, unsigned int data_size);
214 int MXC_TPU_Cipher_Config(mxc_tpu_modesel_t mode, mxc_tpu_ciphersel_t cipher);
237 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode,
315 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode,
333 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode,
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Include/MAX32665/
Dtpu.h195 unsigned int MXC_TPU_Cipher_Get_Key_Size(mxc_tpu_ciphersel_t cipher);
200 unsigned int MXC_TPU_Cipher_Get_Block_Size(mxc_tpu_ciphersel_t cipher);
205 unsigned int MXC_TPU_Cipher_GetLength(mxc_tpu_ciphersel_t cipher, unsigned int data_size);
219 int MXC_TPU_Cipher_Config(mxc_tpu_modesel_t mode, mxc_tpu_ciphersel_t cipher);
242 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode,
320 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode,
338 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode,
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Include/MAX32572/
Dctb.h713 unsigned int MXC_CTB_Cipher_GetKeySize(mxc_ctb_cipher_t cipher);
722 unsigned int MXC_CTB_Cipher_GetBlockSize(mxc_ctb_cipher_t cipher);
743 void MXC_CTB_Cipher_SetCipher(mxc_ctb_cipher_t cipher);
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Include/MAX32570/
Dctb.h719 unsigned int MXC_CTB_Cipher_GetKeySize(mxc_ctb_cipher_t cipher);
728 unsigned int MXC_CTB_Cipher_GetBlockSize(mxc_ctb_cipher_t cipher);
749 void MXC_CTB_Cipher_SetCipher(mxc_ctb_cipher_t cipher);
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Include/MAX32520/
Dctb.h719 unsigned int MXC_CTB_Cipher_GetKeySize(mxc_ctb_cipher_t cipher);
728 unsigned int MXC_CTB_Cipher_GetBlockSize(mxc_ctb_cipher_t cipher);
749 void MXC_CTB_Cipher_SetCipher(mxc_ctb_cipher_t cipher);
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Include/MAX32672/
Dctb.h719 unsigned int MXC_CTB_Cipher_GetKeySize(mxc_ctb_cipher_t cipher);
728 unsigned int MXC_CTB_Cipher_GetBlockSize(mxc_ctb_cipher_t cipher);
749 void MXC_CTB_Cipher_SetCipher(mxc_ctb_cipher_t cipher);
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Include/MAX32690/
Dctb.h722 unsigned int MXC_CTB_Cipher_GetKeySize(mxc_ctb_cipher_t cipher);
731 unsigned int MXC_CTB_Cipher_GetBlockSize(mxc_ctb_cipher_t cipher);
752 void MXC_CTB_Cipher_SetCipher(mxc_ctb_cipher_t cipher);