]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/crypto/ccp/ccp-crypto.h
crypto: ccp - Change data length declarations to u64
[karo-tx-linux.git] / drivers / crypto / ccp / ccp-crypto.h
index 13ea6ea4b45da799cddda841ee71f4d400cf88d3..b222231b61693bda60cbcba9a34d0fbe75003320 100644 (file)
@@ -110,7 +110,10 @@ struct ccp_aes_cmac_req_ctx {
        unsigned int null_msg;
        unsigned int final;
 
-       unsigned int hash_cnt;
+       struct scatterlist *src;
+       unsigned int nbytes;
+
+       u64 hash_cnt;
        unsigned int hash_rem;
 
        struct sg_table data_sg;
@@ -149,7 +152,10 @@ struct ccp_sha_req_ctx {
        unsigned int first;
        unsigned int final;
 
-       unsigned int hash_cnt;
+       struct scatterlist *src;
+       unsigned int nbytes;
+
+       u64 hash_cnt;
        unsigned int hash_rem;
 
        struct sg_table data_sg;