chiark / gitweb /
site: support multiple transforms
[secnet.git] / secnet.h
index 46aac5b4a9c08b0a3dfe1eabf75e23521b527952..252eeb659b7f01fda5a8ba0b61e1788471195249 100644 (file)
--- a/secnet.h
+++ b/secnet.h
@@ -396,12 +396,14 @@ struct transform_inst_if {
     transform_apply_fn *forwards;
     transform_apply_fn *reverse;
     transform_destroyinstance_fn *destroy;
+    int32_t max_start_pad; /* same as from transform_if */
 };
 
 struct transform_if {
     void *st;
     int32_t max_start_pad; /* these two are both <<< INT_MAX */
     int32_t keylen; /* 0 means give the transform exactly as much as there is */
+    int capab_transformnum;
     transform_createinstance_fn *create;
 };