DH: Obtain p g plen glen by using the key handle.
- Attention
- If the p and g parameters are null pointers, only the lengths of p and g are obtained.
- Parameters
-
| key | [IN] Key handle |
| p | [OUT] p Parameter |
| plen | [IN/OUT] IN: Maximum length of data padding OUT: p Parameter length |
| g | [OUT] g Parameter |
| glen | [IN/OUT] IN: Maximum length of data padding OUT: g Parameter length |
- Return values
-
| 0 | indicates success. Other values indicate failure. |