Lines Matching refs:p
48 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize() local
135 unsigned char **p, unsigned char *end, in ssl_cookie_hmac() argument
140 if( (size_t)( end - *p ) < COOKIE_HMAC_LEN ) in ssl_cookie_hmac()
151 memcpy( *p, hmac_out, COOKIE_HMAC_LEN ); in ssl_cookie_hmac()
152 *p += COOKIE_HMAC_LEN; in ssl_cookie_hmac()
161 unsigned char **p, unsigned char *end, in mbedtls_ssl_cookie_write() argument
171 if( (size_t)( end - *p ) < COOKIE_LEN ) in mbedtls_ssl_cookie_write()
180 (*p)[0] = (unsigned char)( t >> 24 ); in mbedtls_ssl_cookie_write()
181 (*p)[1] = (unsigned char)( t >> 16 ); in mbedtls_ssl_cookie_write()
182 (*p)[2] = (unsigned char)( t >> 8 ); in mbedtls_ssl_cookie_write()
183 (*p)[3] = (unsigned char)( t ); in mbedtls_ssl_cookie_write()
184 *p += 4; in mbedtls_ssl_cookie_write()
191 ret = ssl_cookie_hmac( &ctx->hmac_ctx, *p - 4, in mbedtls_ssl_cookie_write()
192 p, end, cli_id, cli_id_len ); in mbedtls_ssl_cookie_write()
212 unsigned char *p = ref_hmac; in mbedtls_ssl_cookie_check() local
228 &p, p + sizeof( ref_hmac ), in mbedtls_ssl_cookie_check()