Searched refs:tag_cipher (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/unittest_mock/ |
H A D | huks_adapter_mock.c | 523 struct HksBlob tag_cipher = { out_cipher->size - nonce.length, out_cipher->val + nonce.length }; in aes_gcm_encrypt() local 531 status = HksEncrypt(&hks_key, param_set, &hks_plain_text, &tag_cipher); in aes_gcm_encrypt() 538 out_cipher->length = tag_cipher.size + nonce.length; in aes_gcm_encrypt()
|
H A D | huks_adapter_mock_for_pake.c | 523 struct HksBlob tag_cipher = { out_cipher->size - nonce.length, out_cipher->val + nonce.length }; in aes_gcm_encrypt() local 531 status = HksEncrypt(&hks_key, param_set, &hks_plain_text, &tag_cipher); in aes_gcm_encrypt() 538 out_cipher->length = tag_cipher.size + nonce.length; in aes_gcm_encrypt()
|
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/ |
H A D | huks_adapter.c | 569 struct HksBlob tag_cipher = { out_cipher->size - nonce.length, out_cipher->val + nonce.length }; in aes_gcm_encrypt() local 577 status = HksEncrypt(&hks_key, param_set, &hks_plain_text, &tag_cipher); in aes_gcm_encrypt() 584 out_cipher->length = tag_cipher.size + nonce.length; in aes_gcm_encrypt()
|