Lines Matching refs:memcpy
44 memcpy(csbcpb->cpb.aes_ccm.key, in_key, key_len); in ccm_aes_nx_set_key()
47 memcpy(csbcpb_aead->cpb.aes_cca.key, in_key, key_len); in ccm_aes_nx_set_key()
64 memcpy(nx_ctx->priv.ccm.nonce, in_key + key_len, 3); in ccm4309_aes_nx_set_key()
117 memcpy(block - csize, (u8 *)&data + 4 - csize, csize); in set_msg_len()
139 memcpy(b0, iv, 16); in generate_b0()
309 memcpy(nx_ctx->csbcpb_aead->cpb.aes_cca.b0, in generate_pat()
324 memcpy(out, result, AES_BLOCK_SIZE); in generate_pat()
384 memcpy(iv, csbcpb->cpb.aes_ccm.out_ctr, AES_BLOCK_SIZE); in ccm_nx_decrypt()
385 memcpy(csbcpb->cpb.aes_ccm.in_pat_or_b0, in ccm_nx_decrypt()
387 memcpy(csbcpb->cpb.aes_ccm.in_s0, in ccm_nx_decrypt()
453 memcpy(iv, csbcpb->cpb.aes_ccm.out_ctr, AES_BLOCK_SIZE); in ccm_nx_encrypt()
454 memcpy(csbcpb->cpb.aes_ccm.in_pat_or_b0, in ccm_nx_encrypt()
456 memcpy(csbcpb->cpb.aes_ccm.in_s0, in ccm_nx_encrypt()
487 memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); in ccm4309_aes_nx_encrypt()
488 memcpy(iv + 4, req->iv, 8); in ccm4309_aes_nx_encrypt()
511 memcpy(iv + 1, nx_ctx->priv.ccm.nonce, 3); in ccm4309_aes_nx_decrypt()
512 memcpy(iv + 4, req->iv, 8); in ccm4309_aes_nx_decrypt()