tsgls 682 crypto/testmgr.c struct cipher_test_sglists *tsgls; tsgls 684 crypto/testmgr.c tsgls = kmalloc(sizeof(*tsgls), GFP_KERNEL); tsgls 685 crypto/testmgr.c if (!tsgls) tsgls 688 crypto/testmgr.c if (init_test_sglist(&tsgls->src) != 0) tsgls 690 crypto/testmgr.c if (init_test_sglist(&tsgls->dst) != 0) tsgls 693 crypto/testmgr.c return tsgls; tsgls 696 crypto/testmgr.c destroy_test_sglist(&tsgls->src); tsgls 698 crypto/testmgr.c kfree(tsgls); tsgls 702 crypto/testmgr.c static void free_cipher_test_sglists(struct cipher_test_sglists *tsgls) tsgls 704 crypto/testmgr.c if (tsgls) { tsgls 705 crypto/testmgr.c destroy_test_sglist(&tsgls->src); tsgls 706 crypto/testmgr.c destroy_test_sglist(&tsgls->dst); tsgls 707 crypto/testmgr.c kfree(tsgls); tsgls 712 crypto/testmgr.c static int build_cipher_test_sglists(struct cipher_test_sglists *tsgls, tsgls 724 crypto/testmgr.c err = build_test_sglist(&tsgls->src, cfg->src_divs, alignmask, tsgls 733 crypto/testmgr.c tsgls->dst.sgl_ptr = tsgls->src.sgl; tsgls 734 crypto/testmgr.c tsgls->dst.nents = tsgls->src.nents; tsgls 737 crypto/testmgr.c return build_test_sglist(&tsgls->dst, tsgls 1842 crypto/testmgr.c struct cipher_test_sglists *tsgls) tsgls 1906 crypto/testmgr.c err = build_cipher_test_sglists(tsgls, cfg, alignmask, tsgls 1921 crypto/testmgr.c aead_request_set_crypt(req, tsgls->src.sgl_ptr, tsgls->dst.sgl_ptr, tsgls 1935 crypto/testmgr.c req->src != tsgls->src.sgl_ptr || tsgls 1936 crypto/testmgr.c req->dst != tsgls->dst.sgl_ptr || tsgls 1949 crypto/testmgr.c if (req->src != tsgls->src.sgl_ptr) tsgls 1951 crypto/testmgr.c if (req->dst != tsgls->dst.sgl_ptr) tsgls 1963 crypto/testmgr.c if (is_test_sglist_corrupted(&tsgls->src)) { tsgls 1968 crypto/testmgr.c if (tsgls->dst.sgl_ptr != tsgls->src.sgl && tsgls 1969 crypto/testmgr.c is_test_sglist_corrupted(&tsgls->dst)) { tsgls 1991 crypto/testmgr.c err = verify_correct_output(&tsgls->dst, enc ? vec->ctext : vec->ptext, tsgls 2011 crypto/testmgr.c struct cipher_test_sglists *tsgls) tsgls 2025 crypto/testmgr.c req, tsgls); tsgls 2039 crypto/testmgr.c &cfg, req, tsgls); tsgls 2137 crypto/testmgr.c struct cipher_test_sglists *tsgls) tsgls 2246 crypto/testmgr.c req, tsgls); tsgls 2251 crypto/testmgr.c cfg, req, tsgls); tsgls 2273 crypto/testmgr.c struct cipher_test_sglists *tsgls) tsgls 2282 crypto/testmgr.c struct cipher_test_sglists *tsgls) tsgls 2289 crypto/testmgr.c tsgls); tsgls 2303 crypto/testmgr.c struct cipher_test_sglists *tsgls = NULL; tsgls 2326 crypto/testmgr.c tsgls = alloc_cipher_test_sglists(); tsgls 2327 crypto/testmgr.c if (!tsgls) { tsgls 2334 crypto/testmgr.c err = test_aead(driver, ENCRYPT, suite, req, tsgls); tsgls 2338 crypto/testmgr.c err = test_aead(driver, DECRYPT, suite, req, tsgls); tsgls 2342 crypto/testmgr.c err = test_aead_vs_generic_impl(driver, desc, req, tsgls); tsgls 2344 crypto/testmgr.c free_cipher_test_sglists(tsgls); tsgls 2442 crypto/testmgr.c struct cipher_test_sglists *tsgls) tsgls 2500 crypto/testmgr.c err = build_cipher_test_sglists(tsgls, cfg, alignmask, tsgls 2511 crypto/testmgr.c skcipher_request_set_crypt(req, tsgls->src.sgl_ptr, tsgls->dst.sgl_ptr, tsgls 2523 crypto/testmgr.c req->src != tsgls->src.sgl_ptr || tsgls 2524 crypto/testmgr.c req->dst != tsgls->dst.sgl_ptr || tsgls 2535 crypto/testmgr.c if (req->src != tsgls->src.sgl_ptr) tsgls 2537 crypto/testmgr.c if (req->dst != tsgls->dst.sgl_ptr) tsgls 2549 crypto/testmgr.c if (is_test_sglist_corrupted(&tsgls->src)) { tsgls 2554 crypto/testmgr.c if (tsgls->dst.sgl_ptr != tsgls->src.sgl && tsgls 2555 crypto/testmgr.c is_test_sglist_corrupted(&tsgls->dst)) { tsgls 2576 crypto/testmgr.c err = verify_correct_output(&tsgls->dst, enc ? vec->ctext : vec->ptext, tsgls 2604 crypto/testmgr.c struct cipher_test_sglists *tsgls) tsgls 2618 crypto/testmgr.c req, tsgls); tsgls 2632 crypto/testmgr.c &cfg, req, tsgls); tsgls 2705 crypto/testmgr.c struct cipher_test_sglists *tsgls) tsgls 2808 crypto/testmgr.c cfg, req, tsgls); tsgls 2812 crypto/testmgr.c cfg, req, tsgls); tsgls 2832 crypto/testmgr.c struct cipher_test_sglists *tsgls) tsgls 2841 crypto/testmgr.c struct cipher_test_sglists *tsgls) tsgls 2848 crypto/testmgr.c tsgls); tsgls 2862 crypto/testmgr.c struct cipher_test_sglists *tsgls = NULL; tsgls 2885 crypto/testmgr.c tsgls = alloc_cipher_test_sglists(); tsgls 2886 crypto/testmgr.c if (!tsgls) { tsgls 2893 crypto/testmgr.c err = test_skcipher(driver, ENCRYPT, suite, req, tsgls); tsgls 2897 crypto/testmgr.c err = test_skcipher(driver, DECRYPT, suite, req, tsgls); tsgls 2902 crypto/testmgr.c tsgls); tsgls 2904 crypto/testmgr.c free_cipher_test_sglists(tsgls);