Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_test.cc76 static const size_t kTicketKeyLen = 48; variable
2157 uint8_t new_key[kTicketKeyLen]; in ExpectTicketKeyChanged()
2159 ASSERT_EQ(SSL_CTX_get_tlsext_ticket_keys(ctx, new_key, kTicketKeyLen), 1); in ExpectTicketKeyChanged()
2161 ASSERT_NE(Bytes(inout_key, kTicketKeyLen), Bytes(new_key)); in ExpectTicketKeyChanged()
2163 ASSERT_EQ(Bytes(inout_key, kTicketKeyLen), Bytes(new_key)); in ExpectTicketKeyChanged()
2165 OPENSSL_memcpy(inout_key, new_key, kTicketKeyLen); in ExpectTicketKeyChanged()
2441 static const uint8_t kZeroKey[kTicketKeyLen] = {}; in TEST_P()
2442 uint8_t ticket_key[kTicketKeyLen]; in TEST_P()
2444 kTicketKeyLen)); in TEST_P()
2445 ASSERT_NE(0, OPENSSL_memcmp(ticket_key, kZeroKey, kTicketKeyLen)); in TEST_P()
[all …]