Searched refs:importKeyType (Results 1 – 3 of 3) sorted by relevance
251 JSIValue importKeyType = JSI::CreateObject(); in CreateHuksImportKeyType() local253 AddInt32PropertyInLite(importKeyType, "HUKS_KEY_TYPE_PUBLIC_KEY", HKS_KEY_TYPE_PUBLIC_KEY); in CreateHuksImportKeyType()254 AddInt32PropertyInLite(importKeyType, "HUKS_KEY_TYPE_PRIVATE_KEY", HKS_KEY_TYPE_PRIVATE_KEY); in CreateHuksImportKeyType()255 AddInt32PropertyInLite(importKeyType, "HUKS_KEY_TYPE_KEY_PAIR", HKS_KEY_TYPE_KEY_PAIR); in CreateHuksImportKeyType()257 return importKeyType; in CreateHuksImportKeyType()
251 int32_t HksOpensslCheckDhKey(const struct HksBlob *key, enum HksImportKeyType importKeyType) in HksOpensslCheckDhKey() argument254 if (importKeyType == HKS_KEY_TYPE_KEY_PAIR) { in HksOpensslCheckDhKey()256 } else if (importKeyType == HKS_KEY_TYPE_PUBLIC_KEY) { in HksOpensslCheckDhKey()
42 int32_t HksOpensslCheckDhKey(const struct HksBlob *key, enum HksImportKeyType importKeyType);