Lines Matching refs:p
44 unsigned char *p; in mbedtls_base64_encode() local
67 for (i = 0, p = dst; i < n; i += 3) { in mbedtls_base64_encode()
72 *p++ = mbedtls_ct_base64_enc_char((C1 >> 2) & 0x3F); in mbedtls_base64_encode()
73 *p++ = mbedtls_ct_base64_enc_char((((C1 & 3) << 4) + (C2 >> 4)) in mbedtls_base64_encode()
75 *p++ = mbedtls_ct_base64_enc_char((((C2 & 15) << 2) + (C3 >> 6)) in mbedtls_base64_encode()
77 *p++ = mbedtls_ct_base64_enc_char(C3 & 0x3F); in mbedtls_base64_encode()
84 *p++ = mbedtls_ct_base64_enc_char((C1 >> 2) & 0x3F); in mbedtls_base64_encode()
85 *p++ = mbedtls_ct_base64_enc_char((((C1 & 3) << 4) + (C2 >> 4)) in mbedtls_base64_encode()
89 *p++ = mbedtls_ct_base64_enc_char(((C2 & 15) << 2) & 0x3F); in mbedtls_base64_encode()
91 *p++ = '='; in mbedtls_base64_encode()
94 *p++ = '='; in mbedtls_base64_encode()
97 *olen = p - dst; in mbedtls_base64_encode()
98 *p = 0; in mbedtls_base64_encode()
115 unsigned char *p; in mbedtls_base64_decode() local
182 for (x = 0, p = dst; i > 0; i--, src++) { in mbedtls_base64_decode()
196 *p++ = MBEDTLS_BYTE_2(x); in mbedtls_base64_decode()
198 *p++ = MBEDTLS_BYTE_1(x); in mbedtls_base64_decode()
201 *p++ = MBEDTLS_BYTE_0(x); in mbedtls_base64_decode()
206 *olen = p - dst; in mbedtls_base64_decode()