Home
last modified time | relevance | path

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

/mcuboot-latest/ext/tinycrypt/lib/source/
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.c60 return TC_CRYPTO_FAIL; in tc_hmac_set_key()
101 return TC_CRYPTO_FAIL; in tc_hmac_init()
117 return TC_CRYPTO_FAIL; in tc_hmac_update()
132 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()
Dctr_mode.c57 return TC_CRYPTO_FAIL; in tc_ctr_mode()
77 return TC_CRYPTO_FAIL; in tc_ctr_mode()
Dhmac_prng.c121 return TC_CRYPTO_FAIL; in tc_hmac_prng_init()
150 return TC_CRYPTO_FAIL; in tc_hmac_prng_reseed()
160 return TC_CRYPTO_FAIL; in tc_hmac_prng_reseed()
186 return TC_CRYPTO_FAIL; in tc_hmac_prng_generate()
Dcbc_mode.c54 return TC_CRYPTO_FAIL; in tc_cbc_mode_encrypt()
95 return TC_CRYPTO_FAIL; in tc_cbc_mode_decrypt()
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()
Dutils.c47 return TC_CRYPTO_FAIL; in _copy()
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()
/mcuboot-latest/ext/tinycrypt/lib/include/tinycrypt/
Dconstants.h53 #define TC_CRYPTO_FAIL 0 macro
/mcuboot-latest/ext/tinycrypt-sha512/lib/source/
Dsha512.c43 return TC_CRYPTO_FAIL; in tc_sha512_init()
69 return TC_CRYPTO_FAIL; in tc_sha512_update()
92 return TC_CRYPTO_FAIL; in tc_sha512_final()
/mcuboot-latest/ext/tinycrypt/tests/
Dtest_ecc_dh.c101 if (rc == TC_CRYPTO_FAIL) { in ecdh_vectors()