• Home
  • Raw
  • Download

Lines Matching refs:authId

66 …int32_t LocalHksGenerate(const uint32_t keyLen, const struct HksBlob *authId, const struct HksPara…
70 int32_t PressureTest::LocalHksGenerate(const uint32_t keyLen, const struct HksBlob *authId, in LocalHksGenerate() argument
86 if (HksGenerateKey(authId, paramSetIn, paramOutSet) != HKS_SUCCESS) { in LocalHksGenerate()
176 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
196 int32_t ret = HksGenerateKey(&authId, paramInSet, NULL);
201 HksDeleteKey(&authId, paramInSet);
215 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
233 HksGenerateKey(&authId, paramInSet, NULL);
237 HksExportPublicKey(&authId, paramInSet, &pubKey);
248 HksDeleteKey(&authId, paramInSet);
262 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
280 HksGenerateKey(&authId, paramInSet, NULL);
286 int32_t ret = HksExportPublicKey(&authId, paramInSet, &pubKey);
293 HksDeleteKey(&authId, paramInSet);
308 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
326 HksGenerateKey(&authId, paramInSet, NULL);
328 int32_t ret = HksDeleteKey(&authId, paramInSet);
346 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
364 HksGenerateKey(&authId, paramInSet, NULL);
376 int32_t ret = HksGetKeyParamSet(&authId, paramInSet, paramOutSet);
384 HksDeleteKey(&authId, paramInSet);
397 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
415 HksGenerateKey(&authId, paramInSet, NULL);
419 int32_t ret = HksKeyExist(&authId, paramInSet);
424 HksDeleteKey(&authId, paramInSet);
439 … struct HksBlob authId = { .size = TEST_KEY_SIZE, .data = (uint8_t *)HksMalloc(TEST_KEY_SIZE) }; variable
440 ASSERT_NE(authId.data, nullptr);
455 int32_t ret = HksGenerateRandom(paramInSet, &authId);
460 HksFree(authId.data);
474 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
492 HksGenerateKey(&authId, paramInSet, NULL);
502 int32_t ret = HksSign(&authId, paramInSet, &message, &signature);
509 HksDeleteKey(&authId, paramInSet);
522 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
540 HksGenerateKey(&authId, paramInSet, NULL);
547 HksSign(&authId, paramInSet, &message, &signature);
552 int32_t ret = HksVerify(&authId, paramInSet, &message, &signature);
557 HksDeleteKey(&authId, paramInSet);
571 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
595 HksGenerateKey(&authId, paramInSet, NULL);
607 int32_t ret = HksEncrypt(&authId, paramInSet, &plainText, &cipherText);
614 HksDeleteKey(&authId, paramInSet);
627 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
651 HksGenerateKey(&authId, paramInSet, NULL);
661 HksEncrypt(&authId, paramInSet, &plainText, &cipherText);
667 int32_t ret = HksDecrypt(&authId, paramInSet, &cipherText, &plainTextDecrypt);
674 HksDeleteKey(&authId, paramInSet);
688 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
716 HksGenerateKey(&authId, paramInSetForKey, NULL);
720 HksExportPublicKey(&authId, paramInSetForKey, &pubKey);
726 int32_t ret = HksAgreeKey(paramInSet, &authId, &pubKey, &agreeKey);
733 HksDeleteKey(&authId, paramInSet);
749 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
767 HksGenerateKey(&authId, paramInSet, NULL);
788 int32_t ret = HksDeriveKey(paramInSetHkdf, &authId, &derivedKey);
795 HksDeleteKey(&authId, paramInSet);
809 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
827 HksGenerateKey(&authId, paramInSet, NULL);
836 int32_t ret = HksMac(&authId, paramInSet, &message, &macMessage);
843 HksDeleteKey(&authId, paramInSet);
890 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
918 int32_t ret = HksGenerateKey(&authId, paramInSet, paramOutSet);
938 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
961 PressureTest::LocalHksGenerate(HKS_ECC_KEY_SIZE_224, &authId, paramInSet, &priKey, &pubKey);
992 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
1015 PressureTest::LocalHksGenerate(HKS_ECC_KEY_SIZE_224, &authId, paramInSet, &priKey, &pubKey);
1048 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
1068 HksGenerateKey(&authId, paramInSet, paramOutSet);
1108 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
1128 HksGenerateKey(&authId, paramInSet, paramOutSet);
1173 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
1206 … PressureTest::LocalHksGenerate(HKS_ECC_KEY_SIZE_224, &authId, paramInSetForKey, &priKey, &pubKey);
1234 struct HksBlob authId = { .size = TEST_KEY_SIZE, .data = (uint8_t *)HksMalloc(TEST_KEY_SIZE) }; variable
1235 ASSERT_NE(authId.data, nullptr);
1253 HksGenerateRandom(paramInSet, &authId);
1258 int32_t ret = HksDeriveKey(paramInSet, &authId, &derivedKey);
1265 HksFree(authId.data);
1278 struct HksBlob authId = { strlen(GENERATE_KEY), (uint8_t *)GENERATE_KEY }; variable
1304 HksGenerateKey(&authId, paramInSet, paramOutSet);