The node you are looking for is at
gnutls_sec_param_to_symmetric_bits
.