Lines Matching refs:end
70 const unsigned char *end ) in dhm_read_bignum() argument
74 if( end - *p < 2 ) in dhm_read_bignum()
80 if( (int)( end - *p ) < n ) in dhm_read_bignum()
131 const unsigned char *end ) in mbedtls_dhm_read_params() argument
135 if( ( ret = dhm_read_bignum( &ctx->P, p, end ) ) != 0 || in mbedtls_dhm_read_params()
136 ( ret = dhm_read_bignum( &ctx->G, p, end ) ) != 0 || in mbedtls_dhm_read_params()
137 ( ret = dhm_read_bignum( &ctx->GY, p, end ) ) != 0 ) in mbedtls_dhm_read_params()
420 unsigned char *p, *end; in mbedtls_dhm_parse_dhm() local
449 end = p + dhminlen; in mbedtls_dhm_parse_dhm()
458 if( ( ret = mbedtls_asn1_get_tag( &p, end, &len, in mbedtls_dhm_parse_dhm()
465 end = p + len; in mbedtls_dhm_parse_dhm()
467 if( ( ret = mbedtls_asn1_get_mpi( &p, end, &dhm->P ) ) != 0 || in mbedtls_dhm_parse_dhm()
468 ( ret = mbedtls_asn1_get_mpi( &p, end, &dhm->G ) ) != 0 ) in mbedtls_dhm_parse_dhm()
474 if( p != end ) in mbedtls_dhm_parse_dhm()
480 ret = mbedtls_asn1_get_mpi( &p, end, &rec ); in mbedtls_dhm_parse_dhm()
487 if ( p != end ) in mbedtls_dhm_parse_dhm()