Home
last modified time | relevance | path

Searched refs:returnObj (Results 1 – 25 of 43) sorted by relevance

12

/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/inc/
Dsm2_openssl.h27 HcfResult HcfSignSpiSm2Create(HcfSignatureParams *params, HcfSignSpi **returnObj);
28 HcfResult HcfVerifySpiSm2Create(HcfSignatureParams *params, HcfVerifySpi **returnObj);
Ddsa_openssl.h27 HcfResult HcfSignSpiDsaCreate(HcfSignatureParams *params, HcfSignSpi **returnObj);
28 HcfResult HcfVerifySpiDsaCreate(HcfSignatureParams *params, HcfVerifySpi **returnObj);
Decdsa_openssl.h27 HcfResult HcfSignSpiEcdsaCreate(HcfSignatureParams *params, HcfSignSpi **returnObj);
28 HcfResult HcfVerifySpiEcdsaCreate(HcfSignatureParams *params, HcfVerifySpi **returnObj);
Dsignature_rsa_openssl.h33 HcfResult HcfSignSpiRsaCreate(HcfSignatureParams *params, HcfSignSpi **returnObj);
34 HcfResult HcfVerifySpiRsaCreate(HcfSignatureParams *params, HcfVerifySpi **returnObj);
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
Dsm2_asy_key_generator_openssl.c266 static HcfResult PackSm2PubKey(int32_t curveId, EC_KEY *ecKey, HcfOpensslSm2PubKey **returnObj) in PackSm2PubKey() argument
282 *returnObj = returnPubKey; in PackSm2PubKey()
286 static HcfResult PackSm2PriKey(int32_t curveId, EC_KEY *ecKey, HcfOpensslSm2PriKey **returnObj) in PackSm2PriKey() argument
303 *returnObj = returnPriKey; in PackSm2PriKey()
308 HcfOpensslSm2KeyPair **returnObj) in PackSm2KeyPair() argument
320 *returnObj = returnKeyPair; in PackSm2KeyPair()
408 EC_KEY *ecKey, HcfKeyPair **returnObj) in CreateAndAssignKeyPair() argument
441 *returnObj = (HcfKeyPair *)returnKeyPair; in CreateAndAssignKeyPair()
445 static HcfResult EngineGenerateKeyPair(HcfAsyKeyGeneratorSpi *self, HcfKeyPair **returnObj) in EngineGenerateKeyPair() argument
447 if ((self == NULL) || (returnObj == NULL)) { in EngineGenerateKeyPair()
[all …]
/base/security/crypto_framework/interfaces/innerkits/key/
Dasy_key_generator.h80 HcfResult HcfAsyKeyGeneratorCreate(const char *algoName, HcfAsyKeyGenerator **returnObj);
82 …GeneratorBySpecCreate(const HcfAsyKeyParamsSpec *paramsSpec, HcfAsyKeyGeneratorBySpec **returnObj);
Dsym_key_generator.h63 HcfResult HcfSymKeyGeneratorCreate(const char *algoName, HcfSymKeyGenerator **returnObj);
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/key_agreement/inc/
Decdh_openssl.h27 …Result HcfKeyAgreementSpiEcdhCreate(HcfKeyAgreementParams *params, HcfKeyAgreementSpi **returnObj);
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/inc/
Dsm2_asy_key_generator_openssl.h27 …sult HcfAsyKeyGeneratorSpiSm2Create(HcfAsyKeyGenParams *params, HcfAsyKeyGeneratorSpi **returnObj);
Decc_asy_key_generator_openssl.h27 …sult HcfAsyKeyGeneratorSpiEccCreate(HcfAsyKeyGenParams *params, HcfAsyKeyGeneratorSpi **returnObj);
Ddsa_asy_key_generator_openssl.h27 …sult HcfAsyKeyGeneratorSpiDsaCreate(HcfAsyKeyGenParams *params, HcfAsyKeyGeneratorSpi **returnObj);
/base/security/crypto_framework/interfaces/innerkits/crypto_operation/
Dsignature.h77 HcfResult HcfSignCreate(const char *algoName, HcfSign **returnObj);
79 HcfResult HcfVerifyCreate(const char *algoName, HcfVerify **returnObj);
Dkey_agreement.h39 HcfResult HcfKeyAgreementCreate(const char *algoName, HcfKeyAgreement **returnObj);
/base/security/device_auth/services/session_manager/inc/session/v2/auth_sub_session/protocol_lib/
Diso_protocol.h33 int32_t CreateIsoProtocol(const void *baseParams, bool isClient, BaseProtocol **returnObj);
Dec_speke_protocol.h39 int32_t CreateEcSpekeProtocol(const void *baseParams, bool isClient, BaseProtocol **returnObj);
/base/security/crypto_framework/frameworks/crypto_operation/
Dkey_agreement.c154 HcfResult HcfKeyAgreementCreate(const char *algoName, HcfKeyAgreement **returnObj) in HcfKeyAgreementCreate() argument
156 if ((!IsStrValid(algoName, HCF_MAX_ALGO_NAME_LEN)) || (returnObj == NULL)) { in HcfKeyAgreementCreate()
194 *returnObj = (HcfKeyAgreement *)returnGenerator; in HcfKeyAgreementCreate()
Dsignature.c399 HcfResult HcfSignCreate(const char *algoName, HcfSign **returnObj) in HcfSignCreate() argument
402 if ((!IsStrValid(algoName, HCF_MAX_ALGO_NAME_LEN)) || (returnObj == NULL)) { in HcfSignCreate()
446 *returnObj = (HcfSign *)returnSign; in HcfSignCreate()
451 HcfResult HcfVerifyCreate(const char *algoName, HcfVerify **returnObj) in HcfVerifyCreate() argument
454 if ((!IsStrValid(algoName, HCF_MAX_ALGO_NAME_LEN)) || (returnObj == NULL)) { in HcfVerifyCreate()
495 *returnObj = (HcfVerify *)returnVerify; in HcfVerifyCreate()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/key_agreement/src/
Decdh_openssl.c169 …fResult HcfKeyAgreementSpiEcdhCreate(HcfKeyAgreementParams *params, HcfKeyAgreementSpi **returnObj) in HcfKeyAgreementSpiEcdhCreate() argument
171 if ((params == NULL) || (returnObj == NULL)) { in HcfKeyAgreementSpiEcdhCreate()
186 *returnObj = (HcfKeyAgreementSpi *)returnImpl; in HcfKeyAgreementSpiEcdhCreate()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
Decdsa_openssl.c314 HcfResult HcfSignSpiEcdsaCreate(HcfSignatureParams *params, HcfSignSpi **returnObj) in HcfSignSpiEcdsaCreate() argument
316 if ((params == NULL) || (returnObj == NULL)) { in HcfSignSpiEcdsaCreate()
350 *returnObj = (HcfSignSpi *)returnImpl; in HcfSignSpiEcdsaCreate()
354 HcfResult HcfVerifySpiEcdsaCreate(HcfSignatureParams *params, HcfVerifySpi **returnObj) in HcfVerifySpiEcdsaCreate() argument
356 if ((params == NULL) || (returnObj == NULL)) { in HcfVerifySpiEcdsaCreate()
390 *returnObj = (HcfVerifySpi *)returnImpl; in HcfVerifySpiEcdsaCreate()
Dsm2_openssl.c338 HcfResult HcfSignSpiSm2Create(HcfSignatureParams *params, HcfSignSpi **returnObj) in HcfSignSpiSm2Create() argument
340 if ((params == NULL) || (returnObj == NULL)) { in HcfSignSpiSm2Create()
374 *returnObj = (HcfSignSpi *)returnImpl; in HcfSignSpiSm2Create()
378 HcfResult HcfVerifySpiSm2Create(HcfSignatureParams *params, HcfVerifySpi **returnObj) in HcfVerifySpiSm2Create() argument
380 if ((params == NULL) || (returnObj == NULL)) { in HcfVerifySpiSm2Create()
414 *returnObj = (HcfVerifySpi *)returnImpl; in HcfVerifySpiSm2Create()
/base/security/device_auth/services/session_manager/inc/session/
Ddev_session_fwk.h43 …evSession(int64_t sessionId, const char *appId, SessionInitParams *params, DevSession **returnObj);
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/
Dauth_sub_session.c140 …CreateAuthSubSession(int32_t protocolType, void *params, bool isClient, AuthSubSession **returnObj) in CreateAuthSubSession() argument
142 if ((params == NULL) || (returnObj == NULL)) { in CreateAuthSubSession()
173 *returnObj = (AuthSubSession *)impl; in CreateAuthSubSession()
/base/security/crypto_framework/frameworks/key/
Dsym_key_generator.c182 HcfResult HcfSymKeyGeneratorCreate(const char *algoName, HcfSymKeyGenerator **returnObj) in HcfSymKeyGeneratorCreate() argument
184 if (!IsStrValid(algoName, HCF_MAX_ALGO_NAME_LEN) || (returnObj == NULL)) { in HcfSymKeyGeneratorCreate()
224 *returnObj = (HcfSymKeyGenerator *)returnGenerator; in HcfSymKeyGeneratorCreate()
/base/security/device_auth/services/session_manager/inc/session/v2/expand_sub_session/
Dexpand_sub_session.h42 …ateExpandSubSession(const Uint8Buff *nonce, const Uint8Buff *encKey, ExpandSubSession **returnObj);
/base/security/crypto_framework/frameworks/spi/
Dasy_key_generator_spi.h40 HcfResult (*engineGenerateKeyPair)(HcfAsyKeyGeneratorSpi *self, HcfKeyPair **returnObj);

12