mac80211: aead api to reduce redundancy
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 implemented in their headers using the newly added aead api. Signed-off-by: NXiang Gao <qasdfgtyuiop@gmail.com> Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
Showing
net/mac80211/aead_api.h
0 → 100644
net/mac80211/aes_gcm.c
已删除
100644 → 0
想要评论请 注册 或 登录