summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorYashpal Dutta <yashpal.dutta@freescale.com>2014-03-22 22:25:13 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-03-24 16:09:15 (GMT)
commit67659d841becfc172216df76f058db25588f87cf (patch)
tree8d88d4856a72a938b5afccc824600d2c1813a5e1 /include/crypto
parent51e4af86b989140b99c22e21c6b8d4a6bd747f9f (diff)
downloadlinux-fsl-qoriq-67659d841becfc172216df76f058db25588f87cf.tar.xz
caam driver updates for public key cryptography
CAAM driver updates as per public key infrastructure changes in cryptoAPI RSA, DSA, ECDSA are support as part of Public Key Crypto Operations Signed-off-by: Yashpal Dutta <yashpal.dutta@freescale.com> Change-Id: I3a6e4f71866a5ef157b9ea13e618c4d3d209f558 Reviewed-on: http://git.am.freescale.net:8181/5839 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Geanta Neag Horia Ioan-B05471 <horia.geanta@freescale.com> Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/9546 Reviewed-by: Ruchika Gupta <ruchika.gupta@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/algapi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/crypto/algapi.h b/include/crypto/algapi.h
index eb07bd5..03cd4c6 100644
--- a/include/crypto/algapi.h
+++ b/include/crypto/algapi.h
@@ -409,4 +409,10 @@ static inline int crypto_memneq(const void *a, const void *b, size_t size)
return __crypto_memneq(a, b, size) != 0UL ? 1 : 0;
}
+/* RSA Request Completion handler */
+static inline void pkc_request_complete(struct pkc_request *req,
+ int err)
+{
+ req->base.complete(&req->base, err);
+}
#endif /* _CRYPTO_ALGAPI_H */