Searched refs:mbedtls_ct_uchar_mask_of_range (Results 1 – 3 of 3) sorted by relevance
/third_party/mbedtls/library/ |
D | constant_time.c | 164 unsigned char mbedtls_ct_uchar_mask_of_range( unsigned char low, in mbedtls_ct_uchar_mask_of_range() function 336 digit |= mbedtls_ct_uchar_mask_of_range( 0, 25, value ) & ( 'A' + value ); in mbedtls_ct_base64_enc_char() 337 digit |= mbedtls_ct_uchar_mask_of_range( 26, 51, value ) & ( 'a' + value - 26 ); in mbedtls_ct_base64_enc_char() 338 digit |= mbedtls_ct_uchar_mask_of_range( 52, 61, value ) & ( '0' + value - 52 ); in mbedtls_ct_base64_enc_char() 339 digit |= mbedtls_ct_uchar_mask_of_range( 62, 62, value ) & '+'; in mbedtls_ct_base64_enc_char() 340 digit |= mbedtls_ct_uchar_mask_of_range( 63, 63, value ) & '/'; in mbedtls_ct_base64_enc_char() 351 val |= mbedtls_ct_uchar_mask_of_range( 'A', 'Z', c ) & ( c - 'A' + 0 + 1 ); in mbedtls_ct_base64_dec_value() 352 val |= mbedtls_ct_uchar_mask_of_range( 'a', 'z', c ) & ( c - 'a' + 26 + 1 ); in mbedtls_ct_base64_dec_value() 353 val |= mbedtls_ct_uchar_mask_of_range( '0', '9', c ) & ( c - '0' + 52 + 1 ); in mbedtls_ct_base64_dec_value() 354 val |= mbedtls_ct_uchar_mask_of_range( '+', '+', c ) & ( c - '+' + 62 + 1 ); in mbedtls_ct_base64_dec_value() [all …]
|
D | constant_time_invasive.h | 45 unsigned char mbedtls_ct_uchar_mask_of_range( unsigned char low,
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_base64.function | 28 unsigned char m = mbedtls_ct_uchar_mask_of_range( low, high, c );
|