/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/ |
A D | ccm_mode.c | 45 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 D | cbc_mode.c | 39 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 D | cmac_mode.c | 97 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 D | ctr_mode.c | 38 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 D | cbc_mode.c | 39 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 D | SDL_systhread.c | 206 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 D | extra_coverage.py.exp | 73 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 D | cbc_mode.h | 112 const TCAesKeySched_t sched); 145 const TCAesKeySched_t sched);
|
A D | ccm_mode.h | 92 TCAesKeySched_t sched; /* AES key schedule */ member 111 int tc_ccm_config(TCCcmMode_t c, TCAesKeySched_t sched, uint8_t *nonce,
|
A D | cmac_mode.h | 126 TCAesKeySched_t sched; member 143 TCAesKeySched_t sched);
|
A D | ctr_mode.h | 102 unsigned int inlen, uint8_t *ctr, const TCAesKeySched_t sched);
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/crypto/tinycrypt/ |
A D | cbc_mode.h | 112 const TCAesKeySched_t sched); 145 const TCAesKeySched_t sched);
|
/AliOS-Things-master/components/websocket/src/ |
A D | rws_thread.c | 98 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 D | sound_example_lb.c | 107 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 D | sound_example_wav.c | 198 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 D | cap_task.c | 106 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 D | pb_task.c | 119 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 D | cpp_workQueue.h | 76 kstat_t sched(void);
|
/AliOS-Things-master/components/drivers/core/base/core/ |
A D | u_interrupt.c | 274 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 D | README.md | 43 | |-- sched.h #调度功能内部定义 51 |-- sched.c #调度类接口实现
|
/AliOS-Things-master/components/cplusplus/ |
A D | workQueue.cpp | 69 kstat_t Work::sched(void) in sched() function in Work
|
/AliOS-Things-master/components/ble_host/bt_crypto/ |
A D | bt_crypto.c | 416 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 D | gatt.c | 668 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 D | smp.c | 500 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()
|