Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/test/runner/
Dhandshake_server.go445 psk := pskIdentity{
448 pskIdentities = []pskIdentity{psk}
455 for i, pskIdentity := range pskIdentities {
457 sessionState, ok := c.decryptTicket(pskIdentity.ticket)
475 …clientTicketAge := time.Duration(uint32(pskIdentity.obfuscatedTicketAge-sessionState.ticketAgeAdd)…
483 hs.hello.pskIdentity = uint16(i)
486 hs.hello.pskIdentity = config.Bugs.SelectPSKIdentityOnResume
495 hs.hello.pskIdentity = 0
Dhandshake_messages.go127 type pskIdentity struct { struct
149 pskIdentities []pskIdentity
655 psk := pskIdentity{
826 pskIdentity uint16 member
878 extensions.addU16(m.pskIdentity)
984 m.pskIdentity = uint16(d[0])<<8 | uint16(d[1])
2358 func eqPSKIdentityLists(x, y []pskIdentity) bool { argument
Dhandshake_client.go276 psk := pskIdentity{
280 hello.pskIdentities = []pskIdentity{psk}
683 if hs.session == nil || hs.serverHello.pskIdentity != 0 {
Drunner.go2516 const pskIdentity = "luggage combo"
2543 "-psk-identity", pskIdentity)
2605 PreSharedKeyIdentity: pskIdentity,
2629 PreSharedKeyIdentity: pskIdentity,
2656 PreSharedKeyIdentity: pskIdentity,
2680 PreSharedKeyIdentity: pskIdentity,
/external/conscrypt/platform/src/test/java/org/conscrypt/
DNativeCryptoTest.java829 protected String pskIdentity; field in NativeCryptoTest.ClientHooks
835 if (pskIdentity != null) { in configureCallbacks()
839 b = pskIdentity.getBytes("UTF-8"); in configureCallbacks()
1293 cHooks.pskIdentity = "More non-ASCII characters: \u00f5\u044b"; in test_SSL_do_handshake_with_psk_with_identity_and_hint()
1312 assertEquals(cHooks.pskIdentity, serverCallback.serverPSKKeyRequestedIdentity); in test_SSL_do_handshake_with_psk_with_identity_and_hint()
1329 cHooks.pskIdentity = "123456789012345678901234567890123456789012345678901234567890" in test_SSL_do_handshake_with_psk_with_identity_and_hint_of_max_length()
1332 assertEquals(PSKKeyManager.MAX_IDENTITY_LENGTH_BYTES, cHooks.pskIdentity.length()); in test_SSL_do_handshake_with_psk_with_identity_and_hint_of_max_length()
1351 assertEquals(cHooks.pskIdentity, serverCallback.serverPSKKeyRequestedIdentity); in test_SSL_do_handshake_with_psk_with_identity_and_hint_of_max_length()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java831 protected String pskIdentity; field in NativeCryptoTest.ClientHooks
837 if (pskIdentity != null) { in configureCallbacks()
841 b = pskIdentity.getBytes("UTF-8"); in configureCallbacks()
1359 cHooks.pskIdentity = "More non-ASCII characters: \u00f5\u044b"; in test_SSL_do_handshake_with_psk_with_identity_and_hint()
1378 assertEquals(cHooks.pskIdentity, serverCallback.serverPSKKeyRequestedIdentity); in test_SSL_do_handshake_with_psk_with_identity_and_hint()
1396 cHooks.pskIdentity = "123456789012345678901234567890123456789012345678901234567890" in test_SSL_do_handshake_with_psk_with_identity_and_hint_of_max_length()
1399 assertEquals(PSKKeyManager.MAX_IDENTITY_LENGTH_BYTES, cHooks.pskIdentity.length()); in test_SSL_do_handshake_with_psk_with_identity_and_hint_of_max_length()
1418 assertEquals(cHooks.pskIdentity, serverCallback.serverPSKKeyRequestedIdentity); in test_SSL_do_handshake_with_psk_with_identity_and_hint_of_max_length()