Searched refs:uc (Results 1 – 1 of 1) sorted by relevance
51 static int ascii2uc(const char c, unsigned char *uc) in ascii2uc() argument54 *uc = c - '0'; in ascii2uc()56 *uc = c - 'a' + 10; in ascii2uc()58 *uc = c - 'A' + 10; in ascii2uc()196 unsigned char uc, uc2; in mbedtls_test_unhexify() local210 if ( ascii2uc( *(ibuf++), &uc ) != 0 ) in mbedtls_test_unhexify()216 *(obuf++) = ( uc << 4 ) | uc2; in mbedtls_test_unhexify()