Lines Matching full:if

23 #if defined(MBEDTLS_PSA_CRYPTO_C)
32 #if defined(MBEDTLS_PSA_BUILTIN_ALG_RSA_PKCS1V15_SIGN) || \
40 #if defined(MBEDTLS_MD2_C) in mbedtls_md_info_from_psa()
44 #if defined(MBEDTLS_MD4_C) in mbedtls_md_info_from_psa()
48 #if defined(MBEDTLS_MD5_C) in mbedtls_md_info_from_psa()
52 #if defined(MBEDTLS_RIPEMD160_C) in mbedtls_md_info_from_psa()
56 #if defined(MBEDTLS_SHA1_C) in mbedtls_md_info_from_psa()
60 #if defined(MBEDTLS_SHA256_C) in mbedtls_md_info_from_psa()
64 #if defined(MBEDTLS_SHA256_C) in mbedtls_md_info_from_psa()
68 #if defined(MBEDTLS_SHA512_C) && !defined(MBEDTLS_SHA512_NO_SHA384) in mbedtls_md_info_from_psa()
72 #if defined(MBEDTLS_SHA512_C) in mbedtls_md_info_from_psa()
85 #if defined(MBEDTLS_PSA_BUILTIN_HASH)
96 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD2) in mbedtls_psa_hash_abort()
101 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD4) in mbedtls_psa_hash_abort()
106 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD5) in mbedtls_psa_hash_abort()
111 #if defined(MBEDTLS_PSA_BUILTIN_ALG_RIPEMD160) in mbedtls_psa_hash_abort()
116 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_1) in mbedtls_psa_hash_abort()
121 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_224) in mbedtls_psa_hash_abort()
126 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_256) in mbedtls_psa_hash_abort()
131 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_384) in mbedtls_psa_hash_abort()
136 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_512) in mbedtls_psa_hash_abort()
155 if( operation->alg != 0 ) in mbedtls_psa_hash_setup()
162 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD2) in mbedtls_psa_hash_setup()
168 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD4) in mbedtls_psa_hash_setup()
174 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD5) in mbedtls_psa_hash_setup()
180 #if defined(MBEDTLS_PSA_BUILTIN_ALG_RIPEMD160) in mbedtls_psa_hash_setup()
186 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_1) in mbedtls_psa_hash_setup()
192 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_224) in mbedtls_psa_hash_setup()
198 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_256) in mbedtls_psa_hash_setup()
204 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_384) in mbedtls_psa_hash_setup()
210 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_512) in mbedtls_psa_hash_setup()
221 if( ret == 0 ) in mbedtls_psa_hash_setup()
236 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD2) in mbedtls_psa_hash_clone()
242 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD4) in mbedtls_psa_hash_clone()
248 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD5) in mbedtls_psa_hash_clone()
254 #if defined(MBEDTLS_PSA_BUILTIN_ALG_RIPEMD160) in mbedtls_psa_hash_clone()
260 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_1) in mbedtls_psa_hash_clone()
266 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_224) in mbedtls_psa_hash_clone()
272 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_256) in mbedtls_psa_hash_clone()
278 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_384) in mbedtls_psa_hash_clone()
284 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_512) in mbedtls_psa_hash_clone()
309 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD2) in mbedtls_psa_hash_update()
315 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD4) in mbedtls_psa_hash_update()
321 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD5) in mbedtls_psa_hash_update()
327 #if defined(MBEDTLS_PSA_BUILTIN_ALG_RIPEMD160) in mbedtls_psa_hash_update()
333 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_1) in mbedtls_psa_hash_update()
339 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_224) in mbedtls_psa_hash_update()
345 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_256) in mbedtls_psa_hash_update()
351 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_384) in mbedtls_psa_hash_update()
357 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_512) in mbedtls_psa_hash_update()
386 /* If hash_size is 0 then hash may be NULL and then the in mbedtls_psa_hash_finish()
388 if( hash_size != 0 ) in mbedtls_psa_hash_finish()
391 if( hash_size < actual_hash_length ) in mbedtls_psa_hash_finish()
399 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD2) in mbedtls_psa_hash_finish()
404 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD4) in mbedtls_psa_hash_finish()
409 #if defined(MBEDTLS_PSA_BUILTIN_ALG_MD5) in mbedtls_psa_hash_finish()
414 #if defined(MBEDTLS_PSA_BUILTIN_ALG_RIPEMD160) in mbedtls_psa_hash_finish()
419 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_1) in mbedtls_psa_hash_finish()
424 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_224) in mbedtls_psa_hash_finish()
429 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_256) in mbedtls_psa_hash_finish()
434 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_384) in mbedtls_psa_hash_finish()
439 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_512) in mbedtls_psa_hash_finish()
451 if( status == PSA_SUCCESS ) in mbedtls_psa_hash_finish()
470 if( status != PSA_SUCCESS ) in mbedtls_psa_hash_compute()
473 if( status != PSA_SUCCESS ) in mbedtls_psa_hash_compute()
476 if( status != PSA_SUCCESS ) in mbedtls_psa_hash_compute()
481 if( status == PSA_SUCCESS ) in mbedtls_psa_hash_compute()