mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
test/crypto: test invalid aes key len
This commit is contained in:
parent
3bb5ff27f3
commit
6d21cd94ee
@ -31,5 +31,6 @@ int main(void){
|
||||
|
||||
// test invalid key len
|
||||
uint32_t rk[RKLENGTH(KEYBITS)];
|
||||
btstack_assert(rijndaelSetupEncrypt(rk, &key[0], 0) == 0);
|
||||
int result = rijndaelSetupEncrypt(rk, &key[0], 0);
|
||||
btstack_assert(result == 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user