Skip to content

Commit 1621f4d

Browse files
committed
update managed parameter structs (2)
1 parent e4789f6 commit 1621f4d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

test/unit/ut_aos_process.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ UTEST(AOS_PROCESS, HAPPY_PATH_CLEAR_FECF)
286286
Crypto_Get_Managed_Parameters_For_Gvcid(aos_frame_pri_hdr.tfvn, aos_frame_pri_hdr.scid, aos_frame_pri_hdr.vcid,
287287
gvcid_managed_parameters_array, &aos_current_managed_parameters_struct);
288288
// Now, byte by byte verify the static frame in memory is equivalent to what we started with
289-
for (int i = 0; i < current_managed_parameters_struct.max_frame_size; i++)
289+
for (int i = 0; i < aos_current_managed_parameters_struct.max_frame_size; i++)
290290
{
291291
// printf("Checking %02x against %02X\n", (uint8_t)ptr_processed_frame[i], (uint8_t)*(truth_aos_b + i));
292292
ASSERT_EQ((uint8_t)ptr_processed_frame[i], (uint8_t) * (truth_aos_b + i));
@@ -419,7 +419,7 @@ UTEST(AOS_PROCESS, SECONDARY_HDR_PRESENT_PLAINTEXT)
419419
gvcid_managed_parameters_array, &aos_current_managed_parameters_struct);
420420

421421
// Now, byte by byte verify the static frame in memory is equivalent to what we started with
422-
for (int i = 0; i < current_managed_parameters_struct.max_frame_size; i++)
422+
for (int i = 0; i < aos_current_managed_parameters_struct.max_frame_size; i++)
423423
{
424424
// printf("Checking %02x against %02X\n", aos_frame[i], (uint8_t)*(truth_aos_b + i));
425425
ASSERT_EQ(ptr_processed_frame[i], (uint8_t) * (truth_aos_b + i));
@@ -555,7 +555,7 @@ UTEST(AOS_PROCESS, INSERT_ZONE_PRESENT_PLAINTEXT)
555555
Crypto_Get_Managed_Parameters_For_Gvcid(aos_frame_pri_hdr.tfvn, aos_frame_pri_hdr.scid, aos_frame_pri_hdr.vcid,
556556
gvcid_managed_parameters_array, &aos_current_managed_parameters_struct);
557557
// Now, byte by byte verify the static frame in memory is equivalent to what we started with
558-
for (int i = 0; i < current_managed_parameters_struct.max_frame_size; i++)
558+
for (int i = 0; i < aos_current_managed_parameters_struct.max_frame_size; i++)
559559
{
560560
printf("Checking %02x against %02X\n", ptr_processed_frame[i], (uint8_t) * (truth_aos_b + i));
561561
ASSERT_EQ(ptr_processed_frame[i], (uint8_t)truth_aos_b[i]);
@@ -699,7 +699,7 @@ UTEST(AOS_PROCESS, AES_CMAC_256_TEST_0)
699699
Crypto_Get_Managed_Parameters_For_Gvcid(aos_frame_pri_hdr.tfvn, aos_frame_pri_hdr.scid, aos_frame_pri_hdr.vcid,
700700
gvcid_managed_parameters_array, &aos_current_managed_parameters_struct);
701701
// Now, byte by byte verify the static frame in memory is equivalent to what we started with
702-
for (int i = 0; i < current_managed_parameters_struct.max_frame_size; i++)
702+
for (int i = 0; i < aos_current_managed_parameters_struct.max_frame_size; i++)
703703
{
704704
// printf("Checking %02x against %02X\n", (uint8_t)ptr_processed_frame[i], (uint8_t)*(truth_aos_b + i));
705705
ASSERT_EQ((uint8_t)ptr_processed_frame[i], (uint8_t) * (truth_aos_b + i));
@@ -850,7 +850,7 @@ UTEST(AOS_PROCESS, AES_CMAC_256_TEST_1)
850850
Crypto_Get_Managed_Parameters_For_Gvcid(aos_frame_pri_hdr.tfvn, aos_frame_pri_hdr.scid, aos_frame_pri_hdr.vcid,
851851
gvcid_managed_parameters_array, &aos_current_managed_parameters_struct);
852852
// Now, byte by byte verify the static frame in memory is equivalent to what we started with
853-
for (int i = 0; i < current_managed_parameters_struct.max_frame_size; i++)
853+
for (int i = 0; i < aos_current_managed_parameters_struct.max_frame_size; i++)
854854
{
855855
// printf("Checking %02x against %02X\n", (uint8_t)ptr_processed_frame[i], (uint8_t)*(truth_aos_b + i));
856856
ASSERT_EQ((uint8_t)ptr_processed_frame[i], (uint8_t) * (truth_aos_b + i));
@@ -999,7 +999,7 @@ UTEST(AOS_PROCESS, AES_HMAC_256_TEST_0)
999999
Crypto_Get_Managed_Parameters_For_Gvcid(aos_frame_pri_hdr.tfvn, aos_frame_pri_hdr.scid, aos_frame_pri_hdr.vcid,
10001000
gvcid_managed_parameters_array, &aos_current_managed_parameters_struct);
10011001
// Now, byte by byte verify the static frame in memory is equivalent to what we started with
1002-
for (int i = 0; i < current_managed_parameters_struct.max_frame_size; i++)
1002+
for (int i = 0; i < aos_current_managed_parameters_struct.max_frame_size; i++)
10031003
{
10041004
// printf("Checking %02x against %02X\n", (uint8_t)ptr_processed_frame[i], (uint8_t)*(truth_aos_b + i));
10051005
ASSERT_EQ((uint8_t)ptr_processed_frame[i], (uint8_t) * (truth_aos_b + i));
@@ -1147,7 +1147,7 @@ UTEST(AOS_PROCESS, AES_HMAC_256_TEST_1)
11471147
Crypto_Get_Managed_Parameters_For_Gvcid(aos_frame_pri_hdr.tfvn, aos_frame_pri_hdr.scid, aos_frame_pri_hdr.vcid,
11481148
gvcid_managed_parameters_array, &aos_current_managed_parameters_struct);
11491149
// Now, byte by byte verify the static frame in memory is equivalent to what we started with
1150-
for (int i = 0; i < current_managed_parameters_struct.max_frame_size; i++)
1150+
for (int i = 0; i < aos_current_managed_parameters_struct.max_frame_size; i++)
11511151
{
11521152
// printf("Checking %02x against %02X\n", (uint8_t)ptr_processed_frame[i], (uint8_t)*(truth_aos_b + i));
11531153
ASSERT_EQ((uint8_t)ptr_processed_frame[i], (uint8_t) * (truth_aos_b + i));
@@ -1297,7 +1297,7 @@ UTEST(AOS_PROCESS, AES_HMAC_512_TEST_0)
12971297
Crypto_Get_Managed_Parameters_For_Gvcid(aos_frame_pri_hdr.tfvn, aos_frame_pri_hdr.scid, aos_frame_pri_hdr.vcid,
12981298
gvcid_managed_parameters_array, &aos_current_managed_parameters_struct);
12991299
// Now, byte by byte verify the static frame in memory is equivalent to what we started with
1300-
for (int i = 0; i < current_managed_parameters_struct.max_frame_size; i++)
1300+
for (int i = 0; i < aos_current_managed_parameters_struct.max_frame_size; i++)
13011301
{
13021302
// printf("Checking %02x against %02X\n", (uint8_t)ptr_processed_frame[i], (uint8_t)*(truth_aos_b + i));
13031303
ASSERT_EQ((uint8_t)ptr_processed_frame[i], (uint8_t) * (truth_aos_b + i));
@@ -1447,7 +1447,7 @@ UTEST(AOS_PROCESS, AES_HMAC_512_TEST_1)
14471447
Crypto_Get_Managed_Parameters_For_Gvcid(aos_frame_pri_hdr.tfvn, aos_frame_pri_hdr.scid, aos_frame_pri_hdr.vcid,
14481448
gvcid_managed_parameters_array, &aos_current_managed_parameters_struct);
14491449
// Now, byte by byte verify the static frame in memory is equivalent to what we started with
1450-
for (int i = 0; i < current_managed_parameters_struct.max_frame_size; i++)
1450+
for (int i = 0; i < aos_current_managed_parameters_struct.max_frame_size; i++)
14511451
{
14521452
// printf("Checking %02x against %02X\n", (uint8_t)ptr_processed_frame[i], (uint8_t)*(truth_aos_b + i));
14531453
ASSERT_EQ((uint8_t)ptr_processed_frame[i], (uint8_t) * (truth_aos_b + i));
@@ -1790,7 +1790,7 @@ UTEST(AOS_PROCESS, AEAD_GCM_BITMASK_1)
17901790
Crypto_Get_Managed_Parameters_For_Gvcid(aos_frame_pri_hdr.tfvn, aos_frame_pri_hdr.scid, aos_frame_pri_hdr.vcid,
17911791
gvcid_managed_parameters_array, &aos_current_managed_parameters_struct);
17921792
// Now, byte by byte verify the static frame in memory is equivalent to what we started with
1793-
for (int i = 0; i < current_managed_parameters_struct.max_frame_size; i++)
1793+
for (int i = 0; i < aos_current_managed_parameters_struct.max_frame_size; i++)
17941794
{
17951795
// printf("Checking %02x against %02X\n", (uint8_t)ptr_processed_frame[i], (uint8_t)*(truth_aos_b + i));
17961796
ASSERT_EQ((uint8_t)ptr_processed_frame[i], (uint8_t) * (truth_aos_b + i));

0 commit comments

Comments
 (0)