Home
last modified time | relevance | path

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

/tinycrypt-latest/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.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()
Dctr_mode.c54 return TC_CRYPTO_FAIL; in tc_ctr_mode()
73 return TC_CRYPTO_FAIL; in tc_ctr_mode()
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.c139 return TC_CRYPTO_FAIL; in tc_hmac_prng_init()
166 return TC_CRYPTO_FAIL; in tc_hmac_prng_reseed()
176 return TC_CRYPTO_FAIL; in tc_hmac_prng_reseed()
201 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()
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()
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()
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()
/tinycrypt-latest/lib/include/tinycrypt/
Dconstants.h53 #define TC_CRYPTO_FAIL 0 macro