Lines Matching refs:result

226 	u8 result[24], result2[24];  in test_omac1_vector()  local
230 if (omac1_aes_128(tv->k, tv->msg, tv->msg_len, result) || in test_omac1_vector()
231 os_memcmp(result, tv->tag, 16) != 0) { in test_omac1_vector()
243 if (omac1_aes_128_vector(tv->k, 2, addr, len, result) || in test_omac1_vector()
244 os_memcmp(result, tv->tag, 16) != 0) { in test_omac1_vector()
258 if (omac1_aes_128_vector(tv->k, 3, addr, len, result) || in test_omac1_vector()
259 os_memcmp(result, tv->tag, 16) != 0) { in test_omac1_vector()
273 if (omac1_aes_128(key, msg, sizeof(msg), result) || in test_omac1_vector()
275 os_memcmp(result, result2, 16) != 0) { in test_omac1_vector()
614 u8 result[40]; in test_key_wrap() local
618 result)) { in test_key_wrap()
622 if (os_memcmp(result, crypt41, sizeof(crypt41)) != 0) { in test_key_wrap()
627 result)) { in test_key_wrap()
631 if (os_memcmp(result, plain41, sizeof(plain41)) != 0) { in test_key_wrap()
639 result)) { in test_key_wrap()
643 if (os_memcmp(result, crypt42, sizeof(crypt42)) != 0) { in test_key_wrap()
648 result)) { in test_key_wrap()
652 if (os_memcmp(result, plain42, sizeof(plain42)) != 0) { in test_key_wrap()
660 result)) { in test_key_wrap()
664 if (os_memcmp(result, crypt43, sizeof(crypt43)) != 0) { in test_key_wrap()
669 result)) { in test_key_wrap()
673 if (os_memcmp(result, plain43, sizeof(plain43)) != 0) { in test_key_wrap()
681 result)) { in test_key_wrap()
685 if (os_memcmp(result, crypt44, sizeof(crypt44)) != 0) { in test_key_wrap()
690 result)) { in test_key_wrap()
694 if (os_memcmp(result, plain44, sizeof(plain44)) != 0) { in test_key_wrap()
702 result)) { in test_key_wrap()
706 if (os_memcmp(result, crypt45, sizeof(crypt45)) != 0) { in test_key_wrap()
711 result)) { in test_key_wrap()
715 if (os_memcmp(result, plain45, sizeof(plain45)) != 0) { in test_key_wrap()
722 result)) { in test_key_wrap()
726 if (os_memcmp(result, crypt46, sizeof(crypt46)) != 0) { in test_key_wrap()
731 result)) { in test_key_wrap()
735 if (os_memcmp(result, plain46, sizeof(plain46)) != 0) { in test_key_wrap()