Lines Matching refs:status

67 #define NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status)                                     \  argument
68 if(status) \
122 UINT status; in _nx_crypto_method_self_test() local
134 status = _nx_crypto_method_self_test_des(&crypto_method_des, metadata, metadata_size); in _nx_crypto_method_self_test() local
135 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
137 status = _nx_crypto_method_self_test_aes(&crypto_method_aes_cbc_256, metadata, metadata_size); in _nx_crypto_method_self_test()
138 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
140 status = _nx_crypto_method_self_test_3des(&crypto_method_3des, metadata, metadata_size); in _nx_crypto_method_self_test()
141 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
143 status = _nx_crypto_method_self_test_rsa(&crypto_method_rsa, metadata, metadata_size); in _nx_crypto_method_self_test()
144 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
146 status = _nx_crypto_method_self_test_md5(&crypto_method_md5, metadata, metadata_size); in _nx_crypto_method_self_test()
147 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
149 status = _nx_crypto_method_self_test_sha(&crypto_method_sha1, metadata, metadata_size); in _nx_crypto_method_self_test()
150 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
152 status = _nx_crypto_method_self_test_sha(&crypto_method_sha224, metadata, metadata_size); in _nx_crypto_method_self_test()
153 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
155 status = _nx_crypto_method_self_test_sha(&crypto_method_sha256, metadata, metadata_size); in _nx_crypto_method_self_test()
156 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
158 status = _nx_crypto_method_self_test_sha(&crypto_method_sha384, metadata, metadata_size); in _nx_crypto_method_self_test()
159 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
161 status = _nx_crypto_method_self_test_sha(&crypto_method_sha512, metadata, metadata_size); in _nx_crypto_method_self_test()
162 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
164 status = _nx_crypto_method_self_test_sha(&crypto_method_sha512_224, metadata, metadata_size); in _nx_crypto_method_self_test()
165 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
167 status = _nx_crypto_method_self_test_sha(&crypto_method_sha512_256, metadata, metadata_size); in _nx_crypto_method_self_test()
168 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
170 status = _nx_crypto_method_self_test_hmac_md5(&crypto_method_hmac_md5, metadata, metadata_size); in _nx_crypto_method_self_test()
171 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
173status = _nx_crypto_method_self_test_hmac_sha(&crypto_method_hmac_sha1, metadata, metadata_size); in _nx_crypto_method_self_test()
174 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
176status = _nx_crypto_method_self_test_hmac_sha(&crypto_method_hmac_sha224, metadata, metadata_size); in _nx_crypto_method_self_test()
177 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
179status = _nx_crypto_method_self_test_hmac_sha(&crypto_method_hmac_sha256, metadata, metadata_size); in _nx_crypto_method_self_test()
180 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
182status = _nx_crypto_method_self_test_hmac_sha(&crypto_method_hmac_sha384, metadata, metadata_size); in _nx_crypto_method_self_test()
183 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
185status = _nx_crypto_method_self_test_hmac_sha(&crypto_method_hmac_sha512, metadata, metadata_size); in _nx_crypto_method_self_test()
186 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
188status = _nx_crypto_method_self_test_hmac_sha(&crypto_method_hmac_sha512_224, metadata, metadata_s… in _nx_crypto_method_self_test()
189 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
191status = _nx_crypto_method_self_test_hmac_sha(&crypto_method_hmac_sha512_256, metadata, metadata_s… in _nx_crypto_method_self_test()
192 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
194 status = _nx_crypto_method_self_test_prf(&crypto_method_tls_prf_1, metadata, metadata_size); in _nx_crypto_method_self_test()
195 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
197status = _nx_crypto_method_self_test_prf(&crypto_method_tls_prf_sha256, metadata, metadata_size); in _nx_crypto_method_self_test()
198 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
200status = _nx_crypto_method_self_test_prf(&crypto_method_tls_prf_sha384, metadata, metadata_size); in _nx_crypto_method_self_test()
201 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
203status = _nx_crypto_method_self_test_prf(&crypto_method_tls_prf_sha512, metadata, metadata_size); in _nx_crypto_method_self_test()
204 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
206 status = _nx_crypto_method_self_test_drbg(&crypto_method_drbg, metadata, metadata_size); in _nx_crypto_method_self_test()
207 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
209 status = _nx_crypto_method_self_test_ecdsa(&crypto_method_ecdsa, metadata, metadata_size); in _nx_crypto_method_self_test()
210 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
212 status = _nx_crypto_method_self_test_pkcs1(&crypto_method_pkcs1, metadata, metadata_size); in _nx_crypto_method_self_test()
213 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
215 status = _nx_crypto_method_self_test_ecdh(&crypto_method_ecdh, metadata, metadata_size); in _nx_crypto_method_self_test()
216 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()
218 status = _nx_crypto_method_self_test_ecdh(&crypto_method_ecdhe, metadata, metadata_size); in _nx_crypto_method_self_test()
219 NX_CRYPTO_FUNCTIONAL_TEST_CHECK(status) in _nx_crypto_method_self_test()