Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/apps/lib/
H A Dcmp_mock_srv.c524 X509_ALGOR *keyalg = NULL; in process_genm_itav() local
536 if ((keyalg = X509_ALGOR_new()) == NULL) in process_genm_itav()
539 (void)X509_ALGOR_set0(keyalg, OBJ_nid2obj(NID_X9_62_id_ecPublicKey), in process_genm_itav()
542 eckeyalg = OSSL_CMP_ATAV_new_algId(keyalg); in process_genm_itav()
548 X509_ALGOR_free(keyalg); in process_genm_itav()
/freebsd/crypto/openssl/crypto/pem/
H A Dpvkfmt.c570 unsigned int bitlen = 0, magic = 0, keyalg = 0; in do_i2b() local
575 keyalg = MS_KEYALG_RSA_KEYX; in do_i2b()
579 keyalg = MS_KEYALG_DSS_SIGN; in do_i2b()
586 + ossl_blob_length(bitlen, keyalg == MS_KEYALG_DSS_SIGN ? 1 : 0, ispub); in do_i2b()
606 write_ledword(&p, keyalg); in do_i2b()
609 if (keyalg == MS_KEYALG_RSA_KEYX) in do_i2b()
/freebsd/crypto/openssl/apps/
H A Dreq.c306 const char *keyalg = NULL; in req_main() local
395 keyalg = opt_arg(); in req_main()
669 if (keyalg != NULL && pkey != NULL) { in req_main()
680 genctx = set_keygen_ctx(keyalg, &keyalgstr, &newkey_len, gen_eng); in req_main()
H A Ds_client.c3443 const char *keyalg; in print_cert_key_info() local
3447 keyalg = EVP_PKEY_get0_type_name(pkey); in print_cert_key_info()
3448 if (keyalg == NULL) in print_cert_key_info()
3449 keyalg = OBJ_nid2ln(EVP_PKEY_get_base_id(pkey)); in print_cert_key_info()
3454 keyalg, curve, in print_cert_key_info()
3458 keyalg, EVP_PKEY_get_bits(pkey), in print_cert_key_info()