Searched refs:dst_c_ctx (Results 1 – 1 of 1) sorted by relevance
728 struct sec_cipher_ctx *dst_c_ctx = dst_ctx; in sec_cipher_copy_state() local731 dst_c_ctx->alg = src_c_ctx->alg; in sec_cipher_copy_state()732 dst_c_ctx->mode = src_c_ctx->mode; in sec_cipher_copy_state()733 dst_c_ctx->encrypt = src_c_ctx->encrypt; in sec_cipher_copy_state()734 dst_c_ctx->offs = src_c_ctx->offs; in sec_cipher_copy_state()737 dst_c_ctx->key_len = src_c_ctx->key_len; in sec_cipher_copy_state()738 dst_c_ctx->c_key_len = src_c_ctx->c_key_len; in sec_cipher_copy_state()739 memcpy(dst_c_ctx->key, src_c_ctx->key, dst_c_ctx->key_len); in sec_cipher_copy_state()740 dst_c_ctx->key_dma = virt_to_phys(dst_c_ctx->key); in sec_cipher_copy_state()742 dst_c_ctx->key_len = 0; in sec_cipher_copy_state()[all …]