Searched defs:sharedSecret (Results 1 – 7 of 7) sorted by relevance
| /third_party/openhitls/tls/crypt/crypt_self/ |
| D | crypt_default.c | 173 …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()
|
| D | hitls_crypt.c | 728 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/ |
| D | test_suite_sdv_eal_hpke.c | 118 …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/ |
| D | crypt.c | 665 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/ |
| D | hpke.c | 72 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/ |
| D | stub_crypt.c | 217 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/ |
| D | hitls_crypt_reg.h | 42 uint8_t *sharedSecret; /**< [OUT] Generated shared secret */ member
|