[Botan-devel] Is Botan SecureVector contiguous in memory??

Eugene N neverov.biks.07.1 at gmail.com
Fri Dec 17 11:20:55 EST 2010


Hello

I heard that according to c++ standard stl vector is contiguous, and
therefore whole vector can be treated as a memory block and quickly
send via sockets or for instance MPI_SEND, by specifying the pointer
to first element and size.

I wonder whether SecureVector possess the same properties?

In general, i am looking for a way to send BigInt's and PointGFp's
over a network, so i would welcome any feedback concerning sending
and/or serialization/reflection of  Botan objects.


Thanks,
Eugene



More information about the botan-devel mailing list