Searched refs:HmacSha256 (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/drivers/peripheral/user_auth/hdi_service/key_mgr/src/ |
H A D | hmac_key.c | 83 int32_t ret = HmacSha256(key, data, &signature); in HmacSign() 115 ResultCode ret = HmacSha256(key, data, &rightSign); in HmacVerify()
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/adaptor/inc/ |
H A D | adaptor_algorithm.h | 53 int32_t HmacSha256(const Buffer *hmacKey, const Buffer *data, Buffer **hmac);
|
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/adaptor/inc/ |
H A D | adaptor_algorithm.h | 63 int32_t HmacSha256(const Buffer *hmacKey, const Buffer *data, Buffer **hmac);
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/common/src/ |
H A D | user_sign_centre.c | 54 ResultCode ret = HmacSha256(&key, &data, &sign); in UserAuthTokenHmac() 129 ResultCode ret = HmacSha256(&key, &data, &rightSign); in CheckUserAuthTokenHmac()
|
/ohos5.0/drivers/peripheral/user_auth/test/unittest/base_test/src/ |
H A D | adaptor_algorithm_test.cpp | 156 EXPECT_EQ(HmacSha256(hmacKey, data, hmac), RESULT_BAD_PARAM); 159 EXPECT_EQ(HmacSha256(hmacKey, data, hmac), RESULT_GENERAL_ERROR);
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/adaptor/src/ |
H A D | adaptor_algorithm.c | 243 int32_t HmacSha256(const Buffer *hmacKey, const Buffer *data, Buffer **hmac) in HmacSha256() function
|
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/adaptor/src/ |
H A D | adaptor_algorithm.c | 235 int32_t HmacSha256(const Buffer *hmacKey, const Buffer *data, Buffer **hmac) in HmacSha256() function
|