qkd-resize currently works on byte boundaries --> switch to event boundaries?
qkd-resize modules currently works on byte boundaries. I.e. the "exact-size" and "minimum-size" parameters hold amount of bytes.
When using different encoding styles on both sides, these values have to be adjusted for alice and bob since an alice event may hold a different amount of bytes/bits than the correspondig bob event.
Should we switch to the idea to hold "events" instead of bytes for the
qkd-resize module? Then this will make the configuration on both sides easier since then alice and bob will hold the very same amount of events, but maybe encoded in different BLOBs of different sizes.
#1 Updated by Christoph Pacher over 1 year ago
Yes, I think we need in any case the number of "symbols" or "events" or similar in the key meta data. IMHO the number of bits is still useful in addition.
And then qkd-resize has to work with identical numbers for symbols/events on both sides.
However, would be good if also the number of bits would be a multiple of (at least) 8.