crypto/ringlwe/ringlwe_key.c
/* Return value of q from context */
Return value of q from context
Return value of q from context
RINGELT RLWE_CTX_get_q(RLWE_CTX *ctx) {
  if (ctx == NULL) return 0;
  if (ctx->param_data == NULL) return 0;
  return ctx->param_data->q;
}
RINGELT RLWE_CTX_get_q ( RLWE_CTX * ctx ) { if ( ctx == NULL ) return 0 ; if ( ctx -> param_data == NULL ) return 0 ; return ctx -> param_data -> q ; }
Return value of q from context
Return value of q from context