| /hal_ti-latest/simplelink/source/ti/drivers/utils/ |
| D | List.c | 47 uintptr_t key; in List_clearList() local 49 key = HwiP_disable(); in List_clearList() 53 HwiP_restore(key); in List_clearList() 64 uintptr_t key; in List_get() local 66 key = HwiP_disable(); in List_get() 81 HwiP_restore(key); in List_get() 92 uintptr_t key; in List_insert() local 94 key = HwiP_disable(); in List_insert() 106 HwiP_restore(key); in List_insert() 115 uintptr_t key; in List_put() local [all …]
|
| D | RingBuf.c | 54 unsigned int key; in RingBuf_get() local 56 key = HwiP_disable(); in RingBuf_get() 59 HwiP_restore(key); in RingBuf_get() 67 HwiP_restore(key); in RingBuf_get() 101 unsigned int key; in RingBuf_peek() local 104 key = HwiP_disable(); in RingBuf_peek() 109 HwiP_restore(key); in RingBuf_peek() 119 unsigned int key; in RingBuf_put() local 122 key = HwiP_disable(); in RingBuf_put() 135 HwiP_restore(key); in RingBuf_put() [all …]
|
| D | StructRingBuf.c | 57 unsigned int key; in StructRingBuf_get() local 59 key = HwiP_disable(); in StructRingBuf_get() 62 HwiP_restore(key); in StructRingBuf_get() 70 HwiP_restore(key); in StructRingBuf_get() 114 unsigned int key; in StructRingBuf_put() local 117 key = HwiP_disable(); in StructRingBuf_put() 130 HwiP_restore(key); in StructRingBuf_put() 134 HwiP_restore(key); in StructRingBuf_put()
|
| D | Random.c | 145 uintptr_t key; in Random_seedManual() local 147 key = HwiP_disable(); in Random_seedManual() 151 HwiP_restore(key); in Random_seedManual() 158 uintptr_t key; in Random_getNumber() local 163 key = HwiP_disable(); in Random_getNumber() 185 HwiP_restore(key); in Random_getNumber()
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/utils/ |
| D | List.c | 47 uintptr_t key; in List_clearList() local 49 key = HwiP_disable(); in List_clearList() 53 HwiP_restore(key); in List_clearList() 62 uintptr_t key; in List_get() local 64 key = HwiP_disable(); in List_get() 82 HwiP_restore(key); in List_get() 92 uintptr_t key; in List_insert() local 94 key = HwiP_disable(); in List_insert() 108 HwiP_restore(key); in List_insert() 116 uintptr_t key; in List_put() local [all …]
|
| D | Random.c | 175 uintptr_t key; in Random_seedManual() local 177 key = HwiP_disable(); in Random_seedManual() 181 HwiP_restore(key); in Random_seedManual() 189 uintptr_t key; in Random_getNumber() local 194 key = HwiP_disable(); in Random_getNumber() 216 HwiP_restore(key); in Random_getNumber()
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/cryptoutils/cryptokey/ |
| D | CryptoKeyKeyStore_PSA_ns.c | 52 static int_fast16_t KeyStore_PSA_exportCommon(KeyStore_PSA_KeyFileId key, in KeyStore_PSA_exportCommon() argument 61 exportCommonMsg.key = key; in KeyStore_PSA_exportCommon() 85 int_fast16_t KeyStore_PSA_exportPublicKey(KeyStore_PSA_KeyFileId key, in KeyStore_PSA_exportPublicKey() argument 90 …return KeyStore_PSA_exportCommon(key, data, dataSize, dataLength, KEYSTORE_PSA_S_MSG_TYPE_EXPORT_P… in KeyStore_PSA_exportPublicKey() 96 int_fast16_t KeyStore_PSA_exportKey(KeyStore_PSA_KeyFileId key, uint8_t *data, size_t dataSize, siz… in KeyStore_PSA_exportKey() argument 98 …return KeyStore_PSA_exportCommon(key, data, dataSize, dataLength, KEYSTORE_PSA_S_MSG_TYPE_EXPORT_K… in KeyStore_PSA_exportKey() 104 static int_fast16_t KeyStore_PSA_destroyCommon(KeyStore_PSA_KeyFileId key, int32_t type) in KeyStore_PSA_destroyCommon() argument 109 destroyCommonMsg.key = key; in KeyStore_PSA_destroyCommon() 131 int_fast16_t KeyStore_PSA_destroyKey(KeyStore_PSA_KeyFileId key) in KeyStore_PSA_destroyKey() argument 133 return KeyStore_PSA_destroyCommon(key, KEYSTORE_PSA_S_MSG_TYPE_DESTROY_KEY); in KeyStore_PSA_destroyKey() [all …]
|
| D | CryptoKeyKeyStore_PSA_helpers.c | 50 extern psa_status_t psa_get_and_lock_key_slot_with_policy(mbedtls_svc_key_id_t key, 100 int_fast16_t KeyStore_PSA_purgeKey(KeyStore_PSA_KeyFileId key) in KeyStore_PSA_purgeKey() argument 119 if (key.MBEDTLS_PRIVATE(key_id) > KEYSTORE_PSA_MAX_VOLATILE_KEY_ID) in KeyStore_PSA_purgeKey() 121 if (key > KEYSTORE_PSA_MAX_VOLATILE_KEY_ID) in KeyStore_PSA_purgeKey() 124 status = psa_purge_key(key); in KeyStore_PSA_purgeKey() 197 int_fast16_t KeyStore_PSA_getKey(KeyStore_PSA_KeyFileId key, in KeyStore_PSA_getKey() argument 232 status = psa_get_and_lock_key_slot_with_policy(key, &slot, usage, alg); in KeyStore_PSA_getKey() 245 …status = psa_export_key_internal(&attributes, slot->key.data, slot->key.bytes, data, dataSize, dat… in KeyStore_PSA_getKey() 259 KeyStore_PSA_KeyFileId *key) in KeyStore_PSA_importKey() argument 270 status = psa_import_key(attributes, data, dataLength, key); in KeyStore_PSA_importKey() [all …]
|
| D | CryptoKeyKeyStore_PSA_s.h | 82 uint32_t key; member 93 KeyStore_PSA_KeyFileId *key; member 99 uint32_t key; member 110 uint32_t *key; member 116 uint32_t key; member 121 uint32_t key; member
|
| /hal_ti-latest/simplelink_lpf3/kernel/zephyr/dpl/ |
| D | QueueP_zephyr.c | 61 uintptr_t key; in QueueP_get() local 63 key = HwiP_disable(); in QueueP_get() 70 HwiP_restore(key); in QueueP_get() 81 uintptr_t key; in QueueP_getTail() local 83 key = HwiP_disable(); in QueueP_getTail() 90 HwiP_restore(key); in QueueP_getTail() 140 uintptr_t key; in QueueP_put() local 142 key = HwiP_disable(); in QueueP_put() 149 HwiP_restore(key); in QueueP_put() 157 uintptr_t key; in QueueP_putHead() local [all …]
|
| D | HwiP_zephyr.c | 177 uintptr_t key; in HwiP_disable() local 179 key = irq_lock(); in HwiP_disable() 181 return (key); in HwiP_disable() 184 void HwiP_restore(uintptr_t key) in HwiP_restore() argument 186 irq_unlock(key); in HwiP_restore() 198 uintptr_t key = HwiP_disable(); in HwiP_setFunc() local 203 HwiP_restore(key); in HwiP_setFunc() 237 uintptr_t key = HwiP_disable(); in HwiP_setPriority() local 239 HwiP_restore(key); in HwiP_setPriority()
|
| /hal_ti-latest/simplelink/kernel/zephyr/dpl/ |
| D | QueueP_zephyr.c | 61 uintptr_t key; in QueueP_get() local 63 key = HwiP_disable(); in QueueP_get() 70 HwiP_restore(key); in QueueP_get() 82 uintptr_t key; in QueueP_getTail() local 84 key = HwiP_disable(); in QueueP_getTail() 91 HwiP_restore(key); in QueueP_getTail() 142 uintptr_t key; in QueueP_put() local 144 key = HwiP_disable(); in QueueP_put() 151 HwiP_restore(key); in QueueP_put() 159 uintptr_t key; in QueueP_putHead() local [all …]
|
| /hal_ti-latest/simplelink/source/ti/drivers/adc/ |
| D | ADCCC32XX.c | 98 uintptr_t key; in ADCCC32XX_close() local 106 key = HwiP_disable(); in ADCCC32XX_close() 115 HwiP_restore(key); in ADCCC32XX_close() 143 uintptr_t key; in ADCCC32XX_convert() local 149 key = HwiP_disable(); in ADCCC32XX_convert() 153 HwiP_restore(key); in ADCCC32XX_convert() 154 key = HwiP_disable(); in ADCCC32XX_convert() 159 HwiP_restore(key); in ADCCC32XX_convert() 191 uintptr_t key; in ADCCC32XX_open() local 197 key = HwiP_disable(); in ADCCC32XX_open() [all …]
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/batterymonitor/ |
| D | BatMonSupportLPF3.c | 99 uint32_t key; in BatMonSupportLPF3_init() local 101 key = HwiP_disable(); in BatMonSupportLPF3_init() 134 HwiP_restore(key); in BatMonSupportLPF3_init() 142 uint32_t key; in BatMonSupportLPF3_registerTemperatureCb() local 144 key = HwiP_disable(); in BatMonSupportLPF3_registerTemperatureCb() 149 HwiP_restore(key); in BatMonSupportLPF3_registerTemperatureCb() 157 uint32_t key; in BatMonSupportLPF3_registerBatteryCb() local 159 key = HwiP_disable(); in BatMonSupportLPF3_registerBatteryCb() 164 HwiP_restore(key); in BatMonSupportLPF3_registerBatteryCb()
|
| D | BatteryMonitorLPF3.c | 184 uint32_t key; in setNextThresholds() local 186 key = HwiP_disable(); in setNextThresholds() 209 HwiP_restore(key); in setNextThresholds() 313 uint32_t key; in BatteryMonitor_init() local 315 key = HwiP_disable(); in BatteryMonitor_init() 330 HwiP_restore(key); in BatteryMonitor_init() 363 uint32_t key; in BatteryMonitor_registerNotifyHigh() local 365 key = HwiP_disable(); in BatteryMonitor_registerNotifyHigh() 385 HwiP_restore(key); in BatteryMonitor_registerNotifyHigh() 398 uint32_t key; in BatteryMonitor_registerNotifyLow() local [all …]
|
| /hal_ti-latest/simplelink/source/ti/drivers/pwm/ |
| D | PWMTimerCC32XX.c | 262 uintptr_t key; in initHw() local 272 key = HwiP_disable(); in initHw() 299 HwiP_restore(key); in initHw() 341 uintptr_t key; in PWMTimerCC32XX_close() local 357 key = HwiP_disable(); in PWMTimerCC32XX_close() 373 HwiP_restore(key); in PWMTimerCC32XX_close() 403 uintptr_t key; in PWMTimerCC32XX_open() local 417 key = HwiP_disable(); in PWMTimerCC32XX_open() 420 HwiP_restore(key); in PWMTimerCC32XX_open() 428 HwiP_restore(key); in PWMTimerCC32XX_open() [all …]
|
| /hal_ti-latest/simplelink/source/ti/drivers/temperature/ |
| D | TemperatureCC26X2.c | 265 uint32_t key; in setNextThresholds() local 267 key = HwiP_disable(); in setNextThresholds() 291 HwiP_restore(key); in setNextThresholds() 391 uint32_t key; in Temperature_init() local 393 key = HwiP_disable(); in Temperature_init() 420 HwiP_restore(key); in Temperature_init() 445 uint32_t key; in Temperature_registerNotifyHigh() local 447 key = HwiP_disable(); in Temperature_registerNotifyHigh() 466 HwiP_restore(key); in Temperature_registerNotifyHigh() 478 uint32_t key; in Temperature_registerNotifyLow() local [all …]
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/temperature/ |
| D | TemperatureLPF3.c | 219 uint32_t key; in setNextThresholds() local 221 key = HwiP_disable(); in setNextThresholds() 244 HwiP_restore(key); in setNextThresholds() 357 uint32_t key; in Temperature_init() local 359 key = HwiP_disable(); in Temperature_init() 374 HwiP_restore(key); in Temperature_init() 411 uint32_t key; in Temperature_registerNotifyHigh() local 413 key = HwiP_disable(); in Temperature_registerNotifyHigh() 433 HwiP_restore(key); in Temperature_registerNotifyHigh() 446 uint32_t key; in Temperature_registerNotifyLow() local [all …]
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/aescmac/ |
| D | AESCMACLPF3.c | 87 …int_fast16_t AESCMACLPF3_setupSegmentedOperation(AESCMACLPF3_Object *object, const CryptoKey *key); 90 const CryptoKey *key, 99 const CryptoKey *key, 256 …if (object->common.key.encoding == CryptoKey_PLAINTEXT || object->common.key.encoding == CryptoKey… in AESCMACLPF3_getResult() 267 else if (object->common.key.encoding == CryptoKey_PLAINTEXT_HSM) in AESCMACLPF3_getResult() 316 AESCommonLPF3_loadKey(&object->common.key); in AESCMACLPF3_startOperation() 529 const CryptoKey *key, in AESCMACLPF3_oneStepOperation() argument 534 DebugP_assert(key); in AESCMACLPF3_oneStepOperation() 585 object->common.key = *key; in AESCMACLPF3_oneStepOperation() 593 …if (object->common.key.encoding == CryptoKey_PLAINTEXT || object->common.key.encoding == CryptoKey… in AESCMACLPF3_oneStepOperation() [all …]
|
| /hal_ti-latest/simplelink/source/ti/drivers/uart2/ |
| D | UART2CC32XX.c | 169 uintptr_t key; in uartDmaEnable() local 171 key = HwiP_disable(); in uartDmaEnable() 175 HwiP_restore(key); in uartDmaEnable() 184 uintptr_t key; in uartDmaDisable() local 186 key = HwiP_disable(); in uartDmaDisable() 190 HwiP_restore(key); in uartDmaDisable() 436 uintptr_t key; in UART2CC32XX_open() local 457 key = HwiP_disable(); in UART2CC32XX_open() 460 HwiP_restore(key); in UART2CC32XX_open() 465 HwiP_restore(key); in UART2CC32XX_open() [all …]
|
| /hal_ti-latest/simplelink/source/ti/drivers/dma/ |
| D | UDMACC32XX.c | 65 uintptr_t key; in UDMACC32XX_close() local 69 key = HwiP_disable(); in UDMACC32XX_close() 78 HwiP_restore(key); in UDMACC32XX_close() 117 uintptr_t key; in UDMACC32XX_open() local 125 key = HwiP_disable(); in UDMACC32XX_open() 145 HwiP_restore(key); in UDMACC32XX_open()
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/aesecb/ |
| D | AESECBLPF3.c | 265 …if (operation->key->encoding == CryptoKey_PLAINTEXT || operation->key->encoding == CryptoKey_KEYST… in AESECB_oneStepEncrypt() 270 else if (operation->key->encoding == CryptoKey_PLAINTEXT_HSM) in AESECB_oneStepEncrypt() 292 …if (operation->key->encoding == CryptoKey_PLAINTEXT || operation->key->encoding == CryptoKey_KEYST… in AESECB_oneStepDecrypt() 297 else if (operation->key->encoding == CryptoKey_PLAINTEXT_HSM) in AESECB_oneStepDecrypt() 384 object->common.key = *(operation->key); in AESECBLPF3_oneStepOperation() 402 AESCommonLPF3_setupOperation(&object->common.key, AESEBCLPF3_SINGLE_BLOCK_AUTOCFG); in AESECBLPF3_startOperation() 406 AESCommonLPF3_setupOperation(&object->common.key, AESECBLPF3_DEFAULT_AUTOCFG); in AESECBLPF3_startOperation() 585 int_fast16_t AESECB_setupEncrypt(AESECB_Handle handle, const CryptoKey *key) in AESECB_setupEncrypt() argument 595 if (key->encoding == CryptoKey_PLAINTEXT) in AESECB_setupEncrypt() 598 status = AESCommonLPF3_setupSegmentedOperation(&object->common, key); in AESECB_setupEncrypt() [all …]
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/aesctr/ |
| D | AESCTRLPF3.c | 295 …if (operationStruct->key->encoding == CryptoKey_PLAINTEXT || operationStruct->key->encoding == Cry… in AESCTR_oneStepEncrypt() 300 else if (operationStruct->key->encoding == CryptoKey_PLAINTEXT_HSM) in AESCTR_oneStepEncrypt() 319 …if (operationStruct->key->encoding == CryptoKey_PLAINTEXT || operationStruct->key->encoding == Cry… in AESCTR_oneStepDecrypt() 324 else if (operationStruct->key->encoding == CryptoKey_PLAINTEXT_HSM) in AESCTR_oneStepDecrypt() 345 DebugP_assert(operation->key); in AESCTRLPF3_oneStepOperation() 400 object->common.key = *(operation->key); in AESCTRLPF3_oneStepOperation() 438 AESCommonLPF3_setupOperation(&object->common.key, AESCTRLPF3_DEFAULT_AUTOCFG); in AESCTRLPF3_startOperation() 692 if (object->common.key.encoding == CryptoKey_PLAINTEXT_HSM) in AESCTR_addData() 769 if (object->common.key.encoding == CryptoKey_PLAINTEXT_HSM) in AESCTR_finalize() 869 const CryptoKey *key, in AESCTRLPF3_setupSegmentedOperation() argument [all …]
|
| /hal_ti-latest/simplelink_lpf3/source/ti/drivers/cryptoutils/aes/ |
| D | AESCommonLPF3.c | 183 void AESCommonLPF3_setupOperation(CryptoKey *key, uint32_t autoCfgVal) in AESCommonLPF3_setupOperation() argument 186 AESCommonLPF3_loadKey(key); in AESCommonLPF3_setupOperation() 195 void AESCommonLPF3_loadKey(const CryptoKey *key) in AESCommonLPF3_loadKey() argument 200 …DebugP_assert((key->encoding == CryptoKey_PLAINTEXT) || (key->encoding == CryptoKey_BLANK_PLAINTEX… in AESCommonLPF3_loadKey() 202 keyMaterial = key->u.plaintext.keyMaterial; in AESCommonLPF3_loadKey() 207 DebugP_assert(key->u.plaintext.keyLength == AES_128_KEY_LENGTH_BYTES); in AESCommonLPF3_loadKey() 257 …_fast16_t AESCommonLPF3_setupSegmentedOperation(AESCommonLPF3_Object *object, const CryptoKey *key) in AESCommonLPF3_setupSegmentedOperation() argument 267 object->key = *key; in AESCommonLPF3_setupSegmentedOperation()
|
| /hal_ti-latest/simplelink/source/ti/drivers/power/ |
| D | PowerCC26X2.c | 451 unsigned int key; in Power_releaseConstraint() local 469 key = HwiP_disable(); in Power_releaseConstraint() 485 HwiP_restore(key); in Power_releaseConstraint() 499 unsigned int key; in Power_releaseDependency() local 505 key = HwiP_disable(); in Power_releaseDependency() 558 HwiP_restore(key); in Power_releaseDependency() 569 unsigned int key; in Power_setConstraint() local 587 key = HwiP_disable(); in Power_setConstraint() 596 HwiP_restore(key); in Power_setConstraint() 610 unsigned int key; in Power_setDependency() local [all …]
|