| /hal_adi-latest/MAX/Libraries/PeriphDrivers/Source/TPU/ |
| D | tpu_me10.c | 92 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 …]
|
| D | tpu_me14.c | 102 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 …]
|
| D | tpu_reva.c | 221 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 …]
|
| D | tpu_reva.h | 111 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/ |
| D | ctb_common.c | 80 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()
|
| D | ctb_common.h | 28 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);
|
| D | ctb_es17.c | 386 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()
|
| D | ctb_me13.c | 394 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()
|
| D | ctb_me21.c | 384 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()
|
| D | ctb_me55.c | 389 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()
|
| D | ctb_me18.c | 400 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()
|
| D | ctb_reva.h | 266 void MXC_CTB_RevA_Cipher_SetCipher(mxc_ctb_reva_regs_t *ctb_regs, mxc_ctb_reva_cipher_t cipher);
|
| D | ctb_reva.c | 936 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/ |
| D | tpu.h | 190 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/ |
| D | tpu.h | 195 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/ |
| D | ctb.h | 713 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/ |
| D | ctb.h | 719 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/ |
| D | ctb.h | 719 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/ |
| D | ctb.h | 719 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/ |
| D | ctb.h | 722 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);
|