10.06.2016 Views

eldo_user

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Eldo Netlist Setup<br />

Protection of Encrypted Libraries<br />

encrypted library, the .LIB command in the netlist is a regular .LIB command (that is, whether<br />

the device model library is encrypted or not does not change the usage).<br />

Eldo decides if access is granted or denied by calling a function in the IP access library. This<br />

function must be coded by the IP provider, and it is in charge of interrogating the provider’s<br />

license daemon to grant/deny access to the necessary feature. See “Creating the IP Access<br />

Library” on page 151.<br />

As it would be too easy to fool this system by replacing the IP access library by another<br />

dynamic library which always returns ‘ALLOWED’, Eldo verifies that the checksum of the<br />

loaded library is the same as the one specified in the .IP_protect command. That means that if a<br />

new IP access library is compiled, the .IP_protect command must be rebuilt, and the model<br />

library re-encrypted, as the CRC will have changed. Note that a CRC is platform dependent, and<br />

therefore several CRCs must be provided in the .IP_protect command to accommodate the<br />

various targeted platforms (ixl and so on).<br />

The standalone executable, <strong>eldo</strong>_checksum.exe, generates the CRC of the library. This is<br />

available in the standard AMS distribution, located in the $MGC_AMS_HOME/$VCO/bin<br />

directory.<br />

For example, run:<br />

$MGC_AMS_HOME/$VCO/bin/<strong>eldo</strong>_checksum.exe <br />

where NameOfTheAccessLibrary is a .so file on Linux. Specify this name without its extension.<br />

The utility returns a CRC value which must be provided to the .IP_protect command. It must be<br />

run once for each platform.<br />

The NameOfTheIPprovider character string is used to display correct messages to the final <strong>user</strong><br />

if there is a problem during the license check-out.<br />

Related Topics<br />

Coding and Encrypting a Protected Library<br />

Creating the IP Access Library<br />

Installing a Protected Library<br />

List of Encryption Errors and Warnings<br />

Creating the IP Access Library<br />

The required Eldo interface of the IP access library must contain two functions:<br />

ty_lib_status * get_license_third_party(char *feature);<br />

ty_lib_status * release_license_third_party(char *feature);<br />

Eldo® User's Manual, 15.3 151

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!