openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_PkeyCopyCtx()

int32_t CRYPT_EAL_PkeyCopyCtx ( CRYPT_EAL_PkeyCtx to,
const CRYPT_EAL_PkeyCtx from 
)

Copy the pkey context.

参数
to[IN/OUT] Target pkey context
from[IN] Source pkey context
返回值
#CRYPT_SUCCESS.For other error codes, see crypt_errno.h.