Home
last modified time | relevance | path

Searched defs:sharedSecret (Results 1 – 7 of 7) sorted by relevance

/third_party/openhitls/tls/crypt/crypt_self/
Dcrypt_default.c173 …CRYPT_DEFAULT_CalcSM2SharedSecret(HITLS_Sm2GenShareKeyParameters *sm2Params, uint8_t *sharedSecret, in CRYPT_DEFAULT_CalcSM2SharedSecret()
181 uint8_t *sharedSecret, uint32_t *sharedSecretLen) in CRYPT_DEFAULT_DhCalcSharedSecret()
187 uint8_t *sharedSecret, uint32_t *sharedSecretLen) in CRYPT_DEFAULT_EcdhCalcSharedSecret()
227 uint8_t *sharedSecret, uint32_t *sharedSecretLen) in CRYPT_DEFAULT_KemDecapsulate()
Dhitls_crypt.c728 HITLS_Sm2GenShareKeyParameters *sm2Params, uint8_t *sharedSecret, in HITLS_CRYPT_CalcSM2SharedSecret()
768 uint8_t *sharedSecret, uint32_t *sharedSecretLen) in HITLS_CRYPT_DhCalcSharedSecret()
792 uint8_t *sharedSecret, uint32_t *sharedSecretLen) in HITLS_CRYPT_EcdhCalcSharedSecret()
1200 uint8_t *sharedSecret, uint32_t *sharedSecretLen) in HITLS_CRYPT_KemDecapsulate()
/third_party/openhitls/testcode/sdv/testcase/crypto/hpke/
Dtest_suite_sdv_eal_hpke.c118 …Hex *enc, Hex *sharedSecret, Hex *keyScheduleContext, Hex *secret, Hex *key, Hex *baseNonce, Hex *… in SDV_CRYPT_EAL_HPKE_KEM_TC001()
690 uint8_t *sharedSecret, uint32_t sharedSecretLen) in GenHpkeCtxWithSharedSecret()
726 uint8_t sharedSecret[HPKE_KEM_MAX_SHARED_KEY_LEN]; in HpkeTestImportSharedSecret() local
875 …001(int mode, int kemId, int kdfId, int aeadId, Hex *info, Hex *psk, Hex *pskId, Hex *sharedSecret, in SDV_CRYPT_EAL_HPKE_SHARED_SECRET_TC001()
921 …TC002(int mode, int kemId, int kdfId, int aeadId, Hex *info, Hex *psk,Hex *pskId,Hex *sharedSecret, in SDV_CRYPT_EAL_HPKE_SHARED_SECRET_TC002()
/third_party/openhitls/tls/crypt/crypt_adapt/
Dcrypt.c665 uint8_t *sharedSecret, uint32_t *sharedSecretLen) in SAL_CRYPT_CalcEcdhSharedSecret()
684 …HITLS_Sm2GenShareKeyParameters *sm2ShareKeyParam, uint8_t *sharedSecret, uint32_t *sharedSecretLen) in SAL_CRYPT_CalcSm2dhSharedSecret()
790 …HITLS_CRYPT_Key *key, uint8_t *peerPubkey, uint32_t pubKeyLen, uint8_t *sharedSecret, uint32_t *sh… in SAL_CRYPT_CalcDhSharedSecret()
967 uint8_t *sharedSecret, uint32_t *sharedSecretLen) in SAL_CRYPT_KemDecapsulate()
/third_party/openhitls/crypto/hpke/src/
Dhpke.c72 uint8_t *sharedSecret; member
623 CRYPT_EAL_PkeyCtx *authKey, uint8_t *kemContext, uint32_t kemContextLen, uint8_t *sharedSecret, in HpkeComputeSharedSecret()
709 …uint8_t *encapsulatedKey, uint32_t *encapsulatedKeyLen, uint8_t *sharedSecret, uint32_t sharedSecr… in HpkeEncap()
863 static int32_t HpkeKeySchedule(CRYPT_EAL_HpkeCtx *ctx, uint8_t *sharedSecret, uint32_t sharedSecret… in HpkeKeySchedule()
1001 uint8_t *sharedSecret = BSL_SAL_Malloc(sharedSecretLen); in CRYPT_EAL_HpkeSetupSender() local
1164 uint8_t *sharedSecret, uint32_t sharedSecretLen) in HpkeDecap()
1240 uint8_t *sharedSecret = BSL_SAL_Malloc(sharedSecretLen); in CRYPT_EAL_HpkeSetupRecipient() local
/third_party/openhitls/testcode/framework/tls/crypt/src/
Dstub_crypt.c217 uint8_t *sharedSecret, uint32_t *sharedSecretLen) in STUB_CRYPT_CalcEcdhSharedSecretCallback()
239 uint32_t pubKeyLen, uint8_t *sharedSecret, uint32_t *sharedSecretLen) in STUB_CRYPT_CalcEcdhSharedSecretCallbackLibCtx()
422 uint8_t *sharedSecret, uint32_t *sharedSecretLen) in STUB_CRYPT_CalcDhSharedSecretCallback()
/third_party/openhitls/tls/include/
Dhitls_crypt_reg.h42 uint8_t *sharedSecret; /**< [OUT] Generated shared secret */ member