On Friday, April 28, 2017 at 5:36:45 PM UTC-4, Farukh Sharipov wrote:
>
> Hi 
>
> I am new to this group and pardon me if this is repeated questions. 
>
> Is there are way to call NIST validated FIPS Crypto++ v5.3 from .NET C#?
>
> If yes what would be steps to accomplish this? 
>

I believe you can call C++ from C# using interop; see 
http://stackoverflow.com/q/2211867/608639.

Typically, you use a wrapper DLL that exports a bunch of C functions. Your 
wrapper DLL links to the static version of Crypto++. This allows you to 
control symbol visibility (only your symbols are exported rather than all 
Crypto++ symbols). 

In your case, because you are using the FIPS DLL, your wrapper DLL only 
provides the C symbols to be called by C#. The C++ symbols will still be 
visible, but you won't use them because you are using your C symbols.

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to