Home
last modified time | relevance | path

Searched refs:encrypt_buf (Results 1 – 1 of 1) sorted by relevance

/src/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dcrypto_test.c800 test_result(const crypto_test_t *test, int encrypt_rv, uint8_t *encrypt_buf, in test_result() argument
808 if (memcmp(encrypt_buf, test->ct.val, test->msg.len) == 0) in test_result()
815 if (memcmp(encrypt_buf + test->msg.len, test->tag.val, in test_result()
894 hexdump("got", encrypt_buf, test->msg.len); in test_result()
901 hexdump("got", encrypt_buf + test->msg.len, in test_result()
955 uint8_t encrypt_buf[1024]; in run_tests() local
969 encrypt_buf, test->msg.len + test->tag.len, NULL); in run_tests()
982 if (test_result(test, encrypt_rv, encrypt_buf, in run_tests()