openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_PkeyDupCtx()

CRYPT_EAL_PkeyCtx * CRYPT_EAL_PkeyDupCtx ( const CRYPT_EAL_PkeyCtx pkey)

Copy the Pkey context. After the duplication is complete, call the CRYPT_EAL_PkeyFreeCtx interface to release the memory.

参数
ctx[IN] Source Pkey context
返回值
CRYPT_EAL_PkeyCtx,Pkeycontext pointer. NULL, if the operation fails.