Re: [PATCH v3] mac80211: aead api to reduce redundancy

2017-10-11 Thread Xiang Gao
Great ! Thanks ! Xiang Gao 2017-10-11 3:48 GMT-04:00 Johannes Berg : > On Tue, 2017-10-10 at 22:31 -0400, Xiang Gao wrote: >> Currently, the aes_ccm.c and aes_gcm.c are almost line by line copy >> of >> each other. This patch reduce code redundancy by moving the code in >> these >> two files to c

Re: [PATCH v3] mac80211: aead api to reduce redundancy

2017-10-11 Thread Johannes Berg
On Tue, 2017-10-10 at 22:31 -0400, Xiang Gao wrote: > Currently, the aes_ccm.c and aes_gcm.c are almost line by line copy > of > each other. This patch reduce code redundancy by moving the code in > these > two files to crypto/aead_api.c to make it a higher level aead api. > The > file aes_ccm.c an

[PATCH v3] mac80211: aead api to reduce redundancy

2017-10-10 Thread Xiang Gao
Currently, the aes_ccm.c and aes_gcm.c are almost line by line copy of each other. This patch reduce code redundancy by moving the code in these two files to crypto/aead_api.c to make it a higher level aead api. The file aes_ccm.c and aes_gcm.c are removed and all the functions there are now implem