Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/test/
Dbssl_shim.cc572 static const uint8_t kZeros[16] = {0}; in TicketKeyCallback() local
575 memcpy(key_name, kZeros, sizeof(kZeros)); in TicketKeyCallback()
577 } else if (memcmp(key_name, kZeros, 16) != 0) { in TicketKeyCallback()
581 if (!HMAC_Init_ex(hmac_ctx, kZeros, sizeof(kZeros), EVP_sha256(), NULL) || in TicketKeyCallback()
582 !EVP_CipherInit_ex(ctx, EVP_aes_128_cbc(), NULL, kZeros, iv, encrypt)) { in TicketKeyCallback()
/external/boringssl/src/crypto/curve25519/
Dcurve25519.c4849 static const uint8_t kZeros[32] = {0}; in X25519() local
4852 return CRYPTO_memcmp(kZeros, out_shared_key, 32) != 0; in X25519()