crypto/ringlwe/ringlwe_key.c
/* Get public key from a key pair */
Get public key from a key pair
Get public key from a key pair
RLWE_PUB *RLWE_PAIR_get_publickey(RLWE_PAIR *pair) {
  if (pair == NULL)
    return NULL;
  if (pair->keys_set == 0)
    return NULL;
  return pair->pub;
}
RLWE_PUB * RLWE_PAIR_get_publickey ( RLWE_PAIR * pair ) { if ( pair == NULL ) return NULL ; if ( pair -> keys_set == 0 ) return NULL ; return pair -> pub ; }
Get public key from a key pair
Get public key from a key pair