Cargo Features

ntrust-native has no features set by default.

[dependencies]
ntrust-native = { version = "1.0.1", features = ["ntruhps2048677", "ntruhps4096821", "ntruhrss701", "ntruhps", "ntruhrss"] }
ntruhps2048509 ntruhps2048677 = ntruhps

Affects api::CRYPTO_PUBLICKEYBYTES, api::CRYPTO_SECRETKEYBYTES, api::CRYPTO_CIPHERTEXTBYTES, api::CRYPTO_ALGNAME, params::NTRU_N, packq::poly_sq_tobytes, packq::poly_sq_frombytes, params::NTRU_LOGQ

ntruhps4096821 = ntruhps

Affects api::CRYPTO_PUBLICKEYBYTES, api::CRYPTO_SECRETKEYBYTES, api::CRYPTO_CIPHERTEXTBYTES, api::CRYPTO_ALGNAME, packq::poly_sq_tobytes, packq::poly_sq_frombytes, params::NTRU_N, params::NTRU_LOGQ

ntruhrss701 = ntruhrss

Affects api::CRYPTO_PUBLICKEYBYTES, api::CRYPTO_SECRETKEYBYTES, api::CRYPTO_CIPHERTEXTBYTES, api::CRYPTO_ALGNAME, packq::poly_sq_tobytes, packq::poly_sq_frombytes, sample::sample_iid_plus

ntruhps ntruhps2048509? ntruhps2048677? ntruhps4096821?

Affects crypto_sort_int32::crypto_sort_int32, owcpa::owcpa_check_m, params::NTRU_SAMPLE_FG_BYTES, params::NTRU_SAMPLE_RM_BYTES, poly_lift::poly_lift

ntruhrss ntruhrss701?

Affects params::NTRU_N, params::NTRU_LOGQ, params::NTRU_SAMPLE_FG_BYTES, params::NTRU_SAMPLE_RM_BYTES, poly_lift::poly_lift