Lines Matching full:test

38  *  - AES128 CCM mode encryption RFC 3610 test vector #1
39 * - AES128 CCM mode encryption RFC 3610 test vector #2
40 * - AES128 CCM mode encryption RFC 3610 test vector #3
41 * - AES128 CCM mode encryption RFC 3610 test vector #7
42 * - AES128 CCM mode encryption RFC 3610 test vector #8
43 * - AES128 CCM mode encryption RFC 3610 test vector #9
135 /* RFC 3610 test vector #1 */ in test_vector_1()
160 TC_PRINT("%s: Performing CCM test #1 (RFC 3610 test vector #1):\n", in test_vector_1()
172 /* RFC 3610 test vector #2 */ in test_vector_2()
197 TC_PRINT("%s: Performing CCM test #2 (RFC 3610 test vector #2):\n", in test_vector_2()
209 /* RFC 3610 test vector #3 */ in test_vector_3()
236 TC_PRINT("%s: Performing CCM test #3 (RFC 3610 test vector #3):\n", in test_vector_3()
248 /* RFC 3610 test vector #7 */ in test_vector_4()
274 TC_PRINT("%s: Performing CCM test #4 (RFC 3610 test vector #7):\n", in test_vector_4()
286 /* RFC 3610 test vector #8 */ in test_vector_5()
312 TC_PRINT("%s: Performing CCM test #5 (RFC 3610 test vector #8):\n", in test_vector_5()
324 /* RFC 3610 test vector #9 */ in test_vector_6()
351 TC_PRINT("%s: Performing CCM test #6 (RFC 3610 test vector #9):\n", in test_vector_6()
363 /* Test based on RFC 3610 test vector #9 but with no associated data */ in test_vector_7()
386 TC_PRINT("%s: Performing CCM test #7 (no associated data):\n", in test_vector_7()
428 /* Test based on RFC 3610 test vector #9 but with no payload data */ in test_vector_8()
451 TC_PRINT("%s: Performing CCM test #8 (no payload data):\n", __func__); in test_vector_8()
489 * Main task to test CCM
498 if (result == TC_FAIL) { /* terminate test */ in main()
499 TC_ERROR("CCM test #1 (RFC 3610 test vector #1) failed.\n"); in main()
503 if (result == TC_FAIL) { /* terminate test */ in main()
504 TC_ERROR("CCM test #2 failed.\n"); in main()
508 if (result == TC_FAIL) { /* terminate test */ in main()
509 TC_ERROR("CCM test #3 failed.\n"); in main()
513 if (result == TC_FAIL) { /* terminate test */ in main()
514 TC_ERROR("CCM test #4 failed.\n"); in main()
518 if (result == TC_FAIL) { /* terminate test */ in main()
519 TC_ERROR("CCM test #5 failed.\n"); in main()
523 if (result == TC_FAIL) { /* terminate test */ in main()
524 TC_ERROR("CCM test #6 failed.\n"); in main()
528 if (result == TC_FAIL) { /* terminate test */ in main()
529 TC_ERROR("CCM test #7 failed.\n"); in main()
533 if (result == TC_FAIL) { /* terminate test */ in main()
534 TC_ERROR("CCM test #8 (no payload data) failed.\n"); in main()