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

/freebsd-11.0-release/contrib/wpa/src/tls/
H A 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);
H A 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,
H A Drsa.c17 struct crypto_rsa_key { struct
61 struct crypto_rsa_key *
64 struct crypto_rsa_key *key;
119 struct crypto_rsa_key *
123 struct crypto_rsa_key *key;
148 struct crypto_rsa_key *
151 struct crypto_rsa_key *key;
249 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key)
266 struct crypto_rsa_key *key, int use_private)
362 void crypto_rsa_free(struct crypto_rsa_key *ke
[all...]
H A Dpkcs1.c81 int pkcs1_encrypt(int block_type, struct crypto_rsa_key *key,
97 int pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key,
134 int pkcs1_decrypt_public_key(struct crypto_rsa_key *key,
/freebsd-11.0-release/contrib/wpa/src/crypto/
H A Dcrypto_internal-rsa.c17 /* Dummy structures; these are just typecast to struct crypto_rsa_key */
76 return pkcs1_encrypt(2, (struct crypto_rsa_key *) key,
85 return pkcs1_v15_private_key_decrypt((struct crypto_rsa_key *) key,
94 return pkcs1_encrypt(1, (struct crypto_rsa_key *) key,
101 crypto_rsa_free((struct crypto_rsa_key *) key);
107 crypto_rsa_free((struct crypto_rsa_key *) key);
115 return pkcs1_decrypt_public_key((struct crypto_rsa_key *) key,

Completed in 114 milliseconds