[PATCH v2 0/2] staging: rtl8723bs: refactor rtw_aes_decrypt()

Lin YuChen posted 2 patches 2 weeks, 4 days ago
There is a newer version of this series
drivers/staging/rtl8723bs/core/rtw_security.c | 91 +++++++++----------
1 file changed, 45 insertions(+), 46 deletions(-)
[PATCH v2 0/2] staging: rtl8723bs: refactor rtw_aes_decrypt()
Posted by Lin YuChen 2 weeks, 4 days ago
This series refactors rtw_aes_decrypt() to reduce nesting levels by
using guard clauses. As requested by Greg, the refactoring is split
into two steps to make the logic changes easier to verify.

Patch 1: Introduce guard clause for AES encryption check.
Patch 2: Introduce guard clause for stainfo check.

Lin YuChen (2):
  staging: rtl8723bs: use guard clause for AES check
  staging: rtl8723bs: use guard clause for stainfo check

 drivers/staging/rtl8723bs/core/rtw_security.c | 91 +++++++++----------
 1 file changed, 45 insertions(+), 46 deletions(-)

-- 
2.34.1