|
◆ CRYPT_EAL_PkeyEncrypt()
int32_t CRYPT_EAL_PkeyEncrypt |
( |
const CRYPT_EAL_PkeyCtx * |
pkey, |
|
|
const uint8_t * |
data, |
|
|
uint32_t |
dataLen, |
|
|
uint8_t * |
out, |
|
|
uint32_t * |
outLen |
|
) |
| |
Encrypt data.
- 参数
-
pkey | [IN] Key session |
data | [IN] Input plaintext data. |
dataLen | [IN] Input plaintext data length. |
out | [OUT] Encrypted data. The buff length of the memory used to store the encrypted data must be greater than or equal to the key modulus length. |
outLen | [OUT/IN] Encrypted data length. |
- 返回值
-
|