mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-31 00:03:07 +03:00
tests: Fix variable names to avoid codespell issues
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@ -30,11 +30,11 @@ uint8_t eK[24] =
|
||||
uint8_t dK[24] =
|
||||
"\xf8\xdd\xc3\xea\x5a\x59\x98\xb9\x86\xaa\x77\x29\x67\x51\x46"
|
||||
"\x21\x73\xc2\x6a\x6b\xed\xf2\x49\x98";
|
||||
uint8_t eMAC[32] =
|
||||
uint8_t encrypt_MAC[32] =
|
||||
"\x0f\xbd\x1f\xe9\x2a\xaa\x84\xdc\xb5\xfc\xfb\x68\x2c\xa5\xe0"
|
||||
"\xba\xf2\x6f\xe5\x80\xee\x8f\x5c\x5b\x30\x55\x25\xb3\x7b\x21"
|
||||
"\xdc\xe5";
|
||||
uint8_t dMAC[32] =
|
||||
uint8_t decrypt_MAC[32] =
|
||||
"\xa3\x52\x6e\x72\xa8\x8b\xde\xc5\x68\x66\x89\xae\x0a\xd2\x83"
|
||||
"\x23\x21\x4b\x3f\x04\x2e\x7f\x86\x04\x0f\xa8\x04\x3c\x62\xad"
|
||||
"\x74\x91";
|
||||
@ -82,8 +82,8 @@ static void torture_session_keys(UNUSED_PARAM(void **state))
|
||||
assert_memory_equal(test_crypto.decryptIV, dIV, 32);
|
||||
assert_memory_equal(test_crypto.encryptkey, eK, 24);
|
||||
assert_memory_equal(test_crypto.decryptkey, dK, 24);
|
||||
assert_memory_equal(test_crypto.encryptMAC, eMAC, 32);
|
||||
assert_memory_equal(test_crypto.decryptMAC, dMAC, 32);
|
||||
assert_memory_equal(test_crypto.encryptMAC, encrypt_MAC, 32);
|
||||
assert_memory_equal(test_crypto.decryptMAC, decrypt_MAC, 32);
|
||||
|
||||
bignum_safe_free(test_crypto.shared_secret);
|
||||
SAFE_FREE(test_crypto.encryptIV);
|
||||
|
Reference in New Issue
Block a user