Home
last modified time | relevance | path

Searched refs:sha1 (Results 1 – 6 of 6) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/eap/statemachine/
DEapMsChapV2MethodStateMachine.java528 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 …]
DEapSimAkaMethodStateMachine.java171 String tag, MessageDigest sha1, Fips186_2Prf prf, byte[] mkInput) { in generateAndPersistKeys() argument
172 byte[] mk = sha1.digest(mkInput); in generateAndPersistKeys()
DEapSimMethodStateMachine.java433 MessageDigest sha1 = MessageDigest.getInstance(MASTER_KEY_GENERATION_ALG); in process() local
435 generateAndPersistKeys(mTAG, sha1, new Fips186_2Prf(), mkInputData); in process()
DEapAkaMethodStateMachine.java578 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/
Dquick_rro.py23 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/
DEapSimAkaMethodStateMachineTest.java264 MessageDigest sha1 = MessageDigest.getInstance(MASTER_KEY_GENERATION_ALG); in testCreateSha1() local
265 byte[] sha1Result = sha1.digest(SHA_1_INPUT); in testCreateSha1()