Whamcloud - gitweb
LU-12401 gss: fix checksum for Kerberos and SSK
[fs/lustre-release.git] / lustre / ptlrpc / gss / gss_crypto.h
index 98950b1..39a2b4e 100644 (file)
@@ -24,8 +24,10 @@ void gss_teardown_sgtable(struct sg_table *sgt);
 int gss_crypt_generic(struct crypto_blkcipher *tfm, int decrypt, const void *iv,
                      const void *in, void *out, size_t length);
 int gss_digest_hash(struct ahash_request *req, rawobj_t *hdr,
-                   int msgcnt, rawobj_t *msgs, int iovcnt, lnet_kiov_t *iovs,
-                   rawobj_t *cksum);
+                   int msgcnt, rawobj_t *msgs, int iovcnt, lnet_kiov_t *iovs);
+int gss_digest_hash_compat(struct ahash_request *req,
+                          rawobj_t *hdr, int msgcnt, rawobj_t *msgs,
+                          int iovcnt, lnet_kiov_t *iovs);
 int gss_add_padding(rawobj_t *msg, int msg_buflen, int blocksize);
 int gss_crypt_rawobjs(struct crypto_blkcipher *tfm, __u8 *iv,
                      int inobj_cnt, rawobj_t *inobjs, rawobj_t *outobj,