Home
last modified time | relevance | path

Searched refs:HksBlob (Results 1 – 25 of 467) sorted by relevance

12345678910>>...19

/base/security/huks/frameworks/huks_standard/main/common/include/
Dhks_crypto_hal.h41 struct HksBlob salt;
42 struct HksBlob info;
48 struct HksBlob nonce;
49 struct HksBlob aad;
51 struct HksBlob tagDec;
58 struct HksBlob iv;
118 typedef int32_t (*GetMainKey)(const struct HksBlob *, struct HksBlob *);
120 typedef int32_t (*GenerateKey)(const struct HksKeySpec *, struct HksBlob *);
122 typedef int32_t (*PubKey)(const struct HksBlob *, struct HksBlob *);
124 typedef int32_t (*DeriveKey)(const struct HksBlob *, const struct HksKeySpec *, struct HksBlob *);
[all …]
Dhks_check_paramset.h28 int32_t HksCoreCheckGenKeyParams(const struct HksBlob *keyAlias, const struct HksParamSet *paramSet,
29 const struct HksBlob *keyIn, const struct HksBlob *keyOut, uint32_t keyFlag);
31 int32_t HksCoreCheckImportKeyParams(const struct HksBlob *keyAlias, const struct HksBlob *key,
32 const struct HksParamSet *paramSet, const struct HksBlob *keyOut);
34 int32_t HksCoreCheckImportWrappedKeyParams(const struct HksBlob *key, const struct HksBlob *wrapped…
35 const struct HksParamSet *paramSet, struct HksBlob *keyOut, uint32_t *outUnwrapSuite);
37 int32_t HksCoreCheckSignVerifyParams(uint32_t cmdId, const struct HksBlob *key, const struct HksPar…
38 const struct HksBlob *srcData, const struct HksBlob *signature);
40 int32_t HksCoreCheckCipherParams(uint32_t cmdId, const struct HksBlob *key, const struct HksParamSe…
41 const struct HksBlob *inData, const struct HksBlob *outData);
[all …]
Dhks_common_check.h37 int32_t HksCheckBlob4(const struct HksBlob *data1, const struct HksBlob *data2,
38 const struct HksBlob *data3, const struct HksBlob *data4);
40 int32_t HksCheckBlob3(const struct HksBlob *data1, const struct HksBlob *data2, const struct HksBlo…
42 int32_t HksCheckBlob2(const struct HksBlob *data1, const struct HksBlob *data2);
46 int32_t HksCheckBlob4AndParamSet(const struct HksBlob *data1, const struct HksBlob *data2,
47 const struct HksBlob *data3, const struct HksBlob *data4, const struct HksParamSet *paramSet);
49 int32_t HksCheckBlob3AndParamSet(const struct HksBlob *data1, const struct HksBlob *data2,
50 const struct HksBlob *data3, const struct HksParamSet *paramSet);
52 int32_t HksCheckBlob2AndParamSet(const struct HksBlob *data1, const struct HksBlob *data2,
55 int32_t HksCheckBlobAndParamSet(const struct HksBlob *data, const struct HksParamSet *paramSet);
[all …]
/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,
33 const struct HksBlob *keyIn, struct HksBlob *keyOut);
35 int32_t HuksAccessImportKey(const struct HksBlob *keyAlias, const struct HksBlob *key,
36 const struct HksParamSet *paramSet, struct HksBlob *keyOut);
38 int32_t HuksAccessImportWrappedKey(const struct HksBlob *wrappingKeyAlias, const struct HksBlob *ke…
39 … const struct HksBlob *wrappedKeyData, const struct HksParamSet *paramSet, struct HksBlob *keyOut);
41 int32_t HuksAccessExportPublicKey(const struct HksBlob *key, const struct HksParamSet *paramSet,
42 struct HksBlob *keyOut);
44 int32_t HuksAccessInit(const struct HksBlob *key, const struct HksParamSet *paramSet, struct HksBl…
45 struct HksBlob *token);
[all …]
Dhks_client_service.h34 int32_t HksServiceRefreshKeyInfo(const struct HksBlob *processName);
36 int32_t HksServiceGenerateKey(const struct HksProcessInfo *processInfo, const struct HksBlob *keyAl…
37 const struct HksParamSet *paramSetIn, struct HksBlob *keyOut);
39 int32_t HksServiceSign(const struct HksProcessInfo *processInfo, const struct HksBlob *keyAlias,
40 const struct HksParamSet *paramSet, const struct HksBlob *srcData, struct HksBlob *signature);
42 int32_t HksServiceVerify(const struct HksProcessInfo *processInfo, const struct HksBlob *keyAlias,
43 …const struct HksParamSet *paramSet, const struct HksBlob *srcData, const struct HksBlob *signature…
45 int32_t HksServiceEncrypt(const struct HksProcessInfo *processInfo, const struct HksBlob *keyAlias,
46 … const struct HksParamSet *paramSet, const struct HksBlob *plainText, struct HksBlob *cipherText);
48 int32_t HksServiceDecrypt(const struct HksProcessInfo *processInfo, const struct HksBlob *keyAlias,
[all …]
Dhks_client_check.h33 int32_t HksCheckProcessNameAndKeyAlias(const struct HksBlob *processName, const struct HksBlob *key…
35 int32_t HksCheckGenAndImportKeyParams(const struct HksBlob *processName, const struct HksBlob *keyA…
36 const struct HksParamSet *paramSetIn, const struct HksBlob *key);
38 int32_t HksCheckImportWrappedKeyParams(const struct HksBlob *processName, const struct HksBlob *key…
39 …const struct HksBlob *wrappingKeyAlias, const struct HksParamSet *paramSetIn, const struct HksBlob
41 int32_t HksCheckAllParams(const struct HksBlob *processName, const struct HksBlob *keyAlias,
42 const struct HksParamSet *paramSet, const struct HksBlob *data1, const struct HksBlob *data2);
44 int32_t HksCheckGetKeyParamSetParams(const struct HksBlob *processName, const struct HksBlob *keyAl…
47 int32_t HksCheckGenerateRandomParams(const struct HksBlob *processName, const struct HksBlob *rando…
49 int32_t HksCheckExportPublicKeyParams(const struct HksBlob *processName, const struct HksBlob *keyA…
[all …]
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/
Dhks_ipc_serialization.h26 int32_t GetBlobFromBuffer(struct HksBlob *blob, const struct HksBlob *srcBlob, uint32_t *srcOffset);
28 int32_t HksGenerateKeyUnpack(const struct HksBlob *srcData, struct HksBlob *keyAlias,
29 struct HksParamSet **paramSetIn, struct HksBlob *keyOut);
31 int32_t HksImportKeyUnpack(const struct HksBlob *srcData, struct HksBlob *keyAlias, struct HksParam…
32 struct HksBlob *key);
34 int32_t HksImportWrappedKeyUnpack(const struct HksBlob *srcData, struct HksBlob *keyAlias,
35 … struct HksBlob *wrappingKeyAlias, struct HksParamSet **paramSet, struct HksBlob *wrappedKeyData);
37 int32_t HksExportPublicKeyUnpack(const struct HksBlob *srcData, struct HksBlob *keyAlias, struct Hk…
39 int32_t HksGetKeyParamSetUnpack(const struct HksBlob *srcData, struct HksBlob *keyAlias,
42 int32_t HksSignUnpack(const struct HksBlob *srcData, struct HksBlob *key, struct HksParamSet **para…
[all …]
Dhks_ipc_service.h25 void HksIpcServiceGenerateKey(const struct HksBlob *srcData, const uint8_t *context);
27 void HksIpcServiceImportKey(const struct HksBlob *srcData, const uint8_t *context);
29 void HksIpcServiceExportPublicKey(const struct HksBlob *srcData, const uint8_t *context);
31 void HksIpcServiceImportWrappedKey(const struct HksBlob *srcData, const uint8_t *context);
33 void HksIpcServiceDeleteKey(const struct HksBlob *srcData, const uint8_t *context);
35 void HksIpcServiceGetKeyParamSet(const struct HksBlob *srcData, const uint8_t *context);
37 void HksIpcServiceKeyExist(const struct HksBlob *srcData, const uint8_t *context);
39 void HksIpcServiceGenerateRandom(const struct HksBlob *srcData, const uint8_t *context);
41 void HksIpcServiceSign(const struct HksBlob *srcData, const uint8_t *context);
43 void HksIpcServiceVerify(const struct HksBlob *srcData, const uint8_t *context);
[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,
29 struct HksBlob *keyOut);
31 int32_t HksTeeProcessInit(uint32_t cmdId, const struct HksBlob *key, const struct HksParamSet *para…
34 int32_t HksTeeProcessMultiUpdate(uint32_t cmdId, uint64_t operationHandle, const struct HksBlob *in…
35 struct HksBlob *outData);
37 int32_t HksTeeSign(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet,
38 const struct HksBlob *srcData, struct HksBlob *signature);
40 int32_t HksTeeVerify(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet,
41 const struct HksBlob *srcData, const struct HksBlob *signature);
43 int32_t HksTeeEncrypt(const struct HksBlob *keyBlob, const struct HksParamSet *paramSet,
[all …]
Dhks_ca_access.c34 int32_t HksAccessGenerateKey(const struct HksBlob *keyBlob, const struct HksParamSet *paramSetIn, in HksAccessGenerateKey()
35 const struct HksBlob *keyIn, struct HksBlob *keyOut) in HksAccessGenerateKey()
41 int32_t HksAccessSign(const struct HksBlob *key, const struct HksParamSet *paramSet, in HksAccessSign()
42 const struct HksBlob *srcData, struct HksBlob *signature) in HksAccessSign()
47 int32_t HksAccessVerify(const struct HksBlob *key, const struct HksParamSet *paramSet, in HksAccessVerify()
48 const struct HksBlob *srcData, const struct HksBlob *signature) in HksAccessVerify()
53 int32_t HksAccessEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, in HksAccessEncrypt()
54 const struct HksBlob *plainText, struct HksBlob *cipherText) in HksAccessEncrypt()
59 int32_t HksAccessDecrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, in HksAccessDecrypt()
60 const struct HksBlob *cipherText, struct HksBlob *plainText) in HksAccessDecrypt()
[all …]
/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,
32 const struct HksBlob *keyIn, struct HksBlob *keyOut);
34 int32_t HksCoreSign(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct Hks…
35 struct HksBlob *signature);
37 int32_t HksCoreVerify(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct H…
38 const struct HksBlob *signature);
40 int32_t HksCoreEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct
41 struct HksBlob *cipherText);
43 int32_t HksCoreDecrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct
44 struct HksBlob *plainText);
[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,
32 int32_t HksClientImportKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSet,
33 const struct HksBlob *key);
35 int32_t HksClientExportPublicKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSet,
36 struct HksBlob *key);
38 int32_t HksClientImportWrappedKey(const struct HksBlob *keyAlias, const struct HksBlob *wrappingKey…
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);
[all …]
Dhks_ipc_serialization.h32 int32_t CopyUint32ToBuffer(uint32_t value, const struct HksBlob *destBlob, uint32_t *destOffset);
34 int32_t HksGenerateKeyPack(struct HksBlob *destData, const struct HksBlob *keyAlias,
35 const struct HksParamSet *paramSetIn, const struct HksBlob *keyOut);
37 int32_t HksImportKeyPack(struct HksBlob *destData, const struct HksBlob *keyAlias, const struct Hks…
38 const struct HksBlob *key);
40 int32_t HksImportWrappedKeyPack(struct HksBlob *destData, const struct HksBlob *keyAlias,
41 …const struct HksBlob *wrappingKeyAlias, const struct HksParamSet *paramSet, const struct HksBlob *…
43 int32_t HksExportPublicKeyPack(struct HksBlob *destData, const struct HksBlob *keyAlias, const stru…
45 int32_t HksGetKeyParamSetPack(struct HksBlob *destData, const struct HksBlob *keyAlias, const struc…
47 int32_t HksOnceParamPack(struct HksBlob *destData, const struct HksBlob *key, const struct HksParam…
[all …]
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_api.h38 HKS_API_EXPORT int32_t HksGetSdkVersion(struct HksBlob *sdkVersion);
59 HKS_API_EXPORT int32_t HksGenerateKey(const struct HksBlob *keyAlias,
69 HKS_API_EXPORT int32_t HksImportKey(const struct HksBlob *keyAlias,
70 const struct HksParamSet *paramSet, const struct HksBlob *key);
80 HKS_API_EXPORT int32_t HksImportWrappedKey(const struct HksBlob *keyAlias, const struct HksBlob *wr…
81 const struct HksParamSet *paramSet, const struct HksBlob *wrappedKeyData);
90 HKS_API_EXPORT int32_t HksExportPublicKey(const struct HksBlob *keyAlias,
91 const struct HksParamSet *paramSet, struct HksBlob *key);
99 HKS_API_EXPORT int32_t HksDeleteKey(const struct HksBlob *keyAlias, const struct HksParamSet *param…
108 HKS_API_EXPORT int32_t HksGetKeyParamSet(const struct HksBlob *keyAlias,
[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,
28 const struct HksBlob *srcData, struct HksBlob *mac);
30 …sLocalHash(const struct HksParamSet *paramSet, const struct HksBlob *srcData, struct HksBlob *hash…
32 int32_t HksLocalBnExpMod(struct HksBlob *x, const struct HksBlob *a, const struct HksBlob *e, const…
36 int32_t HksLocalEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet,
37 const struct HksBlob *plainText, struct HksBlob *cipherText);
39 int32_t HksLocalDecrypt(const struct HksBlob *key, const struct HksParamSet *paramSet,
40 const struct HksBlob *cipherText, struct HksBlob *plainText);
42 int32_t HksLocalAgreeKey(const struct HksParamSet *paramSet, const struct HksBlob *privateKey,
43 const struct HksBlob *peerPublicKey, struct HksBlob *agreedKey);
[all …]
/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()
48 const struct HksBlob *keyIn, struct HksBlob *keyOut)) in ENABLE_CFI()
53 ENABLE_CFI(int32_t HuksAccessImportKey(const struct HksBlob *keyAlias, const struct HksBlob *key, in ENABLE_CFI()
54 const struct HksParamSet *paramSet, struct HksBlob *keyOut)) in ENABLE_CFI()
59 …_CFI(int32_t HuksAccessImportWrappedKey(const struct HksBlob *wrappingKeyAlias, const struct HksBl… 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()
66 struct HksBlob *keyOut)) in ENABLE_CFI()
71 ENABLE_CFI(int32_t HuksAccessInit(const struct HksBlob *key, const struct HksParamSet *paramSet, in ENABLE_CFI()
72 struct HksBlob *handle, struct HksBlob *token)) in ENABLE_CFI()
[all …]
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/include/
Dopenssl_rsa_helper.h31 int32_t SaveRsaKeyToHksBlob(EVP_PKEY *pkey, const uint32_t keySize, struct HksBlob *key);
35 bool OpensslGetx509PubKey(EVP_PKEY *pkey, struct HksBlob *x509Key);
37 int32_t X509ToRsaPublicKey(struct HksBlob *x509Key, struct HksBlob *publicKey);
39 int32_t EncryptRsa(const struct HksBlob *inData, struct HksBlob *outData, struct HksBlob *key, int …
42 int32_t DecryptRsa(const struct HksBlob *inData, struct HksBlob *outData, struct HksBlob *key, int …
45 int32_t OpensslSignRsa(const struct HksBlob *plainText, struct HksBlob *signData, struct HksBlob *k…
48 int32_t OpensslVerifyRsa(const struct HksBlob *plainText, struct HksBlob *signData, struct HksBlob
51 int32_t OpensslRsaSignWithNoneDegist(struct HksBlob *key, int padding, const struct HksBlob *messag…
52 struct HksBlob *signature);
54 int32_t OpensslRsaVerifyWithNoneDegist(struct HksBlob *key, int padding, const struct HksBlob *mess…
[all …]
Dopenssl_ecc_helper.h31 int32_t EccGenerateKey(const int keyLen, struct HksBlob *key);
33 int32_t EcdsaSign(const struct HksBlob *key, int digest, const struct HksBlob *message, struct HksB…
36 …const struct HksBlob *key, int digest, const struct HksBlob *message, const struct HksBlob *signat…
38 int32_t GetEccPubKey(const struct HksBlob *input, struct HksBlob *output);
40 int32_t X509ToHksBlob(const struct HksBlob *x509Key, struct HksBlob *publicKey);
42 int32_t HksBlobToX509(const struct HksBlob *key, struct HksBlob *x509Key);
45 …const int keyLen, const struct HksBlob *nativeKey, const struct HksBlob *pubKey, struct HksBlob *s…
47 int32_t SignVerifyWithDigestNone(const struct HksBlob *key, const struct HksBlob *message, struct H…
/base/security/huks/test/unittest/huks_lite_test/common/include/
Dhks_test_api_performance.h25 int32_t HksGenerateKeyRun(const struct HksBlob *keyAlias, const struct HksParamSet *paramSetIn,
28 int32_t HksEncryptRun(const struct HksBlob *key, const struct HksParamSet *paramSet,
29 const struct HksBlob *plainText, struct HksBlob *cipherText, uint32_t performTimes);
31 int32_t HksDecryptRun(const struct HksBlob *key, const struct HksParamSet *paramSet,
32 const struct HksBlob *cipherText, struct HksBlob *plainText, uint32_t performTimes);
34 int32_t HksMacRun(const struct HksBlob *key, const struct HksParamSet *paramSet,
35 const struct HksBlob *srcData, struct HksBlob *mac, uint32_t performTimes);
37 int32_t HksDeriveKeyRun(const struct HksParamSet *paramSet, const struct HksBlob *masterKey,
38 struct HksBlob *derivedKey, uint32_t performTimes);
41 int32_t HksDeleteKeyRun(const struct HksBlob *keyAlias, uint32_t performTimes);
[all …]
Dhks_test_cipher.h22 const struct HksBlob *keyAlias;
24 struct HksBlob *plainData;
25 struct HksBlob *cipherData;
26 struct HksBlob **ivData;
27 struct HksBlob **nonceData;
28 struct HksBlob **aadData;
33 struct HksBlob *keyAlias;
35 struct HksBlob *cipherData;
36 struct HksBlob *decryptedData;
37 struct HksBlob **ivData;
[all …]
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/include/
Dhks_test_api_performance.h27 int32_t HksGenerateKeyRun(const struct HksBlob *keyAlias, const struct HksParamSet *paramSetIn,
30 int32_t HksEncryptRun(const struct HksBlob *key, const struct HksParamSet *paramSet,
31 const struct HksBlob *plainText, struct HksBlob *cipherText, uint32_t performTimes);
33 int32_t HksDecryptRun(const struct HksBlob *key, const struct HksParamSet *paramSet,
34 const struct HksBlob *cipherText, struct HksBlob *plainText, uint32_t performTimes);
36 int32_t HksMacRun(const struct HksBlob *key, const struct HksParamSet *paramSet,
37 const struct HksBlob *srcData, struct HksBlob *mac, uint32_t performTimes);
39 int32_t HksDeriveKeyRun(const struct HksParamSet *paramSet, const struct HksBlob *masterKey,
40 struct HksBlob *derivedKey, uint32_t performTimes);
42 int32_t HksDeleteKeyRun(const struct HksBlob *keyAlias, uint32_t performTimes);
[all …]
Dhks_test_cipher.h22 struct HksBlob *keyAlias;
24 struct HksBlob *plainData;
25 struct HksBlob *cipherData;
26 struct HksBlob **ivData;
27 struct HksBlob **nonceData;
28 struct HksBlob **aadData;
33 struct HksBlob *keyAlias;
35 struct HksBlob *cipherData;
36 struct HksBlob *decryptedData;
37 struct HksBlob **ivData;
[all …]
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/include/
Dhks_openssl_aes.h32 int32_t HksOpensslAesGenerateKey(const struct HksKeySpec *spec, struct HksBlob *key);
38 int32_t HksOpensslAesEncryptInit(void **cryptoCtx, const struct HksBlob *key, const struct HksUsage…
40 int32_t HksOpensslAesEncryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *…
42 int32_t HksOpensslAesEncryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *…
43 struct HksBlob *tagAead);
45 int32_t HksOpensslAesDecryptInit(void **cryptoCtx, const struct HksBlob *key, const struct HksUsage…
47 int32_t HksOpensslAesDecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *…
49 int32_t HksOpensslAesDecryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *…
50 struct HksBlob *tagAead);
54 int32_t HksOpensslAesEncrypt(const struct HksBlob *key, const struct HksUsageSpec *usageSpec,
[all …]
Dhks_openssl_sm4.h30 int32_t HksOpensslSm4GenerateKey(const struct HksKeySpec *spec, struct HksBlob *key);
33 int32_t HksOpensslSm4EncryptInit(void **cryptoCtx, const struct HksBlob *key, const struct HksUsage…
35 int32_t HksOpensslSm4EncryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *…
37 int32_t HksOpensslSm4EncryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *…
38 struct HksBlob *tagAead);
40 int32_t HksOpensslSm4DecryptInit(void **cryptoCtx, const struct HksBlob *key, const struct HksUsage…
42 int32_t HksOpensslSm4DecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *…
44 int32_t HksOpensslSm4DecryptFinal(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *…
45 struct HksBlob *tagAead);
48 int32_t HksOpensslSm4Encrypt(const struct HksBlob *key, const struct HksUsageSpec *usageSpec,
[all …]
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_interfaces.c43 int32_t HuksHdiGenerateKey(const struct HksBlob *keyAlias, const struct HksParamSet *paramSet, in HuksHdiGenerateKey()
44 const struct HksBlob *keyIn, struct HksBlob *keyOut) in HuksHdiGenerateKey()
49 int32_t HuksHdiImportKey(const struct HksBlob *keyAlias, const struct HksBlob *key, in HuksHdiImportKey()
50 const struct HksParamSet *paramSet, struct HksBlob *keyOut) in HuksHdiImportKey()
55 int32_t HuksHdiImportWrappedKey(const struct HksBlob *keyAlias, const struct HksBlob *key, in HuksHdiImportWrappedKey()
56 … const struct HksBlob *wrappedKeyData, const struct HksParamSet *paramSet, struct HksBlob *keyOut) in HuksHdiImportWrappedKey()
61 int32_t HuksHdiExportPublicKey(const struct HksBlob *key, const struct HksParamSet *paramSet, struc… in HuksHdiExportPublicKey()
66 int32_t HuksHdiInit(const struct HksBlob *key, const struct HksParamSet *paramSet, struct HksBlob in HuksHdiInit()
67 struct HksBlob *token) in HuksHdiInit()
72 int32_t HuksHdiUpdate(const struct HksBlob *handle, const struct HksParamSet *paramSet, const struc… in HuksHdiUpdate()
[all …]

12345678910>>...19