Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 14 of 14) sorted by relevance

/net-tools-2.7.6/mbedtls-2.4.0/programs/hash/
Dgeneric_sum.c87 char diff; in generic_check() local
140 diff = 0; in generic_check()
142 diff |= line[i] ^ buf[i]; in generic_check()
144 if( diff != 0 ) in generic_check()
/net-tools-2.7.6/mbedtls-2.4.0/tests/scripts/
Dcheck-names.sh29 UNDECLARED=$( diff exported-symbols identifiers | sed -n -e 's/^< //p' )
38 diff macros identifiers | sed -n -e 's/< //p' > actual-macros
Dcheck-generated-files.sh19 diff $FILE $FILE.bak
Dall.sh175 if ! git diff-files --quiet include/mbedtls/config.h; then
/net-tools-2.7.6/mbedtls-2.4.0/programs/aes/
Daescrypt2.c86 unsigned char diff; in main() local
424 diff = 0; in main()
426 diff |= digest[i] ^ buffer[i]; in main()
428 if( diff != 0 ) in main()
Dcrypt_and_hash.c87 unsigned char diff; in main() local
512 diff = 0; in main()
514 diff |= digest[i] ^ buffer[i]; in main()
516 if( diff != 0 ) in main()
/net-tools-2.7.6/mbedtls-2.4.0/library/
Dccm.c329 int diff; in mbedtls_ccm_auth_decrypt() local
339 for( diff = 0, i = 0; i < tag_len; i++ ) in mbedtls_ccm_auth_decrypt()
340 diff |= tag[i] ^ check_tag[i]; in mbedtls_ccm_auth_decrypt()
342 if( diff != 0 ) in mbedtls_ccm_auth_decrypt()
Dgcm.c481 int diff; in mbedtls_gcm_auth_decrypt() local
491 for( diff = 0, i = 0; i < tag_len; i++ ) in mbedtls_gcm_auth_decrypt()
492 diff |= tag[i] ^ check_tag[i]; in mbedtls_gcm_auth_decrypt()
494 if( diff != 0 ) in mbedtls_gcm_auth_decrypt()
Dcipher.c784 int diff; in mbedtls_cipher_check_tag() local
796 for( diff = 0, i = 0; i < tag_len; i++ ) in mbedtls_cipher_check_tag()
797 diff |= tag[i] ^ check_tag[i]; in mbedtls_cipher_check_tag()
799 if( diff != 0 ) in mbedtls_cipher_check_tag()
Dssl_srv.c3120 unsigned int diff; local
3170 diff = (unsigned int) ret;
3171 diff |= peer_pmslen ^ 48;
3172 diff |= peer_pms[0] ^ ver[0];
3173 diff |= peer_pms[1] ^ ver[1];
3176 if( diff != 0 )
3195 mask = - ( ( diff | - diff ) >> ( sizeof( unsigned int ) * 8 - 1 ) );
Drsa.c1036 unsigned char diff; in mbedtls_rsa_rsassa_pkcs1_v15_sign() local
1123 for( diff = 0, i = 0; i < ctx->len; i++ ) in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1124 diff |= verif[i] ^ sig[i]; in mbedtls_rsa_rsassa_pkcs1_v15_sign()
1125 diff_no_optimize = diff; in mbedtls_rsa_rsassa_pkcs1_v15_sign()
Dx509_crt.c1725 unsigned char diff; in x509_memcasecmp() local
1730 diff = n1[i] ^ n2[i]; in x509_memcasecmp()
1732 if( diff == 0 ) in x509_memcasecmp()
1735 if( diff == 32 && in x509_memcasecmp()
/net-tools-2.7.6/mbedtls-2.4.0/include/mbedtls/
Dssl_internal.h488 unsigned char diff = 0; in mbedtls_ssl_safer_memcmp() local
491 diff |= A[i] ^ B[i]; in mbedtls_ssl_safer_memcmp()
493 return( diff ); in mbedtls_ssl_safer_memcmp()
/net-tools-2.7.6/tinydtls-0.8.2/
Dconfigure3393 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3459 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break