Home
last modified time | relevance | path

Searched refs:key_param_set (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/
H A Dhuks_adapter.c1508 struct HksParamSet *key_param_set = NULL; in sign() local
1509 int32_t hks_status = gen_sign_key_param_set(&key_param_set); in sign()
1516 hks_status = HksSign(&key_alias_blob, key_param_set, &hash, &signature); in sign()
1524 HksFreeParamSet(&key_param_set); in sign()
1610 struct HksParamSet *key_param_set = NULL; in verify() local
1617 hks_status = HksVerify(&key_alias_blob, key_param_set, &hash, &signature_blob); in verify()
1627 HksFreeParamSet(&key_param_set); in verify()
1657 struct HksParamSet *key_param_set = NULL; in verify_with_public_key() local
1659 public_key->length * BITS_PER_BYTE, user_type, &key_param_set); in verify_with_public_key()
1666 hks_status = HksVerify(&public_key_blob, key_param_set, &hash, &signature_blob); in verify_with_public_key()
[all …]
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/unittest_mock/
H A Dhuks_adapter_mock.c1334 struct HksParamSet *key_param_set = NULL; in sign() local
1335 int32_t hks_status = gen_sign_key_param_set(&key_param_set); in sign()
1342 hks_status = HksSign(&key_alias_blob, key_param_set, &hash, &signature); in sign()
1350 HksFreeParamSet(&key_param_set); in sign()
1427 struct HksParamSet *key_param_set = NULL; in verify_with_public_key() local
1429 public_key->length * BITS_PER_BYTE, user_type, &key_param_set); in verify_with_public_key()
1436 hks_status = HksVerify(&public_key_blob, key_param_set, &hash, &signature_blob); in verify_with_public_key()
1444 HksFreeParamSet(&key_param_set); in verify_with_public_key()
H A Dhuks_adapter_mock_for_pake.c1405 struct HksParamSet *key_param_set = NULL; in sign() local
1406 int32_t hks_status = gen_sign_key_param_set(&key_param_set); in sign()
1413 hks_status = HksSign(&key_alias_blob, key_param_set, &hash, &signature); in sign()
1421 HksFreeParamSet(&key_param_set); in sign()
1497 struct HksParamSet *key_param_set = NULL; in verify_with_public_key() local
1499 public_key->length * BITS_PER_BYTE, user_type, &key_param_set); in verify_with_public_key()
1506 hks_status = HksVerify(&public_key_blob, key_param_set, &hash, &signature_blob); in verify_with_public_key()
1514 HksFreeParamSet(&key_param_set); in verify_with_public_key()