Lines Matching refs:src_len
471 if (aes->src_len & (AES_BLOCK_SIZE - 1)) in ccp_run_aes_cmac_cmd()
546 ret = ccp_init_data(&src, cmd_q, aes->src, aes->src_len, in ccp_run_aes_cmac_cmd()
670 ilen = aes->src_len; in ccp_run_aes_gcm_cmd()
674 ilen = aes->src_len - authsize; in ccp_run_aes_gcm_cmd()
913 (aes->src_len & (AES_BLOCK_SIZE - 1))) in ccp_run_aes_cmd()
1002 ret = ccp_init_data(&src, cmd_q, aes->src, aes->src_len, in ccp_run_aes_cmd()
1011 ret = ccp_init_data(&dst, cmd_q, aes->dst, aes->src_len, in ccp_run_aes_cmd()
1113 if (!xts->final && (xts->src_len & (AES_BLOCK_SIZE - 1))) in ccp_run_xts_aes_cmd()
1212 ret = ccp_init_data(&src, cmd_q, xts->src, xts->src_len, in ccp_run_xts_aes_cmd()
1221 ret = ccp_init_data(&dst, cmd_q, xts->dst, xts->src_len, in ccp_run_xts_aes_cmd()
1297 (des3->src_len & (DES3_EDE_BLOCK_SIZE - 1))) in ccp_run_des3_cmd()
1402 ret = ccp_init_data(&src, cmd_q, des3->src, des3->src_len, in ccp_run_des3_cmd()
1411 ret = ccp_init_data(&dst, cmd_q, des3->dst, des3->src_len, in ccp_run_des3_cmd()
1519 if (!sha->final && (sha->src_len & (block_size - 1))) in ccp_run_sha_cmd()
1525 if (!sha->src_len) { in ccp_run_sha_cmd()
1622 if (sha->src_len && !sha->src) in ccp_run_sha_cmd()
1676 ret = ccp_init_data(&src, cmd_q, sha->src, sha->src_len, in ccp_run_sha_cmd()
1790 hmac_cmd.u.sha.src_len = block_size + digest_size; in ccp_run_sha_cmd()
1902 ret = ccp_reverse_set_dm_area(&src, o_len, rsa->src, 0, rsa->src_len); in ccp_run_rsa_cmd()
1957 if (!pt->final && (pt->src_len & (CCP_PASSTHRU_BLOCKSIZE - 1))) in ccp_run_passthru_cmd()
2005 ret = ccp_init_data(&src, cmd_q, pt->src, pt->src_len, in ccp_run_passthru_cmd()
2014 ret = ccp_init_data(&dst, cmd_q, pt->dst, pt->src_len, in ccp_run_passthru_cmd()
2087 if (!pt->final && (pt->src_len & (CCP_PASSTHRU_BLOCKSIZE - 1))) in ccp_run_passthru_nomap_cmd()
2129 op.src.u.dma.length = pt->src_len; in ccp_run_passthru_nomap_cmd()
2134 op.dst.u.dma.length = pt->src_len; in ccp_run_passthru_nomap_cmd()