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
Loading
Please register or sign in to comment