Lines Matching refs:hpke_mode
912 int hpke_mode = hpke_mode_list[mind]; in test_hpke_modes_suites() local
952 if (hpke_mode == OSSL_HPKE_MODE_PSK in test_hpke_modes_suites()
953 || hpke_mode == OSSL_HPKE_MODE_PSKAUTH) { in test_hpke_modes_suites()
972 if (hpke_mode == OSSL_HPKE_MODE_AUTH in test_hpke_modes_suites()
973 || hpke_mode == OSSL_HPKE_MODE_PSKAUTH) { in test_hpke_modes_suites()
1008 if (!TEST_ptr(ctx = OSSL_HPKE_CTX_new(hpke_mode, hpke_suite, in test_hpke_modes_suites()
1012 if (hpke_mode == OSSL_HPKE_MODE_PSK in test_hpke_modes_suites()
1013 || hpke_mode == OSSL_HPKE_MODE_PSKAUTH) { in test_hpke_modes_suites()
1018 if (hpke_mode == OSSL_HPKE_MODE_AUTH in test_hpke_modes_suites()
1019 || hpke_mode == OSSL_HPKE_MODE_PSKAUTH) { in test_hpke_modes_suites()
1043 rctx = OSSL_HPKE_CTX_new(hpke_mode, hpke_suite, in test_hpke_modes_suites()
1048 if (hpke_mode == OSSL_HPKE_MODE_PSK in test_hpke_modes_suites()
1049 || hpke_mode == OSSL_HPKE_MODE_PSKAUTH) { in test_hpke_modes_suites()
1054 if (hpke_mode == OSSL_HPKE_MODE_AUTH in test_hpke_modes_suites()
1055 || hpke_mode == OSSL_HPKE_MODE_PSKAUTH) { in test_hpke_modes_suites()
1123 int hpke_mode = OSSL_HPKE_MODE_BASE; in test_hpke_export() local
1144 if (!TEST_ptr(ctx = OSSL_HPKE_CTX_new(hpke_mode, hpke_suite, in test_hpke_export()
1171 if (!TEST_ptr(rctx = OSSL_HPKE_CTX_new(hpke_mode, hpke_suite, in test_hpke_export()
1312 int hpke_mode = OSSL_HPKE_MODE_BASE; in test_hpke_oddcalls() local
1429 if (!TEST_ptr_null(ctx = OSSL_HPKE_CTX_new(hpke_mode, bad_suite, in test_hpke_oddcalls()
1439 if (!TEST_ptr(ctx = OSSL_HPKE_CTX_new(hpke_mode, hpke_suite, in test_hpke_oddcalls()
1510 if (!TEST_ptr(rctx = OSSL_HPKE_CTX_new(hpke_mode, hpke_suite, in test_hpke_oddcalls()
1803 int hpke_mode = OSSL_HPKE_MODE_AUTH; in test_hpke_compressed() local
1838 if (!TEST_ptr(ctx = OSSL_HPKE_CTX_new(hpke_mode, hpke_suite, in test_hpke_compressed()
1851 if (!TEST_ptr(rctx = OSSL_HPKE_CTX_new(hpke_mode, hpke_suite, in test_hpke_compressed()
1881 int hpke_mode = OSSL_HPKE_MODE_BASE; in test_hpke_noncereuse() local
1899 if (!TEST_ptr(ctx = OSSL_HPKE_CTX_new(hpke_mode, hpke_suite, in test_hpke_noncereuse()
1916 if (!TEST_ptr(rctx = OSSL_HPKE_CTX_new(hpke_mode, hpke_suite, in test_hpke_noncereuse()