Searched refs:sha1 (Results 1 – 6 of 6) sorted by relevance
/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/ |
D | EapMsChapV2MethodStateMachine.java | 528 MessageDigest sha1 = MessageDigest.getInstance(SHA_ALG); in challengeHash() local 529 sha1.update(peerChallenge); in challengeHash() 530 sha1.update(authenticatorChallenge); in challengeHash() 531 sha1.update(usernameToBytes(username)); in challengeHash() 532 return Arrays.copyOf(sha1.digest(), CHALLENGE_HASH_LEN); in challengeHash() 609 MessageDigest sha1 = MessageDigest.getInstance(SHA_ALG); in generateAuthenticatorResponse() local 610 sha1.update(passwordHashHash); in generateAuthenticatorResponse() 611 sha1.update(ntResponse); in generateAuthenticatorResponse() 612 sha1.update(CHALLENGE_MAGIC_1); // add just a dash of magic in generateAuthenticatorResponse() 613 byte[] digest = sha1.digest(); in generateAuthenticatorResponse() [all …]
|
D | EapSimAkaMethodStateMachine.java | 171 String tag, MessageDigest sha1, Fips186_2Prf prf, byte[] mkInput) { in generateAndPersistKeys() argument 172 byte[] mk = sha1.digest(mkInput); in generateAndPersistKeys()
|
D | EapSimMethodStateMachine.java | 433 MessageDigest sha1 = MessageDigest.getInstance(MASTER_KEY_GENERATION_ALG); in process() local 435 generateAndPersistKeys(mTAG, sha1, new Fips186_2Prf(), mkInputData); in process()
|
D | EapAkaMethodStateMachine.java | 578 MessageDigest sha1 = MessageDigest.getInstance(MASTER_KEY_GENERATION_ALG); in generateAndPersistEapAkaKeys() local 580 generateAndPersistKeys(mTAG, sha1, new Fips186_2Prf(), mkInputData); in generateAndPersistEapAkaKeys()
|
/packages/apps/Car/libs/car-ui-lib/tests/tools/ |
D | quick_rro.py | 23 from hashlib import sha1 50 hash = sha1(args.package.encode('UTF-8'))
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | EapSimAkaMethodStateMachineTest.java | 264 MessageDigest sha1 = MessageDigest.getInstance(MASTER_KEY_GENERATION_ALG); in testCreateSha1() local 265 byte[] sha1Result = sha1.digest(SHA_1_INPUT); in testCreateSha1()
|