Home
last modified time | relevance | path

Searched refs:HksParamSet (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/asymmetric_alg_test/
Dhks_rsa_sign_verify_test_common.h28 int32_t HksRsaSignVerifyTestNormalCase(struct HksBlob keyAlias, struct HksParamSet *genParamSet,
29 struct HksParamSet *signParamSet, struct HksParamSet *verifyParamSet);
32 …struct HksParamSet *genParamSet, struct HksParamSet *signParamSet, struct HksParamSet *verifyParam…
35 …struct HksParamSet *genParamSet, struct HksParamSet *signParamSet, struct HksParamSet *verifyParam…
37 int32_t HksRSASignVerifyTestAbnormalCase(struct HksBlob keyAlias, struct HksParamSet *genParamSet,
38 struct HksParamSet *signParamSet, struct HksParamSet *verifyParamSet);
40 …struct HksParamSet *genParamSet, struct HksParamSet *signParamSet, struct HksParamSet *verifyParam…
41 int32_t HksTestSignVerify(struct HksBlob *keyAlias, struct HksParamSet *paramSet, const struct HksB…
43 int32_t HksRsaSignVerifyTestParamPSSaltLenFailureCase(struct HksBlob keyAlias, struct HksParamSet *…
44 struct HksParamSet *signParamSet, struct HksParamSet *verifyParamSet);
Dhks_ecdh_agree_test_common.h28 …const struct HksParamSet *initParamSet, const struct HksParamSet *finishParamSet, struct HksBlob *…
30 const struct HksParamSet *initParamSet);
32 struct HksBlob *publicKey1, struct HksBlob *publicKey2, const struct HksParamSet *genParamSet);
33 void HksEcdhAgreeFreeParamSet(struct HksParamSet *paramSet1, struct HksParamSet *paramSet2,
34 struct HksParamSet *paramSet3);
35 void HksEcdhAgreeFreeParamSet(struct HksParamSet *paramSet1, struct HksParamSet *paramSet2,
36 struct HksParamSet *paramSet3, struct HksParamSet *paramSet4, struct HksParamSet *paramSet5);
Dhks_rsa_cipher_test_common.h52 int32_t HksRsaCipherTestCase(const struct HksBlob *keyAlias, struct HksParamSet *genParamSet,
53 …struct HksParamSet *encryptParamSet, struct HksParamSet *decryptParamSet, const struct HksBlob *in…
54 int32_t HksRsaCipherTestCaseAbnormal(const struct HksBlob *keyAlias, struct HksParamSet *genParamSe…
55 …struct HksParamSet *encryptParamSet, struct HksParamSet *decryptParamSet, const struct HksBlob *in…
56 int32_t HksRsaCipherTestEncrypt(const struct HksBlob *keyAlias, const struct HksParamSet *encryptPa…
58 int32_t HksRsaCipherTestEncryptAbnormal(const struct HksBlob *keyAlias, const struct HksParamSet *e…
60 int32_t HksRsaCipherTestDecrypt(const struct HksBlob *keyAlias, const struct HksParamSet *decryptPa…
Dhks_ecc_sign_verify_test_common.h28 int32_t HksEccSignVerifyTestNormalCase(struct HksBlob keyAlias, struct HksParamSet *genParamSet,
29 struct HksParamSet *signParamSet, struct HksParamSet *verifyParamSet, uint32_t loopIndex);
30 int32_t HksTestSignVerify(struct HksBlob *keyAlias, struct HksParamSet *paramSet, const struct HksB…
32 int32_t HksTestSignVerifyParamAbsent(struct HksBlob keyAlias, struct HksParamSet *genParamSet,
33 struct HksParamSet *signParamSet);
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/symmetric_alg_test/
Dhks_aes_cipher_test_common.h38 int32_t HksAesCipherTestEncrypt(const struct HksBlob *keyAlias, const struct HksParamSet *encryptPa…
40 int32_t HksAesCipherTestDecrypt(const struct HksBlob *keyAlias, const struct HksParamSet *decryptPa…
42 int32_t HksAesCipherTestCaseOther(const struct HksBlob *keyAlias, struct HksParamSet *genParamSet,
43 struct HksParamSet *encryptParamSet, struct HksParamSet *decryptParamSet);
44 int32_t HksAesCipherTestCaseGcm1(const struct HksBlob *keyAlias, struct HksParamSet *genParamSet,
45 struct HksParamSet *encryptParamSet, struct HksParamSet *decryptParamSet);
46 int32_t HksAesCipherTestCaseGcm2(const struct HksBlob *keyAlias, struct HksParamSet *genParamSet,
47 …struct HksParamSet *encryptParamSet, struct HksParamSet *decryptParamSet, struct HksParamSet *decr…
48 int32_t HksAesCipherTestParamAbsentCase(const struct HksBlob *keyAlias, struct HksParamSet *genPara…
49 struct HksParamSet *encryptParamSet, struct HksParamSet *decryptParamSet);
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_api.h60 const struct HksParamSet *paramSetIn, struct HksParamSet *paramSetOut);
70 const struct HksParamSet *paramSet, const struct HksBlob *key);
81 const struct HksParamSet *paramSet, const struct HksBlob *wrappedKeyData);
91 const struct HksParamSet *paramSet, struct HksBlob *key);
99 HKS_API_EXPORT int32_t HksDeleteKey(const struct HksBlob *keyAlias, const struct HksParamSet *param…
109 const struct HksParamSet *paramSetIn, struct HksParamSet *paramSetOut);
118 HKS_API_EXPORT int32_t HksKeyExist(const struct HksBlob *keyAlias, const struct HksParamSet *paramS…
126 HKS_API_EXPORT int32_t HksGenerateRandom(const struct HksParamSet *paramSet, struct HksBlob *random…
136 HKS_API_EXPORT int32_t HksSign(const struct HksBlob *key, const struct HksParamSet *paramSet,
147 HKS_API_EXPORT int32_t HksVerify(const struct HksBlob *key, const struct HksParamSet *paramSet,
[all …]
Dhks_param.h31 #define HKS_DEFAULT_PARAM_CNT ((uint32_t)((HKS_DEFAULT_PARAM_SET_SIZE - sizeof(struct HksParamSet))…
44 HKS_API_EXPORT int32_t HksInitParamSet(struct HksParamSet **paramSet);
54 HKS_API_EXPORT int32_t HksAddParams(struct HksParamSet *paramSet,
62 HKS_API_EXPORT int32_t HksBuildParamSet(struct HksParamSet **paramSet);
69 HKS_API_EXPORT void HksFreeParamSet(struct HksParamSet **paramSet);
78 HKS_API_EXPORT int32_t HksGetParamSet(const struct HksParamSet *inParamSet, uint32_t inParamSetSize,
79 struct HksParamSet **outParamSet);
88 HKS_API_EXPORT int32_t HksGetParam(const struct HksParamSet *paramSet, uint32_t tag, struct HksPara…
96 HKS_API_EXPORT int32_t HksFreshParamSet(struct HksParamSet *paramSet, bool isCopy);
103 HKS_API_EXPORT int32_t HksCheckParamSetTag(const struct HksParamSet *paramSet);
[all …]
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/include/
Dhks_client_ipc.h29 int32_t HksClientGenerateKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSetIn,
30 struct HksParamSet *paramSetOut);
32 int32_t HksClientImportKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSet,
35 int32_t HksClientExportPublicKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSet,
39 const struct HksParamSet *paramSet, const struct HksBlob *wrappedKeyData);
41 int32_t HksClientDeleteKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSet);
43 int32_t HksClientGetKeyParamSet(const struct HksBlob *keyAlias, struct HksParamSet *paramSetOut);
45 int32_t HksClientKeyExist(const struct HksBlob *keyAlias, const struct HksParamSet *paramSet);
47 int32_t HksClientGenerateRandom(struct HksBlob *random, const struct HksParamSet *paramSet);
49 int32_t HksClientSign(const struct HksBlob *key, const struct HksParamSet *paramSet,
[all …]
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_import_wrapped_sm2_suite_test.h37 struct HksParamSet *genWrappingKeyParam;
40 struct HksParamSet *genCallerKeyParam;
42 struct HksParamSet *signParam;
44 struct HksParamSet *deriveKey1Param;
45 struct HksParamSet *deriveKey2Param;
48 struct HksParamSet *importderiveKey1Param;
50 struct HksParamSet *importderiveKey2Param;
53 struct HksParamSet *importKekParam;
55 struct HksParamSet *hmacParam;
57 struct HksParamSet *sm2EncryptParam;
[all …]
Dhks_hkdf_derive_test_common.h30 int32_t HksHkdfDeriveTestNormalCase(const struct HksBlob keyAlias, const struct HksParamSet *genPar…
31 struct HksParamSet *DeriveParamSet, struct HksParamSet *DeriveFinalParamsSet, int32_t cmpRet);
32 int32_t HksHkdfDeriveTestCmpCase(const struct HksBlob keyAlias, const struct HksParamSet *genParamS…
33 struct HksParamSet *DeriveParamSet, struct HksParamSet *DeriveFinalParamsSet);
Dhks_pbkdf2_derive_test_common.h31 int32_t HksPbkdf2DeriveTestNormalCase(const struct HksBlob keyAlias, const struct HksParamSet *genP…
32 struct HksParamSet *deriveParamSet, struct HksParamSet *deriveFinalParamsSet);
33 int32_t HksPbkdf2DeriveTestCmpCase(const struct HksBlob keyAlias, const struct HksParamSet *genPara…
34 struct HksParamSet *deriveParamSet, struct HksParamSet *deriveFinalParamsSet);
/base/security/huks/services/huks_standard/huks_engine/main/core/include/
Dhks_core_service.h31 int32_t HksCoreGenerateKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSet,
34 int32_t HksCoreSign(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct Hks…
37 int32_t HksCoreVerify(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct H…
40 int32_t HksCoreEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct …
43 int32_t HksCoreDecrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct …
46 int32_t HksCoreGenerateRandom(const struct HksParamSet *paramSet, struct HksBlob *random);
49 const struct HksParamSet *paramSet, struct HksBlob *keyOut);
51 int32_t HksCoreExportPublicKey(const struct HksBlob *key, const struct HksParamSet *paramSet, struc…
53 int32_t HksCoreAgreeKey(const struct HksParamSet *paramSet, const struct HksBlob *privateKey,
56 int32_t HksCoreDeriveKey(const struct HksParamSet *paramSet, const struct HksBlob *mainKey, struct …
[all …]
Dhks_core_service_three_stage.h33 int32_t HksCoreSignVerifyThreeStageInit(const struct HuksKeyNode *keyNode, const struct HksParamSet
36 …reSignVerifyThreeStageUpdate(const struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet,
39 …reSignVerifyThreeStageFinish(const struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet,
42 …oreSignVerifyThreeStageAbort(const struct HuksKeyNode *keyNode, const struct HksParamSet *paramSet,
45 int32_t HksCoreCryptoThreeStageInit(const struct HuksKeyNode *keyNode, const struct HksParamSet *pa…
48 int32_t HksCoreCryptoThreeStageUpdate(const struct HuksKeyNode *keyNode, const struct HksParamSet *…
51 int32_t HksCoreEncryptThreeStageFinish(const struct HuksKeyNode *keyNode, const struct HksParamSet
54 int32_t HksCoreCryptoThreeStageAbort(const struct HuksKeyNode *keyNode, const struct HksParamSet *p…
57 int32_t HksCoreDecryptThreeStageFinish(const struct HuksKeyNode *keyNode, const struct HksParamSet
60 int32_t HksCoreDeriveThreeStageInit(const struct HuksKeyNode *keyNode, const struct HksParamSet *pa…
[all …]
Dhks_secure_access.h25 int32_t HksCoreSecureAccessInitParams(struct HuksKeyNode *keyNode, const struct HksParamSet *initPa…
28 int32_t HksCoreSecureAccessVerifyParams(struct HuksKeyNode *keyNode, const struct HksParamSet *para…
31 … const struct HksParamSet *inParamSet, const struct HksBlob *inData, struct HksBlob *appendedData);
34 … const struct HksParamSet *inParamSet, const struct HksBlob *inData, struct HksBlob *appendedData);
37 const struct HksParamSet *inParamSet, uint32_t inOutDataOriginSize, struct HksBlob *inOutData);
39 int32_t HksProcessIdentityVerify(const struct HksParamSet *blobParamSet, const struct HksParamSet *…
41 int32_t HksCheckKeybBlobIsSupportUserAuth(const struct HksParamSet *blobParamSet, bool *isSupport);
/base/security/huks/services/huks_standard/huks_service/main/core/include/
Dhuks_access.h32 int32_t HuksAccessGenerateKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSetIn,
36 const struct HksParamSet *paramSet, struct HksBlob *keyOut);
39 … const struct HksBlob *wrappedKeyData, const struct HksParamSet *paramSet, struct HksBlob *keyOut);
41 int32_t HuksAccessExportPublicKey(const struct HksBlob *key, const struct HksParamSet *paramSet,
44 int32_t HuksAccessInit(const struct HksBlob *key, const struct HksParamSet *paramSet, struct HksBl…
47 int32_t HuksAccessUpdate(const struct HksBlob *handle, const struct HksParamSet *paramSet,
50 int32_t HuksAccessFinish(const struct HksBlob *handle, const struct HksParamSet *paramSet,
53 int32_t HuksAccessAbort(const struct HksBlob *handle, const struct HksParamSet *paramSet);
55 int32_t HuksAccessGetKeyProperties(const struct HksParamSet *paramSet, const struct HksBlob *key);
61 int32_t HuksAccessCalcMacHeader(const struct HksParamSet *paramSet, const struct HksBlob *salt,
[all …]
Dhks_client_service.h37 const struct HksParamSet *paramSetIn, struct HksBlob *keyOut);
40 const struct HksParamSet *paramSet, const struct HksBlob *srcData, struct HksBlob *signature);
43 …const struct HksParamSet *paramSet, const struct HksBlob *srcData, const struct HksBlob *signature…
46 … const struct HksParamSet *paramSet, const struct HksBlob *plainText, struct HksBlob *cipherText);
49 … const struct HksParamSet *paramSet, const struct HksBlob *cipherText, struct HksBlob *plainText);
56 struct HksParamSet *paramSet);
61 const struct HksParamSet *paramSet, const struct HksBlob *key);
67 …const struct HksBlob *wrappingKeyAlias, const struct HksParamSet *paramSet, const struct HksBlob *…
69 int32_t HksServiceAgreeKey(const struct HksProcessInfo *processInfo, const struct HksParamSet *para…
72 int32_t HksServiceDeriveKey(const struct HksProcessInfo *processInfo, const struct HksParamSet *par…
[all …]
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_upgrade_key.c52 static int32_t AddAlgParamsTags(const struct HksParamSet *srcParamSet, struct HksParamSet *targetPa… in AddAlgParamsTags()
68 static int32_t AddMandatoryParams(const struct HksParamSet *paramSet, struct HksParamSet *targetPar… in AddMandatoryParams()
84 typedef int32_t (*HksAddUpgradeParam)(const struct HksParamSet *srcParamSet, struct HksParamSet *ta…
91 static int32_t HksAddKeyVersionToParamSet(const struct HksParamSet *srcParamSet, struct HksParamSet in HksAddKeyVersionToParamSet()
98 static int32_t HksAddOsVersionToParamSet(const struct HksParamSet *srcParamSet, struct HksParamSet in HksAddOsVersionToParamSet()
105 static int32_t HksAddOsPatchToParamSet(const struct HksParamSet *srcParamSet, struct HksParamSet *t… in HksAddOsPatchToParamSet()
113 static int32_t HksAddkeyToParamSet(const struct HksParamSet *srcParamSet, struct HksParamSet *targe… in HksAddkeyToParamSet()
137 static int32_t AddMandatoryParamsInCore(const struct HksParamSet *oldKeyBlobParamSet, in AddMandatoryParamsInCore()
138 const struct HksParamSet *srcParamSet, struct HksParamSet **targetParamSet) in AddMandatoryParamsInCore()
140 struct HksParamSet *outParamSet = NULL; in AddMandatoryParamsInCore()
[all …]
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
Dhks_teec.h28 int32_t HksTeeGenerateKey(const struct HksBlob *keyBlob, const struct HksParamSet *paramSetIn,
31 int32_t HksTeeProcessInit(uint32_t cmdId, const struct HksBlob *key, const struct HksParamSet *para…
37 int32_t HksTeeSign(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet,
40 int32_t HksTeeVerify(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet,
43 int32_t HksTeeEncrypt(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet,
46 int32_t HksTeeDecrypt(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet,
49 int32_t HksTeeCheckKeyLegality(const struct HksParamSet *paramSet, const struct HksBlob *key);
51 int32_t HksTeeGenerateRandom(const struct HksParamSet *paramSet, struct HksBlob *random);
53 int32_t HksTeeImportKey(const struct HksBlob *key, const struct HksParamSet *paramSet, struct HksBl…
55 int32_t HksTeeExportPublicKey(const struct HksBlob *key, const struct HksParamSet *paramSet, struct…
[all …]
Dhks_ca_access.c34 int32_t HksAccessGenerateKey(const struct HksBlob *keyBlob, const struct HksParamSet *paramSetIn, in HksAccessGenerateKey()
41 int32_t HksAccessSign(const struct HksBlob *key, const struct HksParamSet *paramSet, in HksAccessSign()
47 int32_t HksAccessVerify(const struct HksBlob *key, const struct HksParamSet *paramSet, in HksAccessVerify()
53 int32_t HksAccessEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, in HksAccessEncrypt()
59 int32_t HksAccessDecrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, in HksAccessDecrypt()
65 int32_t HksAccessGenerateRandom(const struct HksParamSet *paramSet, struct HksBlob *random) in HksAccessGenerateRandom()
71 const struct HksParamSet *paramSet, struct HksBlob *keyOut) in HksAccessImportKey()
77 int32_t HksAccessExportPublicKey(const struct HksBlob *key, const struct HksParamSet *paramSet, in HksAccessExportPublicKey()
83 int32_t HksAccessAgreeKey(const struct HksParamSet *paramSet, const struct HksBlob *privateKey, in HksAccessAgreeKey()
89 int32_t HksAccessDeriveKey(const struct HksParamSet *paramSet, const struct HksBlob *kdfKey, in HksAccessDeriveKey()
[all …]
/base/security/huks/frameworks/huks_standard/main/core/include/
Dhks_local_engine.h27 int32_t HksLocalMac(const struct HksBlob *key, const struct HksParamSet *paramSet,
30 int32_t HksLocalHash(const struct HksParamSet *paramSet, const struct HksBlob *srcData, struct HksB…
34 int32_t HksLocalGenerateKey(const struct HksParamSet *paramSetIn, struct HksParamSet *paramSetOut);
36 int32_t HksLocalEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet,
39 int32_t HksLocalDecrypt(const struct HksBlob *key, const struct HksParamSet *paramSet,
42 int32_t HksLocalAgreeKey(const struct HksParamSet *paramSet, const struct HksBlob *privateKey,
45 int32_t HksLocalDeriveKey(const struct HksParamSet *paramSet, const struct HksBlob *mainKey,
48 int32_t HksLocalSign(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct Hk…
51 int32_t HksLocalVerify(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct …
/base/security/huks/test/unittest/huks_standard_test/module_test/mock/idl/src/
Dhuks_access_mock.c47 ENABLE_CFI(int32_t HuksAccessGenerateKey(const struct HksBlob *keyAlias, const struct HksParamSet *… in ENABLE_CFI()
54 const struct HksParamSet *paramSet, struct HksBlob *keyOut)) in ENABLE_CFI()
60 … const struct HksBlob *wrappedKeyData, const struct HksParamSet *paramSet, struct HksBlob *keyOut)) in ENABLE_CFI()
65 ENABLE_CFI(int32_t HuksAccessExportPublicKey(const struct HksBlob *key, const struct HksParamSet *p… in ENABLE_CFI()
71 ENABLE_CFI(int32_t HuksAccessInit(const struct HksBlob *key, const struct HksParamSet *paramSet, in ENABLE_CFI()
77 ENABLE_CFI(int32_t HuksAccessUpdate(const struct HksBlob *handle, const struct HksParamSet *paramSe… in ENABLE_CFI()
83 ENABLE_CFI(int32_t HuksAccessFinish(const struct HksBlob *handle, const struct HksParamSet *paramSe… in ENABLE_CFI()
89 ENABLE_CFI(int32_t HuksAccessAbort(const struct HksBlob *handle, const struct HksParamSet *paramSet… in ENABLE_CFI()
94 ENABLE_CFI(int32_t HuksAccessGetKeyProperties(const struct HksParamSet *paramSet, const struct HksB… in ENABLE_CFI()
109 ENABLE_CFI(int32_t HuksAccessSign(const struct HksBlob *key, const struct HksParamSet *paramSet, in ENABLE_CFI()
[all …]
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/
Dhks_ipc_serialization.h29 struct HksParamSet **paramSetIn, struct HksBlob *keyOut);
31 …rtKeyUnpack(const struct HksBlob *srcData, struct HksBlob *keyAlias, struct HksParamSet **paramSet,
35 … struct HksBlob *wrappingKeyAlias, struct HksParamSet **paramSet, struct HksBlob *wrappedKeyData);
40 struct HksParamSet **paramSet);
42 int32_t HksSignUnpack(const struct HksBlob *srcData, struct HksBlob *key, struct HksParamSet **para…
45 int32_t HksVerifyUnpack(const struct HksBlob *srcData, struct HksBlob *key, struct HksParamSet **pa…
49 struct HksParamSet **paramSet, struct HksBlob *inputText, struct HksBlob *outputText);
51 int32_t HksAgreeKeyUnpack(const struct HksBlob *srcData, struct HksParamSet **paramSet, struct HksB…
54 int32_t HksDeriveKeyUnpack(const struct HksBlob *srcData, struct HksParamSet **paramSet, struct Hks…
57 int32_t HksHmacUnpack(const struct HksBlob *srcData, struct HksBlob *key, struct HksParamSet **para…
[all …]
/base/security/huks/frameworks/huks_standard/main/common/include/
Dhks_check_paramset.h28 int32_t HksCoreCheckGenKeyParams(const struct HksBlob *keyAlias, const struct HksParamSet *paramSet,
32 const struct HksParamSet *paramSet, const struct HksBlob *keyOut);
35 const struct HksParamSet *paramSet, struct HksBlob *keyOut, uint32_t *outUnwrapSuite);
37 …heckSignVerifyParams(uint32_t cmdId, const struct HksBlob *key, const struct HksParamSet *paramSet,
40 …oreCheckCipherParams(uint32_t cmdId, const struct HksBlob *key, const struct HksParamSet *paramSet,
43 int32_t HksCoreCheckAgreeKeyParams(const struct HksParamSet *paramSet, const struct HksBlob *privat…
46 int32_t HksLocalCheckSignVerifyParams(uint32_t cmdId, uint32_t keySize, const struct HksParamSet *p…
49 int32_t HksLocalCheckCipherParams(uint32_t cmdId, uint32_t keySize, const struct HksParamSet *param…
52 int32_t HksCoreCheckDeriveKeyParams(const struct HksParamSet *paramSet, const struct HksBlob *mainK…
55 int32_t HksCoreCheckMacParams(const struct HksBlob *key, const struct HksParamSet *paramSet,
Dhks_common_check.h44 int32_t HksCheckParamSetValidity(const struct HksParamSet *paramSet);
47 const struct HksBlob *data3, const struct HksBlob *data4, const struct HksParamSet *paramSet);
50 const struct HksBlob *data3, const struct HksParamSet *paramSet);
53 const struct HksParamSet *paramSet);
55 int32_t HksCheckBlobAndParamSet(const struct HksBlob *data, const struct HksParamSet *paramSet);
59 int32_t HksCheckAesAeMode(const struct HksParamSet *paramSet, bool *isAes, bool *isAeMode);
67 int32_t HksCheckKeyNeedStored(const struct HksParamSet *paramSet, bool *isNeedStorage);
69 int32_t HksCheckParamsetOneAndPatamsetTwoExist(const struct HksParamSet *keyBlobParamSet,
70 const struct HksParamSet *runtimeParamSet, uint32_t tag);
72 void SetRsaPssSaltLenType(const struct HksParamSet *paramSet, struct HksUsageSpec *usageSpec);
Dhks_crypto_adapter.h29 void HksFillKeySpec(const struct HksParamSet *paramSet, struct HksKeySpec *spec);
31 void HksFillUsageSpec(const struct HksParamSet *paramSet, struct HksUsageSpec *usageSpec);
35 void HksFillKeyDerivationParam(const struct HksParamSet *paramSet, struct HksKeyDerivationParam *pa…
37 int32_t HksFillAeadParam(const struct HksParamSet *paramSet, struct HksBlob *inputText, struct HksU…
40 int32_t HksFillIvParam(const struct HksParamSet *paramSet, struct HksUsageSpec *usageSpec);
42 int32_t HksBuildCipherUsageSpec(const struct HksParamSet *paramSet, bool isEncrypt, struct HksBlob …
45 int32_t HksGetEncryptAeTag(const struct HksParamSet *paramSet, const struct HksBlob *inData, struct…
52 …tKeyFromMaterial(uint32_t alg, const struct HksBlob *keyMaterial, struct HksParamSet *paramSetOut);

12345678910>>...13