Intel EP80579 Benutzerhandbuch

Seite von 76
Intel
®
 EP80579 Software for Security Applications on Intel
®
 QuickAssist Technology
August 2009
PG
Order Number: 320183-004US
73
Using the Intel
®
 QuickAssist Technology Cryptographic API—Security Software
12.8.3.5
DSA Signature Verification
1. Define a DSA callback function as per DSA generic callback API prototype, see the 
API manual. If synchronous operation is preferred, instead simply pass NULL to the 
API for the callback parameter.
2. Allocate memory for the operation
3. Populate data for the appropriate operation data structure, see the API manual 
• Fill in the Flat Buffers; pointer to data and length
4. Call the appropriate operation perform DSA API
5. Completion of the operation, see 
 
12.8.3.6
RSA Key Generation Type 1 and Type 2
1. Define a RSA callback function as per the API prototype, see the API manual. If 
synchronous operation is preferred, instead simply pass NULL to the API for the 
callback parameter.
2. Allocate memory for the operation 
3. Populate the RSA operation data structure, see the API manual
• Fill in the Flat Buffers; pointer to data and length
4. Call the operation perform RSA API 
5. Completion of the operation, see 
12.8.3.7
RSA Encryption and Signature Verification
1. Define a RSA callback function as per the API prototype, see the API manual. If 
synchronous operation is preferred, instead simply pass NULL to the API for the 
callback parameter.
2. Allocate memory for the operation 
3. Populate the appropriate RSA operation data structure, see the API manual
• Fill in the Flat Buffers; pointer to data and length
4. Call the operation perform RSA API 
5. Completion of the operation, see 
12.8.3.8
RSA Decryption and Signature Generation
1. Define a RSA callback function as per the API prototype, see the API manual. If 
synchronous operation is preferred, instead simply pass NULL to the API for the 
callback parameter.
2. Allocate memory for the operation 
3. Populate the appropriate RSA operation data structure, see the API manual
• Fill in the Flat Buffers; pointer to data and length
4. Call the operation perform RSA API 
5. Completion of the operation, see 
 
12.8.3.9
Large Number Operations - Modular Exponentiation & Inversion
1. Define a Large Number callback function as per the API prototype, see the API 
manual. If synchronous operation is preferred, instead simply pass NULL to the API 
for the callback parameter.