Home
last modified time | relevance | path

Searched refs:out_hmac (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/inc/huks_adapter/
H A Dhuks_adapter.h245 …32_t compute_hmac(struct var_buffer *key, const struct uint8_buff *message, struct hmac *out_hmac);
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/
H A Dhuks_adapter_test.h249 …32_t compute_hmac(struct var_buffer *key, const struct uint8_buff *message, struct hmac *out_hmac);
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/unittest_mock/
H A Dhuks_adapter_mock.c369 …t32_t compute_hmac(struct var_buffer *key, const struct uint8_buff *message, struct hmac *out_hmac) in compute_hmac() argument
373 check_ptr_return_val(out_hmac, HC_INPUT_ERROR); in compute_hmac()
377 struct HksBlob output = { HC_HMAC_LEN, out_hmac->hmac }; in compute_hmac()
405 out_hmac->length = output.size; in compute_hmac()
H A Dhuks_adapter_mock_for_pake.c369 …t32_t compute_hmac(struct var_buffer *key, const struct uint8_buff *message, struct hmac *out_hmac) in compute_hmac() argument
373 check_ptr_return_val(out_hmac, HC_INPUT_ERROR); in compute_hmac()
377 struct HksBlob output = { HC_HMAC_LEN, out_hmac->hmac }; in compute_hmac()
405 out_hmac->length = output.size; in compute_hmac()
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/
H A Dhuks_adapter.c396 …t32_t compute_hmac(struct var_buffer *key, const struct uint8_buff *message, struct hmac *out_hmac) in compute_hmac() argument
400 check_ptr_return_val(out_hmac, HC_INPUT_ERROR); in compute_hmac()
404 struct HksBlob output = { HC_HMAC_LEN, out_hmac->hmac }; in compute_hmac()
444 out_hmac->length = output.size; in compute_hmac()