Home
last modified time | relevance | path

Searched refs:ct_mid (Results 1 – 1 of 1) sorted by relevance

/openssl/providers/implementations/ciphers/
H A Dcipher_cts.c136 aligned_16bytes mid_iv, ct_mid, cn, pt_last; in cts128_cs1_decrypt() local
169 memcpy(ct_mid.c, in, residue); in cts128_cs1_decrypt()
170 memcpy(ct_mid.c + residue, pt_last.c + residue, CTS_BLOCK_SIZE - residue); in cts128_cs1_decrypt()
178 do_xor(ct_mid.c, pt_last.c, residue, out + CTS_BLOCK_SIZE); in cts128_cs1_decrypt()
187 if (!ctx->hw->cipher(ctx, out, ct_mid.c, CTS_BLOCK_SIZE)) in cts128_cs1_decrypt()
238 aligned_16bytes mid_iv, ct_mid, cn, pt_last; in cts128_cs3_decrypt() local
275 memcpy(ct_mid.c, in + CTS_BLOCK_SIZE, residue); in cts128_cs3_decrypt()
277 memcpy(ct_mid.c + residue, pt_last.c + residue, CTS_BLOCK_SIZE - residue); in cts128_cs3_decrypt()
285 do_xor(ct_mid.c, pt_last.c, residue, out + CTS_BLOCK_SIZE); in cts128_cs3_decrypt()
293 if (!ctx->hw->cipher(ctx, out, ct_mid.c, CTS_BLOCK_SIZE)) in cts128_cs3_decrypt()

Completed in 6 milliseconds