[][openwrt][common][Add test tool to pass test vector]
[Description]
Add test tool to pass test vector from NIST
Usage:
python3 main.py -a algo -e engine -m
-a: set algorithm
-e: set sw or hw
-m: Monte or not
-l: list all command
List all test command
python3 main.py -a CBC -e hw => Test CBC in hw mode
python3 main.py -a CBC -e hw -m => Test CBC Monte in hw mode
python3 main.py -a ECB -e hw => Test EBC in hw mode
python3 main.py -a ECB -e hw -m => Test EBC Monte in hw mode
python3 main.py -a CCM -e hw => Test CCM in hw mode
python3 main.py -a GCM -e hw => Test GCM in hw mode
python3 main.py -a DRBG -e sw => Test DRBG in sw mode
python3 main.py -a HMAC -e hw => Test HMAC in hw mode
python3 main.py -a HMAC -e sw => Test HMAC in sw mode
python3 main.py -a SHA -e hw => Test SHA in hw mode
python3 main.py -a SHA -e hw -m => Test SHA Monte in hw mode
python3 main.py -a SHA -e sw => Test SHA in sw mode
python3 main.py -a SHA -e sw -m => Test SHA Montein hw mode
python3 main.py -a TDES -e hw => Test TDES in hw mode
python3 main.py -a TDES -e hw -m => Test TDES Monte in hw mode
[Release-log]
Change-Id: Ic7abc570474a8f1214f29106c23c6c71c40501a2
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8312895
104 files changed