Searched refs:pmslen (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/uts/common/inet/kssl/ |
H A D | ksslrec.c | 1204 #define IS_BAD_PRE_MASTER_SECRET(pms, pmslen, ssl) \ argument 1205 (pms == NULL || pmslen != SSL3_PRE_MASTER_SECRET_LEN || \ 1208 #define FAKE_PRE_MASTER_SECRET(pms, pmslen, ssl, buf) { \ argument 1211 pmslen = SSL3_PRE_MASTER_SECRET_LEN; \ 1214 (void) random_get_pseudo_bytes(&buf[2], pmslen - 2); \ 1218 kssl_generate_tls_ms(ssl_t *ssl, uchar_t *pms, size_t pmslen) in kssl_generate_tls_ms() argument 1234 if (IS_BAD_PRE_MASTER_SECRET(pms, pmslen, ssl)) { in kssl_generate_tls_ms() 1236 FAKE_PRE_MASTER_SECRET(pms, pmslen, ssl, buf); in kssl_generate_tls_ms() 1240 pms, pmslen, in kssl_generate_tls_ms() 1250 kssl_generate_ssl_ms(ssl_t *ssl, uchar_t *pms, size_t pmslen) in kssl_generate_ssl_ms() argument [all …]
|