Searched refs:pmslen (Results 1 – 8 of 8) sorted by relevance
/third_party/openssl/ssl/statem/ |
D | statem_clnt.c | 2973 size_t pmslen = 0; in tls_construct_cke_rsa() local 2991 pmslen = SSL_MAX_MASTER_KEY_LENGTH; in tls_construct_cke_rsa() 2992 pms = OPENSSL_malloc(pmslen); in tls_construct_cke_rsa() 3002 if (RAND_bytes(pms + 2, (int)(pmslen - 2)) <= 0) { in tls_construct_cke_rsa() 3016 || EVP_PKEY_encrypt(pctx, NULL, &enclen, pms, pmslen) <= 0) { in tls_construct_cke_rsa() 3022 || EVP_PKEY_encrypt(pctx, encdata, &enclen, pms, pmslen) <= 0) { in tls_construct_cke_rsa() 3038 if (!ssl_log_rsa_client_key_exchange(s, encdata, enclen, pms, pmslen)) { in tls_construct_cke_rsa() 3044 s->s3->tmp.pmslen = pmslen; in tls_construct_cke_rsa() 3048 OPENSSL_clear_free(pms, pmslen); in tls_construct_cke_rsa() 3183 size_t pmslen = 0; in tls_construct_cke_gost() local [all …]
|
/third_party/openssl/ssl/ |
D | s3_lib.c | 3330 OPENSSL_clear_free(s->s3->tmp.pms, s->s3->tmp.pmslen); in ssl3_free() 3350 OPENSSL_clear_free(s->s3->tmp.pms, s->s3->tmp.pmslen); in ssl3_clear() 4598 int ssl_generate_master_secret(SSL *s, unsigned char *pms, size_t pmslen, in ssl_generate_master_secret() argument 4614 pmslen = psklen; in ssl_generate_master_secret() 4616 pskpmslen = 4 + pmslen + psklen; in ssl_generate_master_secret() 4621 s2n(pmslen, t); in ssl_generate_master_secret() 4623 memset(t, 0, pmslen); in ssl_generate_master_secret() 4625 memcpy(t, pms, pmslen); in ssl_generate_master_secret() 4626 t += pmslen; in ssl_generate_master_secret() 4647 s->session->master_key, pms, pmslen, in ssl_generate_master_secret() [all …]
|
D | ssl_local.h | 1607 size_t pmslen; member 2328 __owur int ssl_generate_master_secret(SSL *s, unsigned char *pms, size_t pmslen,
|
/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()
|