Home
last modified time | relevance | path

Searched defs:pubkey (Results 1 – 25 of 103) sorted by relevance

12345

/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Devp_pkey_dparams_test.c30 struct pubkey { struct
31 int bad;
32 const unsigned char *key_bin;
33 size_t key_bin_len;
H A Dalgorithmid_test.c23 static int test_spki_aid(X509_PUBKEY *pubkey, const char *filename) in test_spki_aid()
105 X509_PUBKEY *pubkey = X509_get_X509_PUBKEY(cert); in test_x509_spki_aid() local
190 X509_PUBKEY *pubkey = NULL; in test_spki_file() local
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/cms/
H A Dcms_dh.c20 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in dh_cms_set_peerkey()
170 ASN1_BIT_STRING *pubkey; in dh_cms_decrypt() local
198 ASN1_BIT_STRING *pubkey; in dh_cms_encrypt() local
H A Dcms_ec.c73 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in ecdh_cms_set_peerkey()
229 ASN1_BIT_STRING *pubkey; in ecdh_cms_decrypt() local
257 ASN1_BIT_STRING *pubkey; in ecdh_cms_encrypt() local
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/ec/
H A Decx_backend.c60 unsigned char *pubkey; in ossl_ecx_key_fromdata() local
164 unsigned char *privkey, *pubkey; in ossl_ecx_key_op() local
H A Decx_meth.c56 static int ecx_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in ecx_pub_decode()
727 const unsigned char **pubkey) in validate_ecx_derive()
754 const unsigned char *privkey, *pubkey; in pkey_ecx_derive25519() local
767 const unsigned char *privkey, *pubkey; in pkey_ecx_derive448() local
945 unsigned char *privkey = NULL, *pubkey; in s390x_pkey_ecx_keygen25519() local
988 unsigned char *privkey = NULL, *pubkey; in s390x_pkey_ecx_keygen448() local
1034 unsigned char *privkey = NULL, *pubkey; in s390x_pkey_ecd_keygen25519() local
1100 unsigned char *privkey = NULL, *pubkey; in s390x_pkey_ecd_keygen448() local
1161 const unsigned char *privkey, *pubkey; in s390x_pkey_ecx_derive25519() local
1174 const unsigned char *privkey, *pubkey; in s390x_pkey_ecx_derive448() local
/netbsd-src/external/bsd/wpa/dist/src/crypto/
H A Dcrypto_internal-modexp.c17 u8 *pubkey) in crypto_dh_init()
45 const u8 *pubkey, size_t pubkey_len, in crypto_dh_derive_secret()
/netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/
H A Dssh2pgp.c207 pgp_pubkey_t *pubkey; in pgp_ssh2pubkey() local
345 pgp_ssh2seckey(pgp_io_t *io, const char *f, pgp_key_t *key, pgp_pubkey_t *pubkey, pgp_hash_alg_t ha… in pgp_ssh2seckey()
437 pgp_key_t *pubkey; in pgp_ssh2_readkeys() local
H A Dcrypto.c200 const pgp_pubkey_t * pubkey, in pgp_rsa_encrypt_mpi()
237 const pgp_pubkey_t * pubkey, in pgp_elgamal_encrypt_mpi()
398 const pgp_key_t *pubkey, in pgp_encrypt_buf()
H A Dpacket-print.c310 numkeybits(const pgp_pubkey_t *pubkey) in numkeybits()
401 const pgp_pubkey_t *pubkey, const int psigs) in pgp_sprint_keydata()
482 const pgp_pubkey_t *pubkey, const int psigs) in pgp_sprint_mj()
568 const pgp_pubkey_t *pubkey, const int psigs) in pgp_hkp_sprint_keydata()
632 const pgp_pubkey_t *pubkey, const int psigs) in pgp_print_keydata()
647 pgp_print_pubkey(const pgp_pubkey_t *pubkey) in pgp_print_pubkey()
H A Dopenssl_crypto.c119 makeRSA(const pgp_rsa_pubkey_t *pubkey, const pgp_rsa_seckey_t *seckey) in makeRSA()
731 const pgp_rsa_pubkey_t *pubkey) in pgp_rsa_public_decrypt()
758 const pgp_rsa_pubkey_t *pubkey) in pgp_rsa_private_encrypt()
795 const pgp_rsa_pubkey_t *pubkey) in pgp_rsa_private_decrypt()
837 const pgp_rsa_pubkey_t *pubkey) in pgp_rsa_public_encrypt()
1133 const pgp_elgamal_pubkey_t *pubkey) in pgp_elgamal_public_encrypt()
1211 const pgp_elgamal_pubkey_t *pubkey) in pgp_elgamal_private_decrypt()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/x509/
H A Dx509_r2x.c25 EVP_PKEY *pubkey = NULL; in X509_REQ_to_X509() local
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/x509/
H A Dx509_r2x.c25 EVP_PKEY *pubkey = NULL; in X509_REQ_to_X509() local
H A Dv3_skid.c55 ASN1_OCTET_STRING *ossl_x509_pubkey_hash(X509_PUBKEY *pubkey) in ossl_x509_pubkey_hash()
H A Dv3_akid.c168 X509_PUBKEY *pubkey = NULL; in v2i_AUTHORITY_KEYID() local
H A Dx_pubkey.c87 X509_PUBKEY *pubkey; in x509_pubkey_ex_free() local
101 X509_PUBKEY *pubkey = (X509_PUBKEY *)*pval; in x509_pubkey_ex_populate() local
136 X509_PUBKEY *pubkey; in x509_pubkey_ex_d2i_ex() local
269 X509_PUBKEY *pubkey = NULL; in IMPLEMENT_EXTERN_ASN1() local
285 X509_PUBKEY *pubkey = OPENSSL_zalloc(sizeof(*pubkey)); in X509_PUBKEY_dup() local
/netbsd-src/external/bsd/wpa/dist/src/wps/
H A Dwps_common.c64 struct wpabuf *pubkey, *dh_shared; in wps_derive_keys() local
413 const struct wpabuf *pubkey, in wps_build_nfc_pw_token()
624 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, in wps_nfc_token_build()
646 int wps_nfc_gen_dh(struct wpabuf **pubkey, struct wpabuf **privkey) in wps_nfc_gen_dh()
672 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, in wps_nfc_token_gen()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/ct/
H A Dct_sct_ctx.c253 int SCT_CTX_set1_issuer_pubkey(SCT_CTX *sctx, X509_PUBKEY *pubkey) in SCT_CTX_set1_issuer_pubkey()
258 int SCT_CTX_set1_pubkey(SCT_CTX *sctx, X509_PUBKEY *pubkey) in SCT_CTX_set1_pubkey()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ct/
H A Dct_sct_ctx.c238 int SCT_CTX_set1_issuer_pubkey(SCT_CTX *sctx, X509_PUBKEY *pubkey) in SCT_CTX_set1_issuer_pubkey()
243 int SCT_CTX_set1_pubkey(SCT_CTX *sctx, X509_PUBKEY *pubkey) in SCT_CTX_set1_pubkey()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ec/
H A Decx_meth.c50 unsigned char *privkey, *pubkey; in ecx_key_op() local
150 static int ecx_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in ecx_pub_decode()
660 const unsigned char **pubkey) in validate_ecx_derive()
687 const unsigned char *privkey, *pubkey; in pkey_ecx_derive25519() local
700 const unsigned char *privkey, *pubkey; in pkey_ecx_derive448() local
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/dh/
H A Ddh_ameth.c45 static int dh_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) in dh_pub_decode()
612 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in dh_cms_set_peerkey()
758 ASN1_BIT_STRING *pubkey; in dh_cms_decrypt() local
785 ASN1_BIT_STRING *pubkey; in dh_cms_encrypt() local
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/x509v3/
H A Dv3_skey.c59 X509_PUBKEY *pubkey; in s2i_skey_id() local
/netbsd-src/crypto/external/bsd/netpgp/dist/src/libverify/
H A Dlibverify.c401 fmt_key_mpis(pgpv_pubkey_t *pubkey, uint8_t *buf, size_t size) in fmt_key_mpis()
433 pgpv_calc_fingerprint(pgpv_fingerprint_t *fingerprint, pgpv_pubkey_t *pubkey) in pgpv_calc_fingerprint()
973 read_pubkey(pgpv_pubkey_t *pubkey, uint8_t *mem, size_t pktlen, int pbn) in read_pubkey()
1339 numkeybits(const pgpv_pubkey_t *pubkey) in numkeybits()
1359 fmt_pubkey(char *s, size_t size, pgpv_pubkey_t *pubkey, const char *leader) in fmt_pubkey()
1533 pgpv_rsa_public_decrypt(uint8_t *out, const uint8_t *in, size_t length, const pgpv_pubkey_t *pubkey) in pgpv_rsa_public_decrypt()
1551 …y(uint8_t *calculated, unsigned calclen, uint8_t hashalg, pgpv_bignum_t *bn, pgpv_pubkey_t *pubkey) in rsa_verify()
1602 verify_dsa_sig(uint8_t *calculated, unsigned calclen, pgpv_bignum_t *sig, pgpv_pubkey_t *pubkey) in verify_dsa_sig()
1683 valid_dates(pgpv_signature_t *signature, pgpv_pubkey_t *pubkey, char *buf, size_t size) in valid_dates()
1711 key_expired(pgpv_pubkey_t *pubkey, char *buf, size_t size) in key_expired()
[all …]
/netbsd-src/usr.sbin/wg-keygen/
H A Dwg-keygen.c119 uint8_t pubkey[KEY_LEN]; in main() local
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/dh/
H A Ddh_key.c387 BIGNUM *pubkey = NULL; in ossl_dh_buf2key() local
415 const BIGNUM *pubkey; in ossl_dh_key2buf() local

12345