Using rild funcs to do EAP-SIM/AKA authentication.#3
Open
celogeek wants to merge 1 commit intoomnirom:android-4.4from
Open
Using rild funcs to do EAP-SIM/AKA authentication.#3celogeek wants to merge 1 commit intoomnirom:android-4.4from
celogeek wants to merge 1 commit intoomnirom:android-4.4from
Conversation
Connect smart card via rild, using socket rild-oem. Add a new field in eap_peer_config, as the identity when end-user select eap method of SIM/AKA. 1. add a new field "imsi" in eap_peer_config, to record NAI. 2. when received eap request for identity, and SIM/AKA/AKA' is the allowed eap method, offer the value of "imsi" in eap response. 3. In eap method process, if it needs to get config identity, and the selected method is SIM/AKA/AKA', return "imsi" to it 4. when need to do gsm/umts authentication, supplicant send parameters to rild via dgram socket, and wait util sim card complete the authentication. 5. if the eap method was changed from SIM/AKA/AKA' to others, supplicant will clear the anonymous_identity field Signed-off-by: xianpu.liang <xianpu.liang@mediatek.com> Change-Id: Idbc33d3394c2545cad40981d4b10c8fc69cc77e9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Connect smart card via rild, using socket rild-oem.
Add a new field in eap_peer_config, as the identity
when end-user select eap method of SIM/AKA.
allowed eap method, offer the value of "imsi" in eap response.
the selected method is SIM/AKA/AKA', return "imsi" to it
to rild via dgram socket, and wait util sim card complete the authentication.
clear the anonymous_identity field
Signed-off-by: xianpu.liang xianpu.liang@mediatek.com
Change-Id: Idbc33d3394c2545cad40981d4b10c8fc69cc77e9