Searched refs:HksKeyPurpose (Results 1 – 7 of 7) sorted by relevance
108 enum HksKeyPurpose pur;114 enum HksKeyPurpose pur;120 enum HksKeyPurpose pur;126 enum HksKeyPurpose pur;
208 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()
346 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()
117 enum HksKeyPurpose { enum
30 static enum HksKeyPurpose g_purposeToHksKeyPurpose[] = {
27 static enum HksKeyPurpose g_purposeToHksKeyPurpose[] = {
29 static enum HksKeyPurpose g_purposeToHksKeyPurpose[] = {