Lines Matching refs:kem_encaps_ctx
569 EVP_PKEY_CTX *kem_encaps_ctx[MAX_KEM_NUM]; member
1436 EVP_PKEY_CTX *ctx = tempargs->kem_encaps_ctx[testnum]; in KEM_encaps_loop()
4060 EVP_PKEY_CTX *kem_encaps_ctx = NULL; in speed_main() local
4119 kem_encaps_ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), in speed_main()
4122 if (kem_encaps_ctx == NULL in speed_main()
4123 || EVP_PKEY_encapsulate_init(kem_encaps_ctx, NULL) <= 0 in speed_main()
4125 && EVP_PKEY_CTX_set_kem_op(kem_encaps_ctx, "RSASVE") <= 0) in speed_main()
4129 && EVP_PKEY_CTX_set_kem_op(kem_encaps_ctx, "DHKEM") <= 0) in speed_main()
4130 || EVP_PKEY_encapsulate(kem_encaps_ctx, NULL, &out_len, in speed_main()
4143 if (EVP_PKEY_encapsulate(kem_encaps_ctx, out, &out_len, in speed_main()
4181 loopargs[i].kem_encaps_ctx[testnum] = kem_encaps_ctx; in speed_main()
4712 EVP_PKEY_CTX_free(loopargs[i].kem_encaps_ctx[k]); in speed_main()