Home
last modified time | relevance | path

Searched refs:crypto_rsa_key (Results 1 – 11 of 11) sorted by relevance

/hostap-latest/src/tls/
Drsa.h12 struct crypto_rsa_key;
14 struct crypto_rsa_key *
16 struct crypto_rsa_key *
19 struct crypto_rsa_key *
21 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key);
23 struct crypto_rsa_key *key, int use_private);
24 void crypto_rsa_free(struct crypto_rsa_key *key);
Drsa.c17 struct crypto_rsa_key { struct
60 struct crypto_rsa_key *
63 struct crypto_rsa_key *key; in crypto_rsa_import_public_key()
114 struct crypto_rsa_key *
118 struct crypto_rsa_key *key; in crypto_rsa_import_public_key_parts()
143 struct crypto_rsa_key *
146 struct crypto_rsa_key *key; in crypto_rsa_import_private_key()
240 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key) in crypto_rsa_get_modulus_len()
257 struct crypto_rsa_key *key, int use_private) in crypto_rsa_exptmod()
353 void crypto_rsa_free(struct crypto_rsa_key *key) in crypto_rsa_free()
Dpkcs1.h15 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
18 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key,
21 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key,
Dpkcs1.c81 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, in pkcs1_encrypt()
97 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key, in pkcs1_v15_private_key_decrypt()
134 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key, in pkcs1_decrypt_public_key()
/hostap-latest/src/crypto/
Dcrypto_internal-rsa.c76 return pkcs1_encrypt(2, (struct crypto_rsa_key *) key, in crypto_public_key_encrypt_pkcs1_v15()
85 return pkcs1_v15_private_key_decrypt((struct crypto_rsa_key *) key, in crypto_private_key_decrypt_pkcs1_v15()
94 return pkcs1_encrypt(1, (struct crypto_rsa_key *) key, in crypto_private_key_sign_pkcs1()
101 crypto_rsa_free((struct crypto_rsa_key *) key); in crypto_public_key_free()
107 crypto_rsa_free((struct crypto_rsa_key *) key); in crypto_private_key_free()
115 return pkcs1_decrypt_public_key((struct crypto_rsa_key *) key, in crypto_public_key_decrypt_pkcs1()
Dcrypto.h1295 struct crypto_rsa_key;
1303 struct crypto_rsa_key * crypto_rsa_key_read(const char *file, bool private_key);
1311 struct wpabuf * crypto_rsa_oaep_sha256_encrypt(struct crypto_rsa_key *key,
1320 struct wpabuf * crypto_rsa_oaep_sha256_decrypt(struct crypto_rsa_key *key,
1327 void crypto_rsa_key_free(struct crypto_rsa_key *key);
Dcrypto_openssl.c4489 struct crypto_rsa_key * crypto_rsa_key_read(const char *file, bool private_key) in crypto_rsa_key_read()
4502 return (struct crypto_rsa_key *) pkey; in crypto_rsa_key_read()
4508 struct wpabuf * crypto_rsa_oaep_sha256_encrypt(struct crypto_rsa_key *key, in crypto_rsa_oaep_sha256_encrypt()
4545 struct wpabuf * crypto_rsa_oaep_sha256_decrypt(struct crypto_rsa_key *key, in crypto_rsa_oaep_sha256_decrypt()
4584 void crypto_rsa_key_free(struct crypto_rsa_key *key) in crypto_rsa_key_free()
/hostap-latest/src/eap_server/
Deap.h128 struct crypto_rsa_key *imsi_privacy_key;
/hostap-latest/src/eap_peer/
Deap_sim.c54 struct crypto_rsa_key *imsi_privacy_key;
514 eap_sim_encrypt_identity(struct crypto_rsa_key *imsi_privacy_key, in eap_sim_encrypt_identity()
Deap_aka.c62 struct crypto_rsa_key *imsi_privacy_key;
646 eap_aka_encrypt_identity(struct crypto_rsa_key *imsi_privacy_key, in eap_aka_encrypt_identity()
/hostap-latest/src/ap/
Dhostapd.h235 struct crypto_rsa_key *imsi_privacy_key;