The node you are looking for is at
gnutls_srp_set_prime_bits
.