Home
last modified time | relevance | path

Searched refs:public_key (Results 1 – 13 of 13) sorted by relevance

/openssl-master/crypto/ct/
A Dct_log.c29 EVP_PKEY *public_key; member
267 CTLOG *CTLOG_new_ex(EVP_PKEY *public_key, const char *name, OSSL_LIB_CTX *libctx, in CTLOG_new_ex() argument
292 if (ct_v1_log_id_from_pkey(ret, public_key) != 1) in CTLOG_new_ex()
295 ret->public_key = public_key; in CTLOG_new_ex()
302 CTLOG *CTLOG_new(EVP_PKEY *public_key, const char *name) in CTLOG_new() argument
304 return CTLOG_new_ex(public_key, name, NULL, NULL); in CTLOG_new()
312 EVP_PKEY_free(log->public_key); in CTLOG_free()
332 return log->public_key; in CTLOG_get0_public_key()
/openssl-master/crypto/x509/
A Dx_pubkey.c33 ASN1_BIT_STRING *public_key; member
91 ASN1_BIT_STRING_free(pubkey->public_key); in x509_pubkey_ex_free()
105 && (pubkey->public_key != NULL in x509_pubkey_ex_populate()
291 || !ASN1_BIT_STRING_set(pubkey->public_key, in X509_PUBKEY_dup()
292 a->public_key->data, in X509_PUBKEY_dup()
987 OPENSSL_free(pub->public_key->data); in X509_PUBKEY_set0_param()
988 pub->public_key->data = penc; in X509_PUBKEY_set0_param()
989 pub->public_key->length = penclen; in X509_PUBKEY_set0_param()
1004 *pk = pub->public_key->data; in X509_PUBKEY_get0_param()
1005 *ppklen = pub->public_key->length; in X509_PUBKEY_get0_param()
[all …]
/openssl-master/crypto/ec/curve448/
A Deddsa.c377 size_t message_len, const uint8_t public_key[57], in ossl_ed448_sign()
381 return ossl_c448_ed448_sign(ctx, out_sig, private_key, public_key, message, in ossl_ed448_sign()
388 const uint8_t signature[114], const uint8_t public_key[57], in ossl_ed448_verify()
391 return ossl_c448_ed448_verify(ctx, signature, public_key, message, in ossl_ed448_verify()
398 const uint8_t public_key[57], const uint8_t private_key[57], in ossl_ed448ph_sign()
401 return ossl_c448_ed448_sign_prehash(ctx, out_sig, private_key, public_key, in ossl_ed448ph_sign()
408 const uint8_t signature[114], const uint8_t public_key[57], in ossl_ed448ph_verify()
412 return ossl_c448_ed448_verify_prehash(ctx, signature, public_key, hash, in ossl_ed448ph_verify()
A Dcurve448_local.h15 const uint8_t public_key[57], const uint8_t private_key[57],
20 const uint8_t signature[114], const uint8_t public_key[57],
/openssl-master/include/crypto/
A Decx.h98 const uint8_t public_key[32], const uint8_t private_key[32],
102 const uint8_t signature[64], const uint8_t public_key[32],
110 size_t message_len, const uint8_t public_key[57],
116 const uint8_t signature[114], const uint8_t public_key[57],
/openssl-master/crypto/cms/
A Dcms_dh.c25 ASN1_INTEGER *public_key = NULL; in dh_cms_set_peerkey() local
50 if ((public_key = d2i_ASN1_INTEGER(NULL, &p, plen)) == NULL) in dh_cms_set_peerkey()
57 if ((bnpub = ASN1_INTEGER_to_BN(public_key, NULL)) == NULL) in dh_cms_set_peerkey()
73 ASN1_INTEGER_free(public_key); in dh_cms_set_peerkey()
/openssl-master/crypto/dsa/
A Ddsa_ameth.c37 ASN1_INTEGER *public_key = NULL; in dsa_pub_decode() local
65 if ((public_key = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) { in dsa_pub_decode()
70 if ((dsa->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)) == NULL) { in dsa_pub_decode()
76 ASN1_INTEGER_free(public_key); in dsa_pub_decode()
81 ASN1_INTEGER_free(public_key); in dsa_pub_decode()
/openssl-master/crypto/dh/
A Ddh_ameth.c68 ASN1_INTEGER *public_key = NULL; in dh_pub_decode() local
90 if ((public_key = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) { in dh_pub_decode()
96 if ((dh->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)) == NULL) { in dh_pub_decode()
101 ASN1_INTEGER_free(public_key); in dh_pub_decode()
106 ASN1_INTEGER_free(public_key); in dh_pub_decode()
/openssl-master/doc/man3/
A DCTLOG_new.pod14 CTLOG *CTLOG_new_ex(EVP_PKEY *public_key, const char *name,
16 CTLOG *CTLOG_new(EVP_PKEY *public_key, const char *name);
/openssl-master/include/openssl/
A Dct.h.in429 * Creates a new CT log instance with the given |public_key| and |name| and
432 * Takes ownership of |public_key| but copies |name|.
433 * Returns NULL if malloc fails or if |public_key| cannot be converted to DER.
436 CTLOG *CTLOG_new_ex(EVP_PKEY *public_key, const char *name, OSSL_LIB_CTX *libctx,
443 CTLOG *CTLOG_new(EVP_PKEY *public_key, const char *name);
/openssl-master/apps/
A Ds_client.c3087 EVP_PKEY *public_key; in print_stuff() local
3113 public_key = X509_get_pubkey(sk_X509_value(sk, i)); in print_stuff()
3114 if (public_key != NULL) { in print_stuff()
3116 OBJ_nid2sn(EVP_PKEY_get_base_id(public_key)), in print_stuff()
3117 EVP_PKEY_get_bits(public_key), in print_stuff()
3119 EVP_PKEY_free(public_key); in print_stuff()
/openssl-master/crypto/ec/
A Dcurve25519.c5444 const uint8_t public_key[32], const uint8_t private_key[32], in ossl_ed25519_sign()
5480 || !EVP_DigestUpdate(hash_ctx, public_key, 32) in ossl_ed25519_sign()
5501 const uint8_t signature[64], const uint8_t public_key[32], in ossl_ed25519_verify()
5550 if (ge_frombytes_vartime(&A, public_key) != 0) { in ossl_ed25519_verify()
5566 || !EVP_DigestUpdate(hash_ctx, public_key, 32) in ossl_ed25519_verify()
/openssl-master/
A DCHANGES.md13101 in a single operation. X509_get0_pubkey_bitstr() extracts the public_key
13102 structure from a certificate. X509_pubkey_digest() digests the public_key

Completed in 49 milliseconds