Add several basic tests for IPsec API. This PR incorporates #69 and event subtypes implementation on which it depends.
----------------github------------------------ /** Email created from pull request 70 (lumag:ipsec-testsuite-2) ** https://github.com/Linaro/odp/pull/70 ** Patch: https://github.com/Linaro/odp/pull/70.patch ** Base sha: ae42f98c1a1c309c0718a3b5fc8589660de0f867 ** Merge commit sha: de6003c6de7f88409f2a8b9e8d5f61000c2db521 **/ ----------------/github------------------------ ----------------checkpatch.pl------------------------ CHECK: Avoid CamelCase: <pName> #653: FILE: test/common_plat/validation/api/ipsec/ipsec.c:612: + for (i = 0; suite[i].pName; i++) { CHECK: Alignment should match open parenthesis #2176: FILE: test/common_plat/validation/api/ipsec/test_vectors.h:18: +KEY(key_a5_128, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, + 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5); CHECK: Alignment should match open parenthesis #2178: FILE: test/common_plat/validation/api/ipsec/test_vectors.h:20: +KEY(key_5a_128, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, + 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a); CHECK: Alignment should match open parenthesis #2180: FILE: test/common_plat/validation/api/ipsec/test_vectors.h:22: +KEY(key_a5_256, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, + 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, 0xa5, CHECK: Alignment should match open parenthesis #2184: FILE: test/common_plat/validation/api/ipsec/test_vectors.h:26: +KEY(key_5a_256, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, + 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, CHECK: Alignment should match open parenthesis #2189: FILE: test/common_plat/validation/api/ipsec/test_vectors.h:31: +KEY(key_rfc3602, 0x90, 0xd3, 0x82, 0xb4, 0x10, 0xee, 0xba, 0x7a, + 0xd9, 0x38, 0xc4, 0x6c, 0xec, 0x1a, 0x82, 0xbf); CHECK: Alignment should match open parenthesis #2191: FILE: test/common_plat/validation/api/ipsec/test_vectors.h:33: +KEY(key_rfc3602_2, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, + 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef); total: 0 errors, 0 warnings, 7 checks, 2790 lines checked to_send-p-000.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. ----------------/checkpatch.pl------------------------