Searched refs:ecdsa_method (Results 1 – 4 of 4) sorted by relevance
429 static ECDSA_METHOD *ecdsa_method = NULL; in tls_signer_ecdsa_method() local433 if (ecdsa_method != NULL) in tls_signer_ecdsa_method()436 ecdsa_method = calloc(1, sizeof(*ecdsa_method)); in tls_signer_ecdsa_method()437 if (ecdsa_method == NULL) in tls_signer_ecdsa_method()440 ecdsa_method->ecdsa_do_sign = tls_ecdsa_do_sign; in tls_signer_ecdsa_method()441 ecdsa_method->name = strdup("libtls ECDSA method"); in tls_signer_ecdsa_method()442 if (ecdsa_method->name == NULL) { in tls_signer_ecdsa_method()443 free(ecdsa_method); in tls_signer_ecdsa_method()444 ecdsa_method = NULL; in tls_signer_ecdsa_method()450 return (ecdsa_method); in tls_signer_ecdsa_method()
391 ECDSA_METHOD *ecdsa_method; in tls_keypair_setup_pkey() local429 if ((ecdsa_method = tls_signer_ecdsa_method()) == NULL || in tls_keypair_setup_pkey()431 ECDSA_set_method(eckey, ecdsa_method) == 0) { in tls_keypair_setup_pkey()
145 typedef struct ecdsa_method ECDSA_METHOD;
80 struct ecdsa_method { struct