Searched refs:pms (Results 1 – 1 of 1) sorted by relevance
/titanic_44/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 || \ 1206 pms[0] != ssl->major_version || pms[1] != ssl->minor_version) 1208 #define FAKE_PRE_MASTER_SECRET(pms, pmslen, ssl, buf) { \ argument 1210 pms = buf; \ 1212 pms[0] = ssl->major_version; \ 1213 pms[1] = ssl->minor_version; \ 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() [all …]
|