This is a port of #342 to api-next branch

----------------github------------------------
/** Email created from pull request 344 (lumag:openssl-ctx-api-next)
 ** https://github.com/Linaro/odp/pull/344
 ** Patch: https://github.com/Linaro/odp/pull/344.patch
 ** Base sha: 0588040068a50d0d15a641d091fce23214b15594
 ** Merge commit sha: b99f3905979695ee44a55ac3111eb4b586aa1a06
 **/
----------------/github------------------------

----------------checkpatch.pl------------------------
total: 0 errors, 0 warnings, 0 checks, 89 lines checked


to_send-p-000.patch has no obvious style problems and is ready for submission.
total: 0 errors, 0 warnings, 0 checks, 71 lines checked


to_send-p-001.patch has no obvious style problems and is ready for submission.
ERROR: Macros with complex values should be enclosed in parentheses
#68: FILE: platform/linux-generic/odp_crypto.c:146:
+#define SET_VALID(session, type, id)   \
+       session->type ## _valid[id / CV_SIZE] |= (1 << (id % CV_SIZE))

CHECK: Avoid CamelCase: <HMAC_Init_ex>
#145: FILE: platform/linux-generic/odp_crypto.c:236:
+               HMAC_Init_ex(ctx,

CHECK: Avoid CamelCase: <EVP_EncryptInit_ex>
#217: FILE: platform/linux-generic/odp_crypto.c:471:
+               EVP_EncryptInit_ex(ctx, session->cipher.evp_cipher, NULL,

CHECK: Avoid CamelCase: <EVP_DecryptInit_ex>
#249: FILE: platform/linux-generic/odp_crypto.c:502:
+               EVP_DecryptInit_ex(ctx, session->cipher.evp_cipher, NULL,

total: 1 errors, 0 warnings, 3 checks, 432 lines checked


to_send-p-002.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------------------------

Reply via email to