Lines Matching refs:ret
69 int ret = 0, v; in selftest() local
89 if( ( ret = mbedtls_md2_self_test( v ) ) != 0 ) in selftest()
90 return( ret ); in selftest()
94 if( ( ret = mbedtls_md4_self_test( v ) ) != 0 ) in selftest()
95 return( ret ); in selftest()
99 if( ( ret = mbedtls_md5_self_test( v ) ) != 0 ) in selftest()
100 return( ret ); in selftest()
104 if( ( ret = mbedtls_ripemd160_self_test( v ) ) != 0 ) in selftest()
105 return( ret ); in selftest()
109 if( ( ret = mbedtls_sha1_self_test( v ) ) != 0 ) in selftest()
110 return( ret ); in selftest()
114 if( ( ret = mbedtls_sha256_self_test( v ) ) != 0 ) in selftest()
115 return( ret ); in selftest()
119 if( ( ret = mbedtls_sha512_self_test( v ) ) != 0 ) in selftest()
120 return( ret ); in selftest()
124 if( ( ret = mbedtls_arc4_self_test( v ) ) != 0 ) in selftest()
125 return( ret ); in selftest()
129 if( ( ret = mbedtls_des_self_test( v ) ) != 0 ) in selftest()
130 return( ret ); in selftest()
134 if( ( ret = mbedtls_aes_self_test( v ) ) != 0 ) in selftest()
135 return( ret ); in selftest()
139 if( ( ret = mbedtls_gcm_self_test( v ) ) != 0 ) in selftest()
140 return( ret ); in selftest()
144 if( ( ret = mbedtls_ccm_self_test( v ) ) != 0 ) in selftest()
145 return( ret ); in selftest()
149 if( ( ret = mbedtls_base64_self_test( v ) ) != 0 ) in selftest()
150 return( ret ); in selftest()
154 if( ( ret = mbedtls_mpi_self_test( v ) ) != 0 ) in selftest()
155 return( ret ); in selftest()
159 if( ( ret = mbedtls_rsa_self_test( v ) ) != 0 ) in selftest()
160 return( ret ); in selftest()
164 if( ( ret = mbedtls_x509_self_test( v ) ) != 0 ) in selftest()
165 return( ret ); in selftest()
169 if( ( ret = mbedtls_xtea_self_test( v ) ) != 0 ) in selftest()
170 return( ret ); in selftest()
174 if( ( ret = mbedtls_camellia_self_test( v ) ) != 0 ) in selftest()
175 return( ret ); in selftest()
179 if( ( ret = mbedtls_ctr_drbg_self_test( v ) ) != 0 ) in selftest()
180 return( ret ); in selftest()
184 if( ( ret = mbedtls_hmac_drbg_self_test( v ) ) != 0 ) in selftest()
185 return( ret ); in selftest()
189 if( ( ret = mbedtls_ecp_self_test( v ) ) != 0 ) in selftest()
190 return( ret ); in selftest()
194 if( ( ret = mbedtls_dhm_self_test( v ) ) != 0 ) in selftest()
195 return( ret ); in selftest()
199 if( ( ret = mbedtls_entropy_self_test( v ) ) != 0 ) in selftest()
200 return( ret ); in selftest()
204 if( ( ret = mbedtls_pkcs5_self_test( v ) ) != 0 ) in selftest()
205 return( ret ); in selftest()
209 if( ( ret = mbedtls_timing_self_test( v ) ) != 0 ) in selftest()
210 return( ret ); in selftest()
227 if( ( ret = mbedtls_memory_buffer_alloc_self_test( v ) ) != 0 ) in selftest()
228 return( ret ); in selftest()
240 return( ret ); in selftest()