Home
last modified time | relevance | path

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

/linux-4.19.296/include/crypto/
Dcbc.h31 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment()
52 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace()
97 crypto_xor(dst, iv, bsize); in crypto_cbc_decrypt_segment()
126 crypto_xor(src, src - bsize, bsize); in crypto_cbc_decrypt_inplace()
130 crypto_xor(src, walk->iv, bsize); in crypto_cbc_decrypt_inplace()
Dalgapi.h204 static inline void crypto_xor(u8 *dst, const u8 *src, unsigned int size) in crypto_xor() function
/linux-4.19.296/crypto/
Dxcbc.c118 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_update()
126 crypto_xor(prev, p, bs); in crypto_xcbc_digest_update()
168 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_final()
169 crypto_xor(prev, consts + offset, bs); in crypto_xcbc_digest_final()
Dcmac.c146 crypto_xor(prev, odds, bs); in crypto_cmac_digest_update()
154 crypto_xor(prev, p, bs); in crypto_cmac_digest_update()
197 crypto_xor(prev, odds, bs); in crypto_cmac_digest_final()
198 crypto_xor(prev, consts + offset, bs); in crypto_cmac_digest_final()
Dpcbc.c57 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_segment()
80 crypto_xor(iv, src, bsize); in crypto_pcbc_encrypt_inplace()
126 crypto_xor(dst, iv, bsize); in crypto_pcbc_decrypt_segment()
149 crypto_xor(src, iv, bsize); in crypto_pcbc_decrypt_inplace()
Daegis128l.c78 crypto_xor(state->blocks[0].bytes, msg + 0 * AEGIS_BLOCK_SIZE, in crypto_aegis128l_update_u()
80 crypto_xor(state->blocks[4].bytes, msg + 1 * AEGIS_BLOCK_SIZE, in crypto_aegis128l_update_u()
179 crypto_xor(tmp0->bytes, src + 0 * AEGIS_BLOCK_SIZE, in crypto_aegis128l_encrypt_chunk()
186 crypto_xor(tmp1->bytes, src + 1 * AEGIS_BLOCK_SIZE, in crypto_aegis128l_encrypt_chunk()
262 crypto_xor(tmp0->bytes, src + 0 * AEGIS_BLOCK_SIZE, in crypto_aegis128l_decrypt_chunk()
269 crypto_xor(tmp1->bytes, src + 1 * AEGIS_BLOCK_SIZE, in crypto_aegis128l_decrypt_chunk()
Daegis256.c69 crypto_xor(state->blocks[0].bytes, msg, AEGIS_BLOCK_SIZE); in crypto_aegis256_update_u()
81 crypto_xor(key_iv[0].bytes, iv + 0 * AEGIS_BLOCK_SIZE, in crypto_aegis256_init()
83 crypto_xor(key_iv[1].bytes, iv + 1 * AEGIS_BLOCK_SIZE, in crypto_aegis256_init()
161 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis256_encrypt_chunk()
225 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis256_decrypt_chunk()
Dcfb.c79 crypto_xor(dst, src, bsize); in crypto_cfb_encrypt_segment()
102 crypto_xor(src, tmp, bsize); in crypto_cfb_encrypt_inplace()
149 crypto_xor(dst, src, bsize); in crypto_cfb_decrypt_segment()
173 crypto_xor(src, tmp, bsize); in crypto_cfb_decrypt_inplace()
Dchacha20_generic.c29 crypto_xor(dst, stream, CHACHA20_BLOCK_SIZE); in chacha20_docrypt()
35 crypto_xor(dst, stream, bytes); in chacha20_docrypt()
Daegis128.c69 crypto_xor(state->blocks[0].bytes, msg, AEGIS_BLOCK_SIZE); in crypto_aegis128_update_u()
80 crypto_xor(key_iv.bytes, iv, AEGIS_BLOCK_SIZE); in crypto_aegis128_init()
152 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis128_encrypt_chunk()
213 crypto_xor(tmp.bytes, src, AEGIS_BLOCK_SIZE); in crypto_aegis128_decrypt_chunk()
Dsalsa20_generic.c94 crypto_xor(dst, (const u8 *)stream, SALSA20_BLOCK_SIZE); in salsa20_docrypt()
100 crypto_xor(dst, (const u8 *)stream, bytes); in salsa20_docrypt()
Dghash-generic.c80 crypto_xor(dst, src, GHASH_BLOCK_SIZE); in ghash_update()
Dcts.c201 crypto_xor(d + bsize, space, bsize); in cts_cbc_decrypt()
207 crypto_xor(d + bsize, d, lastn); in cts_cbc_decrypt()
Dctr.c87 crypto_xor(dst, src, bsize); in crypto_ctr_crypt_segment()
115 crypto_xor(src, keystream, bsize); in crypto_ctr_crypt_inplace()
Dseqiv.c108 crypto_xor(info, ctx->salt, ivsize); in seqiv_aead_encrypt()
Dgcm.c439 crypto_xor(auth_tag, pctx->iauth_tag, 16); in gcm_enc_copy_hash()
496 crypto_xor(auth_tag, iauth_tag, 16); in crypto_gcm_verify()
Dccm.c885 crypto_xor(dg + ctx->len, p, l); in crypto_cbcmac_digest_update()