Home
last modified time | relevance | path

Searched refs:sched (Results 1 – 24 of 24) sorted by relevance

/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/
A Dccm_mode.c45 sched == (TCAesKeySched_t) 0 || in tc_ccm_config()
55 c->sched = sched; in tc_ccm_config()
65 unsigned int flag, TCAesKeySched_t sched) in ccm_cbc_mac() argument
81 (void) tc_aes_encrypt(T, T, sched); in ccm_cbc_mac()
106 sched == (TCAesKeySched_t) 0 || in ccm_ctr_mode()
123 if (!tc_aes_encrypt(buffer, nonce, sched)) { in ccm_ctr_mode()
169 (void) tc_aes_encrypt(tag, b, c->sched); in tc_ccm_generation_encryption()
174 ccm_cbc_mac(tag, payload, plen, 0, c->sched); in tc_ccm_generation_encryption()
189 (void) tc_aes_encrypt(b, b, c->sched); in tc_ccm_generation_encryption()
235 (void) tc_aes_encrypt(b, b, c->sched); in tc_ccm_decryption_verification()
[all …]
A Dcbc_mode.c39 const TCAesKeySched_t sched) in tc_cbc_mode_encrypt() argument
48 sched == (TCAesKeySched_t) 0 || in tc_cbc_mode_encrypt()
66 (void)tc_aes_encrypt(buffer, buffer, sched); in tc_cbc_mode_encrypt()
79 const TCAesKeySched_t sched) in tc_cbc_mode_decrypt() argument
89 sched == (TCAesKeySched_t) 0 || in tc_cbc_mode_decrypt()
106 (void)tc_aes_decrypt(buffer, in, sched); in tc_cbc_mode_decrypt()
A Dcmac_mode.c97 int tc_cmac_setup(TCCmacState_t s, const uint8_t *key, TCAesKeySched_t sched) in tc_cmac_setup() argument
108 s->sched = sched; in tc_cmac_setup()
111 tc_aes128_set_encrypt_key(s->sched, key); in tc_cmac_setup()
115 tc_aes_encrypt(s->iv, s->iv, s->sched); in tc_cmac_setup()
200 tc_aes_encrypt(s->iv, s->iv, s->sched); in tc_cmac_update()
208 tc_aes_encrypt(s->iv, s->iv, s->sched); in tc_cmac_update()
248 tc_aes_encrypt(tag, s->iv, s->sched); in tc_cmac_final()
A Dctr_mode.c38 unsigned int inlen, uint8_t *ctr, const TCAesKeySched_t sched) in tc_ctr_mode() argument
50 sched == (TCAesKeySched_t) 0 || in tc_ctr_mode()
66 if (tc_aes_encrypt(buffer, nonce, sched)) { in tc_ctr_mode()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/crypto/
A Dcbc_mode.c39 const TCAesKeySched_t sched) in utils_tc_cbc_mode_encrypt() argument
48 sched == (TCAesKeySched_t) 0 || in utils_tc_cbc_mode_encrypt()
66 (void)tc_aes_encrypt(buffer, buffer, sched); in utils_tc_cbc_mode_encrypt()
79 const TCAesKeySched_t sched) in utils_tc_cbc_mode_decrypt() argument
89 sched == (TCAesKeySched_t) 0 || in utils_tc_cbc_mode_decrypt()
106 (void)tc_aes_decrypt(buffer, in, sched); in utils_tc_cbc_mode_decrypt()
/AliOS-Things-master/components/SDL2/src/thread/pthread/
A DSDL_systhread.c206 struct sched_param sched; in SDL_SYS_SetThreadPriority()
212 if (pthread_getschedparam(thread, &policy, &sched) != 0) { in SDL_SYS_SetThreadPriority()
256 sched.sched_priority = sched_get_priority_min(policy); in SDL_SYS_SetThreadPriority()
258 sched.sched_priority = sched_get_priority_max(policy); in SDL_SYS_SetThreadPriority()
267 sched.sched_priority = 45; in SDL_SYS_SetThreadPriority()
269 sched.sched_priority = 37; in SDL_SYS_SetThreadPriority()
274 sched.sched_priority = (min_priority + (max_priority - min_priority) / 2); in SDL_SYS_SetThreadPriority()
276 sched.sched_priority += ((max_priority - min_priority) / 4); in SDL_SYS_SetThreadPriority()
280 if (pthread_setschedparam(thread, policy, &sched) != 0) { in SDL_SYS_SetThreadPriority()
/AliOS-Things-master/components/py_engine/tests/unix/
A Dextra_coverage.py.exp73 sched(0)=1
74 sched(1)=1
75 sched(2)=1
76 sched(3)=1
77 sched(4)=0
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/include/tinycrypt/
A Dcbc_mode.h112 const TCAesKeySched_t sched);
145 const TCAesKeySched_t sched);
A Dccm_mode.h92 TCAesKeySched_t sched; /* AES key schedule */ member
111 int tc_ccm_config(TCCcmMode_t c, TCAesKeySched_t sched, uint8_t *nonce,
A Dcmac_mode.h126 TCAesKeySched_t sched; member
143 TCAesKeySched_t sched);
A Dctr_mode.h102 unsigned int inlen, uint8_t *ctr, const TCAesKeySched_t sched);
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/crypto/tinycrypt/
A Dcbc_mode.h112 const TCAesKeySched_t sched);
145 const TCAesKeySched_t sched);
/AliOS-Things-master/components/websocket/src/
A Drws_thread.c98 struct sched_param sched; in rws_thread_create() local
100 sched.sched_priority = 32; in rws_thread_create()
102 sched.sched_priority = 3; in rws_thread_create()
104 pthread_attr_setschedparam(&attr, &sched); in rws_thread_create()
/AliOS-Things-master/components/a2sa/example/
A Dsound_example_lb.c107 struct sched_param sched; in sound_example_loopback_init() local
114 sched.sched_priority = AUDIO_PLAYER_DEFAULT_PRIORITY; in sound_example_loopback_init()
115 pthread_attr_setschedparam(&attr, &sched); in sound_example_loopback_init()
A Dsound_example_wav.c198 struct sched_param sched; in sound_wav_init() local
205 sched.sched_priority = AUDIO_PLAYER_DEFAULT_PRIORITY; in sound_wav_init()
206 pthread_attr_setschedparam(&attr, &sched); in sound_wav_init()
/AliOS-Things-master/components/a2sa/src/driver/platform/rtos/
A Dcap_task.c106 struct sched_param sched; in create_cap_task() local
113 sched.sched_priority = CAP_DEFAULT_PRIORITY; in create_cap_task()
114 pthread_attr_setschedparam(&attr, &sched); in create_cap_task()
A Dpb_task.c119 struct sched_param sched; in create_pb_task() local
126 sched.sched_priority = PB_DEFAULT_PRIORITY; in create_pb_task()
127 pthread_attr_setschedparam(&attr, &sched); in create_pb_task()
/AliOS-Things-master/components/cplusplus/include/
A Dcpp_workQueue.h76 kstat_t sched(void);
/AliOS-Things-master/components/drivers/core/base/core/
A Du_interrupt.c274 struct sched_param sched; in u_irq_thread_create()
276 sched.sched_priority = 1; in u_irq_thread_create()
278 sched.sched_priority = prio; in u_irq_thread_create()
280 pthread_attr_setschedparam(&attr,&sched); in u_irq_thread_create()
/AliOS-Things-master/components/posix/
A DREADME.md43 | |-- sched.h #调度功能内部定义
51 |-- sched.c #调度类接口实现
/AliOS-Things-master/components/cplusplus/
A DworkQueue.cpp69 kstat_t Work::sched(void) in sched() function in Work
/AliOS-Things-master/components/ble_host/bt_crypto/
A Dbt_crypto.c416 struct tc_aes_key_sched_struct sched; in bt_crypto_aes_cmac() local
419 if (tc_cmac_setup(&state, key, &sched) == TC_CRYPTO_FAIL) { in bt_crypto_aes_cmac()
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dgatt.c668 struct tc_aes_key_sched_struct sched; in db_hash_gen() local
671 if (tc_cmac_setup(&state.state, key, &sched) == TC_CRYPTO_FAIL) { in db_hash_gen()
A Dsmp.c500 struct tc_aes_key_sched_struct sched; in bt_smp_aes_cmac() local
503 if (tc_cmac_setup(&state, key, &sched) == TC_CRYPTO_FAIL) { in bt_smp_aes_cmac()

Completed in 47 milliseconds