Lines Matching full:tmp
95 } tmp; in CRYPTO_cts128_encrypt() local
111 memcpy(tmp.c, out - 16, 16); in CRYPTO_cts128_encrypt()
113 memcpy(out, tmp.c, residue); in CRYPTO_cts128_encrypt()
115 memset(tmp.c, 0, sizeof(tmp)); in CRYPTO_cts128_encrypt()
116 memcpy(tmp.c, in, residue); in CRYPTO_cts128_encrypt()
118 (*cbc) (tmp.c, out - 16, 16, key, ivec, 1); in CRYPTO_cts128_encrypt()
131 } tmp; in CRYPTO_nistcts128_encrypt() local
151 memset(tmp.c, 0, sizeof(tmp)); in CRYPTO_nistcts128_encrypt()
152 memcpy(tmp.c, in, residue); in CRYPTO_nistcts128_encrypt()
153 (*cbc) (tmp.c, out - 16 + residue, 16, key, ivec, 1); in CRYPTO_nistcts128_encrypt()
167 } tmp; in CRYPTO_cts128_decrypt_block() local
183 (*block) (in, tmp.c + 16, key); in CRYPTO_cts128_decrypt_block()
185 memcpy(tmp.c, tmp.c + 16, 16); in CRYPTO_cts128_decrypt_block()
186 memcpy(tmp.c, in + 16, residue); in CRYPTO_cts128_decrypt_block()
187 (*block) (tmp.c, tmp.c, key); in CRYPTO_cts128_decrypt_block()
191 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_cts128_decrypt_block()
195 out[n] = tmp.c[n] ^ in[n]; in CRYPTO_cts128_decrypt_block()
210 } tmp; in CRYPTO_nistcts128_decrypt_block() local
230 (*block) (in + residue, tmp.c + 16, key); in CRYPTO_nistcts128_decrypt_block()
232 memcpy(tmp.c, tmp.c + 16, 16); in CRYPTO_nistcts128_decrypt_block()
233 memcpy(tmp.c, in, residue); in CRYPTO_nistcts128_decrypt_block()
234 (*block) (tmp.c, tmp.c, key); in CRYPTO_nistcts128_decrypt_block()
238 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_nistcts128_decrypt_block()
240 tmp.c[n] = c; in CRYPTO_nistcts128_decrypt_block()
243 out[n] = tmp.c[n] ^ tmp.c[n - 16]; in CRYPTO_nistcts128_decrypt_block()
256 } tmp; in CRYPTO_cts128_decrypt() local
272 memset(tmp.c, 0, sizeof(tmp)); in CRYPTO_cts128_decrypt()
274 * this places in[16] at &tmp.c[16] and decrypted block at &tmp.c[0] in CRYPTO_cts128_decrypt()
276 (*cbc) (in, tmp.c, 16, key, tmp.c + 16, 0); in CRYPTO_cts128_decrypt()
278 memcpy(tmp.c, in + 16, residue); in CRYPTO_cts128_decrypt()
280 (*cbc) (tmp.c, out, 16 + residue, key, ivec, 0); in CRYPTO_cts128_decrypt()
282 (*cbc) (tmp.c, tmp.c, 32, key, ivec, 0); in CRYPTO_cts128_decrypt()
283 memcpy(out, tmp.c, 16 + residue); in CRYPTO_cts128_decrypt()
296 } tmp; in CRYPTO_nistcts128_decrypt() local
316 memset(tmp.c, 0, sizeof(tmp)); in CRYPTO_nistcts128_decrypt()
318 * this places in[16] at &tmp.c[16] and decrypted block at &tmp.c[0] in CRYPTO_nistcts128_decrypt()
320 (*cbc) (in + residue, tmp.c, 16, key, tmp.c + 16, 0); in CRYPTO_nistcts128_decrypt()
322 memcpy(tmp.c, in, residue); in CRYPTO_nistcts128_decrypt()
324 (*cbc) (tmp.c, out, 16 + residue, key, ivec, 0); in CRYPTO_nistcts128_decrypt()
326 (*cbc) (tmp.c, tmp.c, 32, key, ivec, 0); in CRYPTO_nistcts128_decrypt()
327 memcpy(out, tmp.c, 16 + residue); in CRYPTO_nistcts128_decrypt()