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/ |
D | cmac_mode.c | 103 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()
|
D | ccm_mode.c | 47 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()
|
D | hmac.c | 59 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()
|
D | aes_encrypt.c | 80 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()
|
D | hmac_prng.c | 143 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()
|
D | ctr_mode.c | 54 return TC_CRYPTO_FAIL; in tc_ctr_mode() 73 return TC_CRYPTO_FAIL; in tc_ctr_mode()
|
D | aes_decrypt.c | 135 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()
|
D | ctr_prng.c | 123 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()
|
D | cbc_mode.c | 54 return TC_CRYPTO_FAIL; in tc_cbc_mode_encrypt() 95 return TC_CRYPTO_FAIL; in tc_cbc_mode_decrypt()
|
D | sha256.c | 43 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()
|
D | utils.c | 47 return TC_CRYPTO_FAIL; in _copy()
|
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/ |
D | constants.h | 53 #define TC_CRYPTO_FAIL 0 macro
|
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/ |
D | crypto.c | 31 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/ |
D | mesh_bearer_adapt.c | 1888 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/ |
D | mesh_bearer_adapt.c | 1904 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()
|