Home
last modified time | relevance | path

Searched refs:crypto_public_key (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_internal-rsa.c18 struct crypto_public_key;
22 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len) in crypto_public_key_import()
24 return (struct crypto_public_key *) in crypto_public_key_import()
29 struct crypto_public_key *
33 return (struct crypto_public_key *) in crypto_public_key_import_parts()
64 struct crypto_public_key * crypto_public_key_from_cert(const u8 *buf, in crypto_public_key_from_cert()
72 int crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, in crypto_public_key_encrypt_pkcs1_v15()
99 void crypto_public_key_free(struct crypto_public_key *key) in crypto_public_key_free()
111 int crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, in crypto_public_key_decrypt_pkcs1()
H A Dcrypto.h281 struct crypto_public_key;
298 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len);
300 struct crypto_public_key *
333 struct crypto_public_key * crypto_public_key_from_cert(const u8 *buf,
350 struct crypto_public_key *key, const u8 *in, size_t inlen,
395 void crypto_public_key_free(struct crypto_public_key *key);
417 struct crypto_public_key *key, const u8 *crypt, size_t crypt_len,
H A Dcrypto_libtomcrypt.c411 struct crypto_public_key { struct
420 struct crypto_public_key * crypto_public_key_import(const u8 *key, size_t len) in crypto_public_key_import() argument
423 struct crypto_public_key *pk; in crypto_public_key_import()
482 struct crypto_public_key * crypto_public_key_from_cert(const u8 *buf, in crypto_public_key_from_cert()
579 int crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, in crypto_public_key_encrypt_pkcs1_v15()
597 void crypto_public_key_free(struct crypto_public_key *key) in crypto_public_key_free()
615 int crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, in crypto_public_key_decrypt_pkcs1()
/freebsd/contrib/wpa/src/tls/
H A Dpkcs1.h12 struct crypto_public_key;
24 int pkcs1_v15_sig_ver(struct crypto_public_key *pk,
H A Dtlsv1_common.h253 int tls_parse_cert(const u8 *buf, size_t len, struct crypto_public_key **pk);
271 int tls_verify_signature(u16 tls_version, struct crypto_public_key *pk,
H A Dtlsv1_server_i.h35 struct crypto_public_key *client_rsa_key;
H A Dtlsv1_client_i.h41 struct crypto_public_key *server_rsa_key;
H A Dtlsv1_common.c163 int tls_parse_cert(const u8 *buf, size_t len, struct crypto_public_key **pk) in tls_parse_cert()
414 int tls_verify_signature(u16 tls_version, struct crypto_public_key *pk, in tls_verify_signature()
H A Dpkcs1.c200 int pkcs1_v15_sig_ver(struct crypto_public_key *pk, in pkcs1_v15_sig_ver()
H A Dx509v3.c1842 struct crypto_public_key *pk; in x509_check_signature()