API参考
载入中...
搜索中...
未找到
HITLS_CRYPT_EcdhMethod结构体 参考

ECDH Callback function to be registered 更多...

#include <hitls_crypt_reg.h>

HITLS_CRYPT_EcdhMethod 的协作图:

Public 属性

CRYPT_GenerateEcdhKeyPairCallback generateEcdhKeyPair
CRYPT_FreeEcdhKeyCallback freeEcdhKey
CRYPT_GetEcdhEncodedPubKeyCallback getEcdhPubKey
CRYPT_CalcEcdhSharedSecretCallback calcEcdhSharedSecret
CRYPT_Sm2CalcEcdhSharedSecretCallback sm2CalEcdhSharedSecret
CRYPT_KemEncapsulateCallback kemEncapsulate
CRYPT_KemDecapsulateCallback kemDecapsulate

详细描述

ECDH Callback function to be registered

类成员变量说明

◆ calcEcdhSharedSecret

CRYPT_CalcEcdhSharedSecretCallback HITLS_CRYPT_EcdhMethod::calcEcdhSharedSecret

ECDH: calculate the shared key based on the local key and peer public key.

◆ freeEcdhKey

CRYPT_FreeEcdhKeyCallback HITLS_CRYPT_EcdhMethod::freeEcdhKey

ECDH: release the elliptic curve key.

◆ generateEcdhKeyPair

CRYPT_GenerateEcdhKeyPairCallback HITLS_CRYPT_EcdhMethod::generateEcdhKeyPair

ECDH: generate a key pair based on the elliptic curve parameters.

◆ getEcdhPubKey

CRYPT_GetEcdhEncodedPubKeyCallback HITLS_CRYPT_EcdhMethod::getEcdhPubKey

ECDH: extract public key data.

◆ kemDecapsulate

CRYPT_KemDecapsulateCallback HITLS_CRYPT_EcdhMethod::kemDecapsulate

KEM: decapsulate the ciphertext

◆ kemEncapsulate

CRYPT_KemEncapsulateCallback HITLS_CRYPT_EcdhMethod::kemEncapsulate

KEM: encapsulate a shared secret


该结构体的文档由以下文件生成: