Home | History | Annotate | Download | only in apps

Lines Matching defs:kem

113     int kem;
293 { "kem-algorithms", OPT_KEM, '-',
294 "Benchmark KEM algorithms" },
1878 IS_FETCHABLE(kem, EVP_KEM)
1889 static void collect_kem(EVP_KEM *kem, void *stack)
1893 if (is_kem_fetchable(kem)
1894 && EVP_KEM_up_ref(kem)
1895 && sk_EVP_KEM_push(kem_stack, kem) <= 0)
1896 EVP_KEM_free(kem); /* up-ref successful but push to stack failed */
2250 = seconds.kem = seconds.sig = opt_int_arg();
2288 EVP_KEM *kem = sk_EVP_KEM_value(kem_stack, idx);
2290 if (strcmp(EVP_KEM_get0_name(kem), "RSA") == 0) {
2300 } else if (strcmp(EVP_KEM_get0_name(kem), "EC") == 0) {
2319 kems_algname[kems_algs_len++] = OPENSSL_strdup(EVP_KEM_get0_name(kem));
4182 BIO_printf(bio_err, "Error while generating KEM EVP_PKEY.\n");
4237 rcv_secret = app_malloc(rcv_secret_len, "KEM decaps secret");
4271 kskey_print_message(kem_name, "keygen", seconds.kem);
4276 mr ? "+R15:%ld:%s:%.2f\n" : "%ld %s KEM keygen ops in %.2fs\n", count,
4280 kskey_print_message(kem_name, "encaps", seconds.kem);
4285 mr ? "+R16:%ld:%s:%.2f\n" : "%ld %s KEM encaps ops in %.2fs\n", count,
4289 kskey_print_message(kem_name, "decaps", seconds.kem);
4294 mr ? "+R17:%ld:%s:%.2f\n" : "%ld %s KEM decaps ops in %.2fs\n", count,