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.go471 psk := pskIdentity{
474 pskIdentities = []pskIdentity{psk}
481 for i, pskIdentity := range pskIdentities {
483 sessionState, ok := c.decryptTicket(pskIdentity.ticket)
501 …clientTicketAge := time.Duration(uint32(pskIdentity.obfuscatedTicketAge-sessionState.ticketAgeAdd)…
509 hs.hello.pskIdentity = uint16(i)
512 hs.hello.pskIdentity = config.Bugs.SelectPSKIdentityOnResume
521 hs.hello.pskIdentity = 0
Dhandshake_messages.go248 type pskIdentity struct { struct
271 pskIdentities []pskIdentity
818 var psk pskIdentity
985 pskIdentity uint16 member
1037 extensions.addU16(m.pskIdentity)
1151 if !body.readU16(&m.pskIdentity) || len(body) != 0 {
2607 func eqPSKIdentityLists(x, y []pskIdentity) bool { argument
Dhandshake_client.go347 psk := pskIdentity{
351 hello.pskIdentities = []pskIdentity{psk}
814 if hs.session == nil || hs.serverHello.pskIdentity != 0 {
Drunner.go3297 const pskIdentity = "luggage combo"
3324 "-psk-identity", pskIdentity)
3367 PreSharedKeyIdentity: pskIdentity,
3391 PreSharedKeyIdentity: pskIdentity,
3418 PreSharedKeyIdentity: pskIdentity,
3441 PreSharedKeyIdentity: pskIdentity,
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java884 private String pskIdentity; field in NativeCryptoTest.ClientHooks
890 if (pskIdentity != null) { in configureCallbacks()
894 b = pskIdentity.getBytes("UTF-8"); in configureCallbacks()
1465 cHooks.pskIdentity = "More non-ASCII characters: \u00f5\u044b"; in test_SSL_do_handshake_with_psk_with_identity_and_hint()
1487 assertEquals(cHooks.pskIdentity, serverCallback.serverPSKKeyRequestedIdentity); in test_SSL_do_handshake_with_psk_with_identity_and_hint()
1505 cHooks.pskIdentity = "123456789012345678901234567890123456789012345678901234567890" in test_SSL_do_handshake_with_psk_with_identity_and_hint_of_max_length()
1508 assertEquals(PSKKeyManager.MAX_IDENTITY_LENGTH_BYTES, cHooks.pskIdentity.length()); in test_SSL_do_handshake_with_psk_with_identity_and_hint_of_max_length()
1528 assertEquals(cHooks.pskIdentity, serverCallback.serverPSKKeyRequestedIdentity); in test_SSL_do_handshake_with_psk_with_identity_and_hint_of_max_length()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DNativeCryptoTest.java892 private String pskIdentity; field in NativeCryptoTest.ClientHooks
898 if (pskIdentity != null) { in configureCallbacks()
902 b = pskIdentity.getBytes("UTF-8"); in configureCallbacks()
1473 cHooks.pskIdentity = "More non-ASCII characters: \u00f5\u044b"; in test_SSL_do_handshake_with_psk_with_identity_and_hint()
1495 assertEquals(cHooks.pskIdentity, serverCallback.serverPSKKeyRequestedIdentity); in test_SSL_do_handshake_with_psk_with_identity_and_hint()
1513 cHooks.pskIdentity = "123456789012345678901234567890123456789012345678901234567890" in test_SSL_do_handshake_with_psk_with_identity_and_hint_of_max_length()
1516 assertEquals(PSKKeyManager.MAX_IDENTITY_LENGTH_BYTES, cHooks.pskIdentity.length()); in test_SSL_do_handshake_with_psk_with_identity_and_hint_of_max_length()
1536 assertEquals(cHooks.pskIdentity, serverCallback.serverPSKKeyRequestedIdentity); in test_SSL_do_handshake_with_psk_with_identity_and_hint_of_max_length()