Home
last modified time | relevance | path

Searched refs:fwkPubKey (Results 1 - 8 of 8) sorted by relevance

/drivers/peripheral/pin_auth/test/unittest/pin_auth/main/src/
H A Dall_in_one_func_test.cpp164 std::vector<uint8_t> fwkPubKey(32, 0); in HWTEST_F()
172 result = DoSetAllInOneFwkParam(templateIdList.data(), templateIdListLen, fwkPubKey.data(), 0); in HWTEST_F()
175 result = DoSetAllInOneFwkParam(templateIdList.data(), templateIdListLen, fwkPubKey.data(), fwkPubKeyLen); in HWTEST_F()
H A Dpin_auth_test.cpp97 std::vector<uint8_t> fwkPubKey(32); in HWTEST_F()
98 result = pinAuth->SetAllInOneFwkParam(templateIdList, fwkPubKey); in HWTEST_F()
190 std::vector<uint8_t> fwkPubKey = {}; in HWTEST_F() local
192 int32_t result = pinAuth->SetAllInOneFwkParam(templateIdList, fwkPubKey); in HWTEST_F()
195 fwkPubKey.resize(32); in HWTEST_F()
196 result = pinAuth->SetAllInOneFwkParam(templateIdList, fwkPubKey); in HWTEST_F()
/drivers/peripheral/pin_auth/hdi_service/main/inc/
H A Dverifier_func.h37 int32_t DoSetVerifierFwkParam(const uint8_t *fwkPubKey, uint32_t fwkPubKeySize);
H A Dcollector_func.h28 int32_t DoSetCollectorFwkParam(const uint8_t *fwkPubKey, uint32_t fwkPubKeySize);
H A Dall_in_one_func.h48 const uint64_t *templateIdList, uint32_t templateIdListLen, const uint8_t *fwkPubKey, uint32_t fwkPubKeySize);
/drivers/peripheral/pin_auth/hdi_service/main/src/
H A Dall_in_one_func.c194 const uint64_t *templateIdList, uint32_t templateIdListLen, const uint8_t *fwkPubKey, uint32_t fwkPubKeySize) in DoSetAllInOneFwkParam()
197 (fwkPubKey == NULL) || (fwkPubKeySize != ED25519_FIX_PUBKEY_BUFFER_SIZE)) { in DoSetAllInOneFwkParam()
202 g_fwkPubKey = CreateBufferByData(fwkPubKey, fwkPubKeySize); in DoSetAllInOneFwkParam()
204 LOG_ERROR("DoSetAllInOneFwkParam create fwkPubKey fail!"); in DoSetAllInOneFwkParam()
193 DoSetAllInOneFwkParam( const uint64_t *templateIdList, uint32_t templateIdListLen, const uint8_t *fwkPubKey, uint32_t fwkPubKeySize) DoSetAllInOneFwkParam() argument
H A Dcollector_func.c88 int32_t DoSetCollectorFwkParam(const uint8_t *fwkPubKey, uint32_t fwkPubKeySize) in DoSetCollectorFwkParam() argument
90 if ((fwkPubKey == NULL) || (fwkPubKeySize != ED25519_FIX_PUBKEY_BUFFER_SIZE)) { in DoSetCollectorFwkParam()
95 g_fwkPubKey = CreateBufferByData(fwkPubKey, fwkPubKeySize); in DoSetCollectorFwkParam()
97 LOG_ERROR("DoSetCollectorFwkParam create fwkPubKey fail!"); in DoSetCollectorFwkParam()
H A Dverifier_func.c90 int32_t DoSetVerifierFwkParam(const uint8_t *fwkPubKey, uint32_t fwkPubKeySize) in DoSetVerifierFwkParam() argument
92 if ((fwkPubKey == NULL) || (fwkPubKeySize != ED25519_FIX_PUBKEY_BUFFER_SIZE)) { in DoSetVerifierFwkParam()
97 g_fwkPubKey = CreateBufferByData(fwkPubKey, fwkPubKeySize); in DoSetVerifierFwkParam()
99 LOG_ERROR("DoSetVerifierFwkParam create fwkPubKey fail!"); in DoSetVerifierFwkParam()

Completed in 4 milliseconds