lkml.org 
[lkml]   [1999]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: idea: MAC level compression & crypto

On Sat, 28 Aug 1999, Tymm Twillman wrote:
> Does this apply even if they aren't "for" crypto, but just happen to be
> good places for crypto code to latch on to? How is it decided? I mean,
> couldn't a call to main() be considered a crypto hook?


good idea ...

general memory block transformation routines :)
just like C++ STL generic algorithm applying interface ...

struct transformation_module{
...
};
struct transformation_applying_point{
...
};
struct transformation_applying_ruleset{
...
};
...
transform(skb,transformation_algo,transformation_data);
...
if (device_output_queue->transformations_list)
apply_transformations (
TRANSFORM_SKB_AT_DEVICE_OUTPUT_QUEUE,
(void*)skb,
device_output_queue->transformations_list );

for justification, there could be an reference rot13 transformation
module :)
or even more innocent - byteorder swaping transformation :)

I feel I am been missing possibility for rot13 transformation of all IP
packets for longer.


elmer.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.118 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site