Searched refs:crypto_rsa_key (Results 1 – 6 of 6) sorted by relevance
/external/wpa_supplicant/ |
D | rsa.h | 18 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);
|
D | rsa.c | 24 struct crypto_rsa_key { struct 68 struct crypto_rsa_key * 71 struct crypto_rsa_key *key; in crypto_rsa_import_public_key() 132 struct crypto_rsa_key * 135 struct crypto_rsa_key *key; in crypto_rsa_import_private_key() 233 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key) in crypto_rsa_get_modulus_len() 250 struct crypto_rsa_key *key, int use_private) in crypto_rsa_exptmod() 346 void crypto_rsa_free(struct crypto_rsa_key *key) in crypto_rsa_free()
|
D | crypto_internal.c | 516 static int crypto_rsa_encrypt_pkcs1(int block_type, struct crypto_rsa_key *key, in crypto_rsa_encrypt_pkcs1() 537 return crypto_rsa_encrypt_pkcs1(2, (struct crypto_rsa_key *) key, in crypto_public_key_encrypt_pkcs1_v15() 546 return crypto_rsa_encrypt_pkcs1(1, (struct crypto_rsa_key *) key, in crypto_private_key_sign_pkcs1() 553 crypto_rsa_free((struct crypto_rsa_key *) key); in crypto_public_key_free() 559 crypto_rsa_free((struct crypto_rsa_key *) key); in crypto_private_key_free() 572 (struct crypto_rsa_key *) key, 0) < 0) in crypto_public_key_decrypt_pkcs1()
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
D | rsa.h | 18 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);
|
D | rsa.c | 24 struct crypto_rsa_key { struct 69 struct crypto_rsa_key * 72 struct crypto_rsa_key *key; in crypto_rsa_import_public_key() 133 struct crypto_rsa_key * 136 struct crypto_rsa_key *key; in crypto_rsa_import_private_key() 235 size_t crypto_rsa_get_modulus_len(struct crypto_rsa_key *key) in crypto_rsa_get_modulus_len() 252 struct crypto_rsa_key *key, int use_private) in crypto_rsa_exptmod() 348 void crypto_rsa_free(struct crypto_rsa_key *key) in crypto_rsa_free()
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
D | crypto_internal.c | 632 static int crypto_rsa_encrypt_pkcs1(int block_type, struct crypto_rsa_key *key, in crypto_rsa_encrypt_pkcs1() 653 return crypto_rsa_encrypt_pkcs1(2, (struct crypto_rsa_key *) key, in crypto_public_key_encrypt_pkcs1_v15() 662 struct crypto_rsa_key *rkey = (struct crypto_rsa_key *) key; in crypto_private_key_decrypt_pkcs1_v15() 695 return crypto_rsa_encrypt_pkcs1(1, (struct crypto_rsa_key *) key, in crypto_private_key_sign_pkcs1() 702 crypto_rsa_free((struct crypto_rsa_key *) key); in crypto_public_key_free() 708 crypto_rsa_free((struct crypto_rsa_key *) key); in crypto_private_key_free() 721 (struct crypto_rsa_key *) key, 0) < 0) in crypto_public_key_decrypt_pkcs1()
|