Home
last modified time | relevance | path

Searched refs:GCM_TAG_LEN (Results 1 - 4 of 4) sorted by relevance

/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_sm4_gcm_cipher_test.cpp443 uint8_t tag[GCM_TAG_LEN] = { 0 }; in HWTEST_F()
487 uint8_t tag[GCM_TAG_LEN] = { 0 }; in HWTEST_F()
530 uint8_t tag[GCM_TAG_LEN] = { 0 }; in HWTEST_F()
572 uint8_t tag[GCM_TAG_LEN] = {0}; in HWTEST_F()
606 (void)memcpy_s(spec.tag.data, GCM_TAG_LEN, cipherText + cipherTextLen - GCM_TAG_LEN, GCM_TAG_LEN); in HWTEST_F()
608 cipherTextLen -= GCM_TAG_LEN; in HWTEST_F()
626 uint8_t tag[GCM_TAG_LEN] = {0}; in HWTEST_F()
660 (void)memcpy_s(spec.tag.data, GCM_TAG_LEN, cipherTex in HWTEST_F()
[all...]
/base/security/crypto_framework/test/unittest/src/aes_cipher/
H A Dcrypto_aes_gcm_cipher_test.cpp373 uint8_t tag[GCM_TAG_LEN] = { 0 }; in HWTEST_F()
407 (void)memcpy_s(spec.tag.data, GCM_TAG_LEN, cipherText + cipherTextLen - GCM_TAG_LEN, GCM_TAG_LEN); in HWTEST_F()
409 cipherTextLen -= GCM_TAG_LEN; in HWTEST_F()
426 uint8_t tag[GCM_TAG_LEN] = { 0 }; in HWTEST_F()
460 (void)memcpy_s(spec.tag.data, GCM_TAG_LEN, cipherText + cipherTextLen - GCM_TAG_LEN, GCM_TAG_LEN); in HWTEST_F()
462 cipherTextLen -= GCM_TAG_LEN; in HWTEST_F()
[all...]
/base/security/crypto_framework/test/unittest/src/native/
H A Dnative_sym_cipher_test.cpp30 static constexpr int32_t GCM_TAG_LEN = 16; variable
181 (void)memcpy_s(tagData.data, GCM_TAG_LEN, cipherText + cipherTextLen - GCM_TAG_LEN, GCM_TAG_LEN); in HWTEST_F()
182 cipherTextLen -= GCM_TAG_LEN; in HWTEST_F()
/base/security/crypto_framework/test/unittest/include/
H A Daes_common.h36 static constexpr int32_t GCM_TAG_LEN = 16; variable

Completed in 3 milliseconds