Searched refs:digit (Results 1 – 3 of 3) sorted by relevance
/mbedtls-3.6.0/library/ |
D | base64.c | 28 unsigned char digit = 0; in mbedtls_ct_base64_enc_char() local 32 digit |= mbedtls_ct_uchar_in_range_if(0, 25, value, 'A' + value); in mbedtls_ct_base64_enc_char() 33 digit |= mbedtls_ct_uchar_in_range_if(26, 51, value, 'a' + value - 26); in mbedtls_ct_base64_enc_char() 34 digit |= mbedtls_ct_uchar_in_range_if(52, 61, value, '0' + value - 52); in mbedtls_ct_base64_enc_char() 35 digit |= mbedtls_ct_uchar_in_range_if(62, 62, value, '+'); in mbedtls_ct_base64_enc_char() 36 digit |= mbedtls_ct_uchar_in_range_if(63, 63, value, '/'); in mbedtls_ct_base64_enc_char() 37 return digit; in mbedtls_ct_base64_enc_char()
|
D | x509_crt.c | 2735 for (uint8_t digit; num_digits < 4; num_digits++) { in x509_inet_pton_ipv6() local 2736 if (li_cton(*p, digit) == 0) { in x509_inet_pton_ipv6() 2739 group = (group << 4) | digit; in x509_inet_pton_ipv6() 2828 uint8_t digit, num_digits = 0; in x509_inet_pton_ipv4() local 2835 digit = *p - '0'; in x509_inet_pton_ipv4() 2836 if (digit > 9) { in x509_inet_pton_ipv4() 2846 octet = octet * 10 + digit; in x509_inet_pton_ipv4()
|
/mbedtls-3.6.0/tests/suites/ |
D | test_suite_base64.function | 25 unsigned char digit = mbedtls_ct_base64_enc_char(value); 27 TEST_CF_PUBLIC(&digit, sizeof(digit)); 28 TEST_EQUAL(digit, base64_digits[value]);
|