]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/ppp-crypto-priv.h
Adding back DesEncrypt/DesDecrypt functions as they are a special incarnation DES...
[ppp.git] / pppd / ppp-crypto-priv.h
index a0cc14c4231af3f0f6f7adb8d442d36d3ddfb67c..984f08ad3b3cbbc05c2dda3f1356bb114e728384 100644 (file)
@@ -51,8 +51,6 @@ struct _PPP_MD_CTX
 struct _PPP_CIPHER
 {
     int  (*init_fn)(PPP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv);
-    void (*set_key_fn)(PPP_CIPHER_CTX *ctx, const unsigned char *key);
-    void (*set_iv_fn)(PPP_CIPHER_CTX *ctx, const unsigned char *iv);
     int  (*update_fn)(PPP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl);
     int  (*final_fn)(PPP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
     void (*clean_fn)(PPP_CIPHER_CTX *ctx);