Home
last modified time | relevance | path

Searched refs:key (Results 1 – 25 of 105) sorted by relevance

12345

/hal_ti-latest/simplelink/source/ti/drivers/utils/
DList.c47 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 …]
DRingBuf.c54 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 …]
DStructRingBuf.c57 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()
DRandom.c145 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/
DList.c47 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 …]
DRandom.c175 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/
DCryptoKeyKeyStore_PSA_ns.c52 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 …]
DCryptoKeyKeyStore_PSA_helpers.c50 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 …]
DCryptoKeyKeyStore_PSA_s.h82 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/
DQueueP_zephyr.c61 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 …]
DHwiP_zephyr.c177 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/
DQueueP_zephyr.c61 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/
DADCCC32XX.c98 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/
DBatMonSupportLPF3.c99 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()
DBatteryMonitorLPF3.c184 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/
DPWMTimerCC32XX.c262 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/
DTemperatureCC26X2.c265 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/
DTemperatureLPF3.c219 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/
DAESCMACLPF3.c87 …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/
DUART2CC32XX.c169 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/
DUDMACC32XX.c65 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/
DAESECBLPF3.c265 …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/
DAESCTRLPF3.c295 …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/
DAESCommonLPF3.c183 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/
DPowerCC26X2.c451 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 …]

12345