Searched refs:eticklen (Results 1 – 2 of 2) sorted by relevance
/external/openssl/ssl/ |
D | t1_lib.c | 2509 static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen, in tls_decrypt_ticket() argument 2522 if (eticklen < 48) in tls_decrypt_ticket() 2558 eticklen -= mlen; in tls_decrypt_ticket() 2560 HMAC_Update(&hctx, etick, eticklen); in tls_decrypt_ticket() 2563 if (CRYPTO_memcmp(tick_hmac, etick + eticklen, mlen)) in tls_decrypt_ticket() 2571 eticklen -= 16 + EVP_CIPHER_CTX_iv_length(&ctx); in tls_decrypt_ticket() 2572 sdec = OPENSSL_malloc(eticklen); in tls_decrypt_ticket() 2578 EVP_DecryptUpdate(&ctx, sdec, &slen, p, eticklen); in tls_decrypt_ticket()
|
/external/chromium_org/third_party/boringssl/src/ssl/ |
D | t1_lib.c | 2342 static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen, in tls_decrypt_ticket() argument 2355 if (eticklen < 48) in tls_decrypt_ticket() 2391 eticklen -= mlen; in tls_decrypt_ticket() 2393 HMAC_Update(&hctx, etick, eticklen); in tls_decrypt_ticket() 2396 if (CRYPTO_memcmp(tick_hmac, etick + eticklen, mlen)) in tls_decrypt_ticket() 2401 eticklen -= 16 + EVP_CIPHER_CTX_iv_length(&ctx); in tls_decrypt_ticket() 2402 sdec = OPENSSL_malloc(eticklen); in tls_decrypt_ticket() 2408 EVP_DecryptUpdate(&ctx, sdec, &slen, p, eticklen); in tls_decrypt_ticket()
|