Searched refs:TC_CRYPTO_SUCCESS (Results 1 – 18 of 18) sorted by relevance
57 if (rc != TC_CRYPTO_SUCCESS) { in bootutil_hmac_sha256_set_key()61 if (rc != TC_CRYPTO_SUCCESS) { in bootutil_hmac_sha256_set_key()71 if (rc != TC_CRYPTO_SUCCESS) { in bootutil_hmac_sha256_update()81 if (rc != TC_CRYPTO_SUCCESS) { in bootutil_hmac_sha256_finish()
86 if (rc != TC_CRYPTO_SUCCESS) { in bootutil_aes_kw_set_unwrap_key()119 if (tc_aes_decrypt((uint8_t *)&B, (uint8_t *)&B, ctx) != TC_CRYPTO_SUCCESS) { in bootutil_aes_kw_unwrap()
95 if (rc != TC_CRYPTO_SUCCESS) { in bootutil_aes_ctr_set_key()105 if (rc != TC_CRYPTO_SUCCESS) { in _bootutil_aes_ctr_crypt()
70 if (rc != TC_CRYPTO_SUCCESS) { in bootutil_ecdsa_p256_verify()
63 if (rc != TC_CRYPTO_SUCCESS) { in bootutil_ecdh_p256_shared_secret()
122 return TC_CRYPTO_SUCCESS; in tc_cmac_setup()134 return TC_CRYPTO_SUCCESS; in tc_cmac_erase()154 return TC_CRYPTO_SUCCESS; in tc_cmac_init()166 return TC_CRYPTO_SUCCESS; in tc_cmac_update()186 return TC_CRYPTO_SUCCESS; in tc_cmac_update()219 return TC_CRYPTO_SUCCESS; in tc_cmac_update()253 return TC_CRYPTO_SUCCESS; in tc_cmac_final()
93 return TC_CRYPTO_SUCCESS; in tc_hmac_set_key()107 return TC_CRYPTO_SUCCESS; in tc_hmac_init()122 return TC_CRYPTO_SUCCESS; in tc_hmac_update()147 return TC_CRYPTO_SUCCESS; in tc_hmac_final()
74 return TC_CRYPTO_SUCCESS; in tc_cbc_mode_encrypt()113 return TC_CRYPTO_SUCCESS; in tc_cbc_mode_decrypt()
135 return TC_CRYPTO_SUCCESS; in tc_hmac_prng_init()174 return TC_CRYPTO_SUCCESS; in tc_hmac_prng_reseed()211 return TC_CRYPTO_SUCCESS; in tc_hmac_prng_generate()
58 return TC_CRYPTO_SUCCESS; in tc_ccm_config()134 return TC_CRYPTO_SUCCESS; in ccm_ctr_mode()195 return TC_CRYPTO_SUCCESS; in tc_ccm_generation_encryption()260 return TC_CRYPTO_SUCCESS; in tc_ccm_decryption_verification()
159 result = TC_CRYPTO_SUCCESS; in tc_ctr_prng_init()200 result = TC_CRYPTO_SUCCESS; in tc_ctr_prng_reseed()265 result = TC_CRYPTO_SUCCESS; in tc_ctr_prng_generate()
62 return TC_CRYPTO_SUCCESS; in tc_sha256_init()72 return TC_CRYPTO_SUCCESS; in tc_sha256_update()84 return TC_CRYPTO_SUCCESS; in tc_sha256_update()135 return TC_CRYPTO_SUCCESS; in tc_sha256_final()
90 return TC_CRYPTO_SUCCESS; in tc_ctr_mode()
98 return TC_CRYPTO_SUCCESS; in tc_aes128_set_encrypt_key()190 return TC_CRYPTO_SUCCESS; in tc_aes_encrypt()
163 return TC_CRYPTO_SUCCESS; in tc_aes_decrypt()
52 #define TC_CRYPTO_SUCCESS 1 macro
62 return TC_CRYPTO_SUCCESS; in tc_sha512_init()71 return TC_CRYPTO_SUCCESS; in tc_sha512_update()83 return TC_CRYPTO_SUCCESS; in tc_sha512_update()143 return TC_CRYPTO_SUCCESS; in tc_sha512_final()
1121 assert(rc == TC_CRYPTO_SUCCESS); in ED25519_verify()1124 assert(rc == TC_CRYPTO_SUCCESS); in ED25519_verify()1126 assert(rc == TC_CRYPTO_SUCCESS); in ED25519_verify()1128 assert(rc == TC_CRYPTO_SUCCESS); in ED25519_verify()1132 assert(rc == TC_CRYPTO_SUCCESS); in ED25519_verify()