Home
last modified time | relevance | path

Searched refs:TC_CRYPTO_FAIL (Results 1 – 15 of 15) sorted by relevance

/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Dcmac_mode.c103 return TC_CRYPTO_FAIL; in tc_cmac_setup()
128 return TC_CRYPTO_FAIL; in tc_cmac_erase()
141 return TC_CRYPTO_FAIL; in tc_cmac_init()
163 return TC_CRYPTO_FAIL; in tc_cmac_update()
169 return TC_CRYPTO_FAIL; in tc_cmac_update()
173 return TC_CRYPTO_FAIL; in tc_cmac_update()
230 return TC_CRYPTO_FAIL; in tc_cmac_final()
Dccm_mode.c47 return TC_CRYPTO_FAIL; in tc_ccm_config()
49 return TC_CRYPTO_FAIL; /* The allowed nonce size is: 13. See documentation.*/ in tc_ccm_config()
51 return TC_CRYPTO_FAIL; /* The allowed mac sizes are: 4, 6, 8, 10, 12, 14, 16.*/ in tc_ccm_config()
110 return TC_CRYPTO_FAIL; in ccm_ctr_mode()
124 return TC_CRYPTO_FAIL; in ccm_ctr_mode()
151 return TC_CRYPTO_FAIL; in tc_ccm_generation_encryption()
212 return TC_CRYPTO_FAIL; in tc_ccm_decryption_verification()
264 return TC_CRYPTO_FAIL; in tc_ccm_decryption_verification()
Dhmac.c59 return TC_CRYPTO_FAIL; in tc_hmac_set_key()
100 return TC_CRYPTO_FAIL; in tc_hmac_init()
116 return TC_CRYPTO_FAIL; in tc_hmac_update()
131 return TC_CRYPTO_FAIL; in tc_hmac_final()
Daes_encrypt.c80 return TC_CRYPTO_FAIL; in tc_aes128_set_encrypt_key()
82 return TC_CRYPTO_FAIL; in tc_aes128_set_encrypt_key()
164 return TC_CRYPTO_FAIL; in tc_aes_encrypt()
166 return TC_CRYPTO_FAIL; in tc_aes_encrypt()
168 return TC_CRYPTO_FAIL; in tc_aes_encrypt()
Dhmac_prng.c143 return TC_CRYPTO_FAIL; in tc_hmac_prng_init()
170 return TC_CRYPTO_FAIL; in tc_hmac_prng_reseed()
180 return TC_CRYPTO_FAIL; in tc_hmac_prng_reseed()
205 return TC_CRYPTO_FAIL; in tc_hmac_prng_generate()
Dctr_mode.c54 return TC_CRYPTO_FAIL; in tc_ctr_mode()
73 return TC_CRYPTO_FAIL; in tc_ctr_mode()
Daes_decrypt.c135 return TC_CRYPTO_FAIL; in tc_aes_decrypt()
137 return TC_CRYPTO_FAIL; in tc_aes_decrypt()
139 return TC_CRYPTO_FAIL; in tc_aes_decrypt()
Dctr_prng.c123 int result = TC_CRYPTO_FAIL; in tc_ctr_prng_init()
171 int result = TC_CRYPTO_FAIL; in tc_ctr_prng_reseed()
217 unsigned int result = TC_CRYPTO_FAIL; in tc_ctr_prng_generate()
Dcbc_mode.c54 return TC_CRYPTO_FAIL; in tc_cbc_mode_encrypt()
95 return TC_CRYPTO_FAIL; in tc_cbc_mode_decrypt()
Dsha256.c43 return TC_CRYPTO_FAIL; in tc_sha256_init()
70 return TC_CRYPTO_FAIL; in tc_sha256_update()
94 return TC_CRYPTO_FAIL; in tc_sha256_final()
Dutils.c47 return TC_CRYPTO_FAIL; in _copy()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/
Dconstants.h53 #define TC_CRYPTO_FAIL 0 macro
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/
Dcrypto.c31 if (tc_cmac_setup(&state, key, &sched) == TC_CRYPTO_FAIL) { in bt_mesh_aes_cmac()
37 sg->len) == TC_CRYPTO_FAIL) { in bt_mesh_aes_cmac()
42 if (tc_cmac_final(mac, &state) == TC_CRYPTO_FAIL) { in bt_mesh_aes_cmac()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/nimble_host/
Dmesh_bearer_adapt.c1888 if (tc_aes128_set_encrypt_key(&s, tmp) == TC_CRYPTO_FAIL) { in bt_mesh_encrypt_le()
1894 if (tc_aes_encrypt(enc_data, tmp, &s) == TC_CRYPTO_FAIL) { in bt_mesh_encrypt_le()
1931 if (tc_aes128_set_encrypt_key(&s, key) == TC_CRYPTO_FAIL) { in bt_mesh_encrypt_be()
1935 if (tc_aes_encrypt(enc_data, plaintext, &s) == TC_CRYPTO_FAIL) { in bt_mesh_encrypt_be()
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/
Dmesh_bearer_adapt.c1904 if (tc_aes128_set_encrypt_key(&s, tmp) == TC_CRYPTO_FAIL) { in bt_mesh_encrypt_le()
1910 if (tc_aes_encrypt(enc_data, tmp, &s) == TC_CRYPTO_FAIL) { in bt_mesh_encrypt_le()
1947 if (tc_aes128_set_encrypt_key(&s, key) == TC_CRYPTO_FAIL) { in bt_mesh_encrypt_be()
1951 if (tc_aes_encrypt(enc_data, plaintext, &s) == TC_CRYPTO_FAIL) { in bt_mesh_encrypt_be()