Home
last modified time | relevance | path

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

/external/openssl/ssl/
Dt1_lib.c2514 unsigned char *sdec; in tls_decrypt_ticket() local
2572 sdec = OPENSSL_malloc(eticklen); in tls_decrypt_ticket()
2573 if (!sdec) in tls_decrypt_ticket()
2578 EVP_DecryptUpdate(&ctx, sdec, &slen, p, eticklen); in tls_decrypt_ticket()
2579 if (EVP_DecryptFinal(&ctx, sdec + slen, &mlen) <= 0) in tls_decrypt_ticket()
2582 OPENSSL_free(sdec); in tls_decrypt_ticket()
2587 p = sdec; in tls_decrypt_ticket()
2590 OPENSSL_free(sdec); in tls_decrypt_ticket()
/external/chromium_org/third_party/boringssl/src/ssl/
Dt1_lib.c2347 unsigned char *sdec; in tls_decrypt_ticket() local
2402 sdec = OPENSSL_malloc(eticklen); in tls_decrypt_ticket()
2403 if (!sdec) in tls_decrypt_ticket()
2408 EVP_DecryptUpdate(&ctx, sdec, &slen, p, eticklen); in tls_decrypt_ticket()
2409 if (EVP_DecryptFinal_ex(&ctx, sdec + slen, &mlen) <= 0) in tls_decrypt_ticket()
2412 OPENSSL_free(sdec); in tls_decrypt_ticket()
2417 p = sdec; in tls_decrypt_ticket()
2420 OPENSSL_free(sdec); in tls_decrypt_ticket()