Searched refs:pmslen (Results 1 – 9 of 9) sorted by relevance
/third_party/openssl/ssl/ |
D | s3_lib.c | 3361 OPENSSL_clear_free(s->s3.tmp.pms, s->s3.tmp.pmslen); in ssl3_free() 3380 OPENSSL_clear_free(s->s3.tmp.pms, s->s3.tmp.pmslen); in ssl3_clear() 4596 int ssl_generate_master_secret(SSL *s, unsigned char *pms, size_t pmslen, in ssl_generate_master_secret() argument 4612 pmslen = psklen; in ssl_generate_master_secret() 4614 pskpmslen = 4 + pmslen + psklen; in ssl_generate_master_secret() 4619 s2n(pmslen, t); in ssl_generate_master_secret() 4621 memset(t, 0, pmslen); in ssl_generate_master_secret() 4623 memcpy(t, pms, pmslen); in ssl_generate_master_secret() 4624 t += pmslen; in ssl_generate_master_secret() 4645 s->session->master_key, pms, pmslen, in ssl_generate_master_secret() [all …]
|
D | ssl_local.h | 1341 size_t pmslen; member 2460 __owur int ssl_generate_master_secret(SSL *s, unsigned char *pms, size_t pmslen, 2463 __owur int ssl_gensecret(SSL *s, unsigned char *pms, size_t pmslen);
|
/third_party/openssl/ssl/statem/ |
D | statem_clnt.c | 2831 size_t pmslen = 0; in tls_construct_cke_rsa() local 2847 pmslen = SSL_MAX_MASTER_KEY_LENGTH; in tls_construct_cke_rsa() 2848 pms = OPENSSL_malloc(pmslen); in tls_construct_cke_rsa() 2856 if (RAND_bytes_ex(s->ctx->libctx, pms + 2, pmslen - 2, 0) <= 0) { in tls_construct_cke_rsa() 2869 || EVP_PKEY_encrypt(pctx, NULL, &enclen, pms, pmslen) <= 0) { in tls_construct_cke_rsa() 2874 || EVP_PKEY_encrypt(pctx, encdata, &enclen, pms, pmslen) <= 0) { in tls_construct_cke_rsa() 2888 if (!ssl_log_rsa_client_key_exchange(s, encdata, enclen, pms, pmslen)) { in tls_construct_cke_rsa() 2894 s->s3.tmp.pmslen = pmslen; in tls_construct_cke_rsa() 2898 OPENSSL_clear_free(pms, pmslen); in tls_construct_cke_rsa() 3023 size_t pmslen = 0; in tls_construct_cke_gost() local [all …]
|
D | extensions_srvr.c | 1707 if (ssl_gensecret(s, s->s3.tmp.pms, s->s3.tmp.pmslen) == 0) { in tls_construct_stoc_key_share()
|
/third_party/mbedtls/library/ |
D | ecjpake.c | 1041 size_t len, pmslen; in mbedtls_ecjpake_self_test() local 1081 pms, sizeof( pms ), &pmslen, ecjpake_lgc, NULL ) == 0 ); in mbedtls_ecjpake_self_test() 1091 TEST_ASSERT( len == pmslen ); in mbedtls_ecjpake_self_test()
|
D | ssl_cli.c | 2701 ssl->handshake->pmslen = 48; in ssl_write_encrypted_pms() 2725 p, ssl->handshake->pmslen, in ssl_write_encrypted_pms() 3517 &ssl->handshake->pmslen, in ssl_write_client_key_exchange() 3602 &ssl->handshake->pmslen ); in ssl_write_client_key_exchange() 3668 &ssl->handshake->pmslen, in ssl_write_client_key_exchange() 3862 ssl->handshake->premaster, 32, &ssl->handshake->pmslen, in ssl_write_client_key_exchange()
|
D | ssl_srv.c | 3608 ssl->handshake->pmslen = 48; in ssl_parse_encrypted_pms() 3612 for( i = 0; i < ssl->handshake->pmslen; i++ ) in ssl_parse_encrypted_pms() 3744 &ssl->handshake->pmslen, in ssl_parse_client_key_exchange() 3775 &ssl->handshake->pmslen, in ssl_parse_client_key_exchange() 3958 ssl->handshake->premaster, 32, &ssl->handshake->pmslen, in ssl_parse_client_key_exchange()
|
D | ssl_misc.h | 572 size_t pmslen; /*!< premaster length */ member
|
D | ssl_tls.c | 1267 ret = handshake->tls_prf( handshake->premaster, handshake->pmslen, in ssl_compute_master() 1279 handshake->pmslen ); in ssl_compute_master() 1576 ssl->handshake->pmslen = p - ssl->handshake->premaster; in mbedtls_ssl_psk_derive_premaster()
|