|
@@ -197,6 +197,7 @@ pub mod ffi
|
|
|
type CryptoContextDCRTPoly;
|
|
type CryptoContextDCRTPoly;
|
|
|
type CryptoParametersBaseDCRTPoly;
|
|
type CryptoParametersBaseDCRTPoly;
|
|
|
type DCRTPoly;
|
|
type DCRTPoly;
|
|
|
|
|
+ type DCRTPolyImpl;
|
|
|
type DCRTPolyParams;
|
|
type DCRTPolyParams;
|
|
|
type DecryptResult;
|
|
type DecryptResult;
|
|
|
type EncodingParams;
|
|
type EncodingParams;
|
|
@@ -727,6 +728,12 @@ pub mod ffi
|
|
|
fn DCRTPolyGenNullParams() -> UniquePtr<DCRTPolyParams>;
|
|
fn DCRTPolyGenNullParams() -> UniquePtr<DCRTPolyParams>;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // DCRTPolyImpl
|
|
|
|
|
+ unsafe extern "C++"
|
|
|
|
|
+ {
|
|
|
|
|
+ fn DCRTPolyGenFromDug(params: &ILDCRTParams) -> UniquePtr<DCRTPolyImpl>;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// KeyPairDCRTPoly
|
|
// KeyPairDCRTPoly
|
|
|
unsafe extern "C++"
|
|
unsafe extern "C++"
|
|
|
{
|
|
{
|