Skip to content
Commit b6114f9d authored by Pablo de Lara's avatar Pablo de Lara
Browse files

Fix Out-of-place bit-level KASUMI F8

When offset is passed to the bit-level KASUMI F8 function,
the bits belonging to the offset need to be preserved.
If this offset is non byte-multiple, the first byte to cipher
will contain a mix of plaintext and ciphertext bits.

When doing out-of-place operations, the implementation was
preserving the "offset" bits from the input buffer,
where it should preserve the bits of the output buffer instead.

Change-Id: I1e643d8c6241c5d42fd127370f5c810b36b90852
parent e1b1ab14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment