Searched refs:crypto_rsa_key (Results 1 - 18 of 18) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/src/tls/
H A Drsa.h18 struct crypto_rsa_key;
20 struct crypto_rsa_key *
22 struct crypto_rsa_key *
24 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key);
26 struct crypto_rsa_key *key, int use_private);
27 void crypto_rsa_free(struct crypto_rsa_key *key);
H A Drsa.c24 struct crypto_rsa_key { struct
69 struct crypto_rsa_key *
72 struct crypto_rsa_key *key;
133 struct crypto_rsa_key *
136 struct crypto_rsa_key *key;
235 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key)
252 struct crypto_rsa_key *key, int use_private)
348 void crypto_rsa_free(struct crypto_rsa_key *key)
/external/wpa_supplicant_8/hostapd/src/tls/
H A Drsa.h12 struct crypto_rsa_key;
14 struct crypto_rsa_key *
16 struct crypto_rsa_key *
18 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key);
20 struct crypto_rsa_key *key, int use_private);
21 void crypto_rsa_free(struct crypto_rsa_key *key);
H A Dpkcs1.h12 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
15 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key,
18 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key,
H A Drsa.c17 struct crypto_rsa_key { struct
61 struct crypto_rsa_key *
64 struct crypto_rsa_key *key;
125 struct crypto_rsa_key *
128 struct crypto_rsa_key *key;
226 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key)
243 struct crypto_rsa_key *key, int use_private)
339 void crypto_rsa_free(struct crypto_rsa_key *key)
H A Dpkcs1.c79 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
95 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key,
127 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key,
/external/wpa_supplicant_8/src/tls/
H A Drsa.h12 struct crypto_rsa_key;
14 struct crypto_rsa_key *
16 struct crypto_rsa_key *
18 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key);
20 struct crypto_rsa_key *key, int use_private);
21 void crypto_rsa_free(struct crypto_rsa_key *key);
H A Dpkcs1.h12 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
15 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key,
18 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key,
H A Drsa.c17 struct crypto_rsa_key { struct
61 struct crypto_rsa_key *
64 struct crypto_rsa_key *key;
125 struct crypto_rsa_key *
128 struct crypto_rsa_key *key;
226 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key)
243 struct crypto_rsa_key *key, int use_private)
339 void crypto_rsa_free(struct crypto_rsa_key *key)
H A Dpkcs1.c79 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
95 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key,
127 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key,
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Drsa.h12 struct crypto_rsa_key;
14 struct crypto_rsa_key *
16 struct crypto_rsa_key *
18 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key);
20 struct crypto_rsa_key *key, int use_private);
21 void crypto_rsa_free(struct crypto_rsa_key *key);
H A Dpkcs1.h12 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
15 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key,
18 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key,
H A Drsa.c17 struct crypto_rsa_key { struct
61 struct crypto_rsa_key *
64 struct crypto_rsa_key *key;
125 struct crypto_rsa_key *
128 struct crypto_rsa_key *key;
226 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key)
243 struct crypto_rsa_key *key, int use_private)
339 void crypto_rsa_free(struct crypto_rsa_key *key)
H A Dpkcs1.c79 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
95 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key,
127 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key,
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_internal-rsa.c17 /* Dummy structures; these are just typecast to struct crypto_rsa_key */
67 return pkcs1_encrypt(2, (struct crypto_rsa_key *) key,
76 return pkcs1_v15_private_key_decrypt((struct crypto_rsa_key *) key,
85 return pkcs1_encrypt(1, (struct crypto_rsa_key *) key,
92 crypto_rsa_free((struct crypto_rsa_key *) key);
98 crypto_rsa_free((struct crypto_rsa_key *) key);
106 return pkcs1_decrypt_public_key((struct crypto_rsa_key *) key,
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_internal-rsa.c17 /* Dummy structures; these are just typecast to struct crypto_rsa_key */
67 return pkcs1_encrypt(2, (struct crypto_rsa_key *) key,
76 return pkcs1_v15_private_key_decrypt((struct crypto_rsa_key *) key,
85 return pkcs1_encrypt(1, (struct crypto_rsa_key *) key,
92 crypto_rsa_free((struct crypto_rsa_key *) key);
98 crypto_rsa_free((struct crypto_rsa_key *) key);
106 return pkcs1_decrypt_public_key((struct crypto_rsa_key *) key,
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dcrypto_internal-rsa.c17 /* Dummy structures; these are just typecast to struct crypto_rsa_key */
67 return pkcs1_encrypt(2, (struct crypto_rsa_key *) key,
76 return pkcs1_v15_private_key_decrypt((struct crypto_rsa_key *) key,
85 return pkcs1_encrypt(1, (struct crypto_rsa_key *) key,
92 crypto_rsa_free((struct crypto_rsa_key *) key);
98 crypto_rsa_free((struct crypto_rsa_key *) key);
106 return pkcs1_decrypt_public_key((struct crypto_rsa_key *) key,
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Dcrypto_internal.c426 /* Dummy structures; these are just typecast to struct crypto_rsa_key */
632 static int crypto_rsa_encrypt_pkcs1(int block_type, struct crypto_rsa_key *key,
653 return crypto_rsa_encrypt_pkcs1(2, (struct crypto_rsa_key *) key,
662 struct crypto_rsa_key *rkey = (struct crypto_rsa_key *) key;
695 return crypto_rsa_encrypt_pkcs1(1, (struct crypto_rsa_key *) key,
702 crypto_rsa_free((struct crypto_rsa_key *) key);
708 crypto_rsa_free((struct crypto_rsa_key *) key);
721 (struct crypto_rsa_key *) key, 0) < 0)

Completed in 214 milliseconds