Searched refs:diff (Results 1 – 16 of 16) sorted by relevance
61 volatile unsigned char diff = 0; in mbedtls_nist_kw_safer_memcmp() local69 diff |= x ^ y; in mbedtls_nist_kw_safer_memcmp()72 return( diff ); in mbedtls_nist_kw_safer_memcmp()372 unsigned char diff, bad_padding = 0; in mbedtls_nist_kw_unwrap() local401 diff = mbedtls_nist_kw_safer_memcmp( NIST_KW_ICV1, A, KW_SEMIBLOCK_LENGTH ); in mbedtls_nist_kw_unwrap()403 if( diff != 0 ) in mbedtls_nist_kw_unwrap()452 if( diff != 0 ) in mbedtls_nist_kw_unwrap()472 for( diff = 0, i = 0; i < KW_SEMIBLOCK_LENGTH; i++ ) in mbedtls_nist_kw_unwrap()475 diff |= output[*out_len - KW_SEMIBLOCK_LENGTH + i]; in mbedtls_nist_kw_unwrap()480 if( diff != 0 ) in mbedtls_nist_kw_unwrap()[all …]
41 unsigned char diff = 0; in mbedtls_psa_safer_memcmp() local44 diff |= a[i] ^ b[i]; in mbedtls_psa_safer_memcmp()46 return( diff ); in mbedtls_psa_safer_memcmp()
341 int diff; in mbedtls_chachapoly_auth_decrypt() local357 for( diff = 0, i = 0; i < sizeof( check_tag ); i++ ) in mbedtls_chachapoly_auth_decrypt()358 diff |= tag[i] ^ check_tag[i]; in mbedtls_chachapoly_auth_decrypt()360 if( diff != 0 ) in mbedtls_chachapoly_auth_decrypt()
545 int diff; in mbedtls_ccm_compare_tags() local548 for( diff = 0, i = 0; i < tag_len; i++ ) in mbedtls_ccm_compare_tags()549 diff |= tag1[i] ^ tag2[i]; in mbedtls_ccm_compare_tags()551 if( diff != 0 ) in mbedtls_ccm_compare_tags()
618 int diff; in mbedtls_gcm_auth_decrypt() local635 for( diff = 0, i = 0; i < tag_len; i++ ) in mbedtls_gcm_auth_decrypt()636 diff |= tag[i] ^ check_tag[i]; in mbedtls_gcm_auth_decrypt()638 if( diff != 0 ) in mbedtls_gcm_auth_decrypt()
1395 volatile unsigned char diff = 0; in mbedtls_ssl_safer_memcmp() local1403 diff |= x ^ y; in mbedtls_ssl_safer_memcmp()1406 return( diff ); in mbedtls_ssl_safer_memcmp()
89 unsigned char diff; in mbedtls_constant_time_memcmp() local91 for( diff = 0, i = 0; i < len; i++ ) in mbedtls_constant_time_memcmp()92 diff |= p1[i] ^ p2[i]; in mbedtls_constant_time_memcmp()94 return( (int)diff ); in mbedtls_constant_time_memcmp()
3537 unsigned int diff; in ssl_parse_encrypted_pms() local3566 diff = (unsigned int) ret; in ssl_parse_encrypted_pms()3567 diff |= peer_pmslen ^ 48; in ssl_parse_encrypted_pms()3568 diff |= peer_pms[0] ^ ver[0]; in ssl_parse_encrypted_pms()3569 diff |= peer_pms[1] ^ ver[1]; in ssl_parse_encrypted_pms()3578 mask = - ( ( diff | - diff ) >> ( sizeof( unsigned int ) * 8 - 1 ) ); in ssl_parse_encrypted_pms()3601 if( diff != 0 ) in ssl_parse_encrypted_pms()
257 unsigned char diff; in x509_memcasecmp() local262 diff = n1[i] ^ n2[i]; in x509_memcasecmp()264 if( diff == 0 ) in x509_memcasecmp()267 if( diff == 32 && in x509_memcasecmp()
82 unsigned char diff = 0; in mbedtls_safer_memcmp() local85 diff |= A[i] ^ B[i]; in mbedtls_safer_memcmp()87 return( diff ); in mbedtls_safer_memcmp()
2244 const size_t diff = x ^ y; in mbedtls_mpi_cf_bool_eq() local2254 const size_t diff_msb = ( diff | (size_t) -diff ); in mbedtls_mpi_cf_bool_eq()
1045 const size_t diff = x ^ y; in mbedtls_ssl_cf_bool_eq() local1055 const size_t diff_msb = ( diff | -diff ); in mbedtls_ssl_cf_bool_eq()
87 char diff; in generic_check() local140 diff = 0; in generic_check()142 diff |= line[i] ^ buf[i]; in generic_check()144 if( diff != 0 ) in generic_check()
95 unsigned char diff; in main() local518 diff = 0; in main()520 diff |= digest[i] ^ buffer[i]; in main()522 if( diff != 0 ) in main()
526 if ! git diff --quiet include/mbedtls/mbedtls_config.h; then850 diff -u ChangeLog ChangeLog.new || true
54 if git diff --quiet ../include/mbedtls/mbedtls_config.h 2>/dev/null; then
Completed in 54 milliseconds