makejian
b9764fd479
testing/aesctr: counter block should be initially set to one.
...
According to RFC-3686, the least significant 32 bits of the counter block are initially set to one in ctr mode of aes.
Signed-off-by: makejian <makejian@xiaomi.com>
2024-09-30 14:15:21 +08:00
Xiang Xiao
054cf3b1cb
Change all sizeof(arr)/sizeof(arr[0]) to nitems
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-17 22:51:51 +03:00
makejian
e109319a2e
fix memory leak in aesctr test case
...
Signed-off-by: makejian <makejian@xiaomi.com>
2023-08-03 10:54:25 -07:00
anjiahao
b366a31644
crypto:add getfd for crypto testcase
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-01-17 01:57:39 +08:00
anjiahao
ac4b42fee7
testing:support openbsd crypto test for nuttx
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-09-16 23:20:58 +08:00
anjiahao
ccd7d12bcb
testing:crypto testing form openbsd
...
aesctr.c:
49a6e16f2c2c8e509184b1f777366d1a6f337e1c
aes_xts.c:
49a6e16f2c2c8e509184b1f777366d1a6f337e1c
des3.c:
49a6e16f2c2c8e509184b1f777366d1a6f337e1c
hmac.c
f51db96baec97348726b28106516038de1518dc5
https://github.com/openbsd/src
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-09-16 23:20:58 +08:00