Home
last modified time | relevance | path

Searched refs:HksKeyPurpose (Results 1 – 7 of 7) sorted by relevance

/base/security/huks/services/huks_standard/huks_engine/main/core/include/
Dhks_core_service.h108 enum HksKeyPurpose pur;
114 enum HksKeyPurpose pur;
120 enum HksKeyPurpose pur;
126 enum HksKeyPurpose pur;
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_sm2.c208 uint8_t *keyPair, const struct KeyMaterialEcc *size, enum HksKeyPurpose keyPurpose) in ConstructSm2ParamsFromRawKey()
261 static EVP_PKEY *Sm2InitKey(const struct HksBlob *keyBlob, enum HksKeyPurpose keyPurpose) in Sm2InitKey()
310 static int32_t SetDigestIfNeeded(enum HksKeyPurpose keyPurpose, uint32_t digest, const struct HksBl… in SetDigestIfNeeded()
341 static EVP_PKEY_CTX *InitSm2Ctx(const struct HksBlob *mainKey, uint32_t digest, enum HksKeyPurpose in InitSm2Ctx()
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/
Ddcm_attest.c346 static inline bool IsSignPurpose(enum HksKeyPurpose purpose) in IsSignPurpose()
352 static inline bool IsCipherPurpose(enum HksKeyPurpose purpose) in IsCipherPurpose()
360 static inline bool IsAgreementPurpose(enum HksKeyPurpose purpose) in IsAgreementPurpose()
615 if (IsSignPurpose((enum HksKeyPurpose)usage)) { in EncodeKeyUsageBits()
619 if (IsCipherPurpose((enum HksKeyPurpose)usage)) { in EncodeKeyUsageBits()
623 if (IsAgreementPurpose((enum HksKeyPurpose)usage)) { in EncodeKeyUsageBits()
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h117 enum HksKeyPurpose { enum
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/
Dhuks_adapter.c30 static enum HksKeyPurpose g_purposeToHksKeyPurpose[] = {
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/
Dhuks_adapter.c27 static enum HksKeyPurpose g_purposeToHksKeyPurpose[] = {
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dhuks_adapter.c29 static enum HksKeyPurpose g_purposeToHksKeyPurpose[] = {