On 2015/6/19 1:02, Daniel P. Berrange wrote: > To prepare for a generic internal cipher API, move the > built-in D3DES implementation into the crypto/ directory. > > This is not in fact a normal D3DES implementation, it is > D3DES with double & triple length modes removed, and the > key bytes in reversed bit order. IOW it is crippled > specifically for the "benefit" of RFB, so call the new > files desrfb.c instead of d3des.c to make it clear that > it isn't a generally useful impl. > > Signed-off-by: Daniel P. Berrange <berra...@redhat.com> > --- > crypto/Makefile.objs | 1 + > ui/d3des.c => crypto/desrfb.c | 2 +- > ui/d3des.h => include/crypto/desrfb.h | 0 > ui/Makefile.objs | 2 +- > ui/vnc.c | 2 +- > 5 files changed, 4 insertions(+), 3 deletions(-) > rename ui/d3des.c => crypto/desrfb.c (99%) > rename ui/d3des.h => include/crypto/desrfb.h (100%)
Reviewed-by: Gonglei <arei.gong...@huawei.com>