Lines Matching defs:str
64 const char *str;
68 case SSL_ST_BEFORE: str="before SSL initialization"; break;
69 case SSL_ST_ACCEPT: str="before accept initialization"; break;
70 case SSL_ST_CONNECT: str="before connect initialization"; break;
71 case SSL_ST_OK: str="SSL negotiation finished successfully"; break;
72 case SSL_ST_RENEGOTIATE: str="SSL renegotiate ciphers"; break;
73 case SSL_ST_BEFORE|SSL_ST_CONNECT: str="before/connect initialization"; break;
74 case SSL_ST_OK|SSL_ST_CONNECT: str="ok/connect SSL initialization"; break;
75 case SSL_ST_BEFORE|SSL_ST_ACCEPT: str="before/accept initialization"; break;
76 case SSL_ST_OK|SSL_ST_ACCEPT: str="ok/accept SSL initialization"; break;
78 case SSL2_ST_CLIENT_START_ENCRYPTION: str="SSLv2 client start encryption"; break;
79 case SSL2_ST_SERVER_START_ENCRYPTION: str="SSLv2 server start encryption"; break;
80 case SSL2_ST_SEND_CLIENT_HELLO_A: str="SSLv2 write client hello A"; break;
81 case SSL2_ST_SEND_CLIENT_HELLO_B: str="SSLv2 write client hello B"; break;
82 case SSL2_ST_GET_SERVER_HELLO_A: str="SSLv2 read server hello A"; break;
83 case SSL2_ST_GET_SERVER_HELLO_B: str="SSLv2 read server hello B"; break;
84 case SSL2_ST_SEND_CLIENT_MASTER_KEY_A: str="SSLv2 write client master key A"; break;
85 case SSL2_ST_SEND_CLIENT_MASTER_KEY_B: str="SSLv2 write client master key B"; break;
86 case SSL2_ST_SEND_CLIENT_FINISHED_A: str="SSLv2 write client finished A"; break;
87 case SSL2_ST_SEND_CLIENT_FINISHED_B: str="SSLv2 write client finished B"; break;
88 case SSL2_ST_SEND_CLIENT_CERTIFICATE_A: str="SSLv2 write client certificate A"; break;
89 case SSL2_ST_SEND_CLIENT_CERTIFICATE_B: str="SSLv2 write client certificate B"; break;
90 case SSL2_ST_SEND_CLIENT_CERTIFICATE_C: str="SSLv2 write client certificate C"; break;
91 case SSL2_ST_SEND_CLIENT_CERTIFICATE_D: str="SSLv2 write client certificate D"; break;
92 case SSL2_ST_GET_SERVER_VERIFY_A: str="SSLv2 read server verify A"; break;
93 case SSL2_ST_GET_SERVER_VERIFY_B: str="SSLv2 read server verify B"; break;
94 case SSL2_ST_GET_SERVER_FINISHED_A: str="SSLv2 read server finished A"; break;
95 case SSL2_ST_GET_SERVER_FINISHED_B: str="SSLv2 read server finished B"; break;
96 case SSL2_ST_GET_CLIENT_HELLO_A: str="SSLv2 read client hello A"; break;
97 case SSL2_ST_GET_CLIENT_HELLO_B: str="SSLv2 read client hello B"; break;
98 case SSL2_ST_GET_CLIENT_HELLO_C: str="SSLv2 read client hello C"; break;
99 case SSL2_ST_SEND_SERVER_HELLO_A: str="SSLv2 write server hello A"; break;
100 case SSL2_ST_SEND_SERVER_HELLO_B: str="SSLv2 write server hello B"; break;
101 case SSL2_ST_GET_CLIENT_MASTER_KEY_A: str="SSLv2 read client master key A"; break;
102 case SSL2_ST_GET_CLIENT_MASTER_KEY_B: str="SSLv2 read client master key B"; break;
103 case SSL2_ST_SEND_SERVER_VERIFY_A: str="SSLv2 write server verify A"; break;
104 case SSL2_ST_SEND_SERVER_VERIFY_B: str="SSLv2 write server verify B"; break;
105 case SSL2_ST_SEND_SERVER_VERIFY_C: str="SSLv2 write server verify C"; break;
106 case SSL2_ST_GET_CLIENT_FINISHED_A: str="SSLv2 read client finished A"; break;
107 case SSL2_ST_GET_CLIENT_FINISHED_B: str="SSLv2 read client finished B"; break;
108 case SSL2_ST_SEND_SERVER_FINISHED_A: str="SSLv2 write server finished A"; break;
109 case SSL2_ST_SEND_SERVER_FINISHED_B: str="SSLv2 write server finished B"; break;
110 case SSL2_ST_SEND_REQUEST_CERTIFICATE_A: str="SSLv2 write request certificate A"; break;
111 case SSL2_ST_SEND_REQUEST_CERTIFICATE_B: str="SSLv2 write request certificate B"; break;
112 case SSL2_ST_SEND_REQUEST_CERTIFICATE_C: str="SSLv2 write request certificate C"; break;
113 case SSL2_ST_SEND_REQUEST_CERTIFICATE_D: str="SSLv2 write request certificate D"; break;
114 case SSL2_ST_X509_GET_SERVER_CERTIFICATE: str="SSLv2 X509 read server certificate"; break;
115 case SSL2_ST_X509_GET_CLIENT_CERTIFICATE: str="SSLv2 X509 read client certificate"; break;
120 case SSL3_ST_CW_CLNT_HELLO_A: str="SSLv3 write client hello A"; break;
121 case SSL3_ST_CW_CLNT_HELLO_B: str="SSLv3 write client hello B"; break;
122 case SSL3_ST_CR_SRVR_HELLO_A: str="SSLv3 read server hello A"; break;
123 case SSL3_ST_CR_SRVR_HELLO_B: str="SSLv3 read server hello B"; break;
124 case SSL3_ST_CR_CERT_A: str="SSLv3 read server certificate A"; break;
125 case SSL3_ST_CR_CERT_B: str="SSLv3 read server certificate B"; break;
126 case SSL3_ST_CR_KEY_EXCH_A: str="SSLv3 read server key exchange A"; break;
127 case SSL3_ST_CR_KEY_EXCH_B: str="SSLv3 read server key exchange B"; break;
128 case SSL3_ST_CR_CERT_REQ_A: str="SSLv3 read server certificate request A"; break;
129 case SSL3_ST_CR_CERT_REQ_B: str="SSLv3 read server certificate request B"; break;
130 case SSL3_ST_CR_SRVR_DONE_A: str="SSLv3 read server done A"; break;
131 case SSL3_ST_CR_SRVR_DONE_B: str="SSLv3 read server done B"; break;
132 case SSL3_ST_CW_CERT_A: str="SSLv3 write client certificate A"; break;
133 case SSL3_ST_CW_CERT_B: str="SSLv3 write client certificate B"; break;
134 case SSL3_ST_CW_CERT_C: str="SSLv3 write client certificate C"; break;
135 case SSL3_ST_CW_CERT_D: str="SSLv3 write client certificate D"; break;
136 case SSL3_ST_CW_KEY_EXCH_A: str="SSLv3 write client key exchange A"; break;
137 case SSL3_ST_CW_KEY_EXCH_B: str="SSLv3 write client key exchange B"; break;
138 case SSL3_ST_CW_CERT_VRFY_A: str="SSLv3 write certificate verify A"; break;
139 case SSL3_ST_CW_CERT_VRFY_B: str="SSLv3 write certificate verify B"; break;
142 case SSL3_ST_SW_CHANGE_A: str="SSLv3 write change cipher spec A"; break;
144 case SSL3_ST_SW_CHANGE_B: str="SSLv3 write change cipher spec B"; break;
146 case SSL3_ST_SW_FINISHED_A: str="SSLv3 write finished A"; break;
148 case SSL3_ST_SW_FINISHED_B: str="SSLv3 write finished B"; break;
150 case SSL3_ST_SR_CHANGE_A: str="SSLv3 read change cipher spec A"; break;
152 case SSL3_ST_SR_CHANGE_B: str="SSLv3 read change cipher spec B"; break;
154 case SSL3_ST_SR_FINISHED_A: str="SSLv3 read finished A"; break;
156 case SSL3_ST_SR_FINISHED_B: str="SSLv3 read finished B"; break;
159 case SSL3_ST_SW_FLUSH: str="SSLv3 flush data"; break;
161 case SSL3_ST_SR_CLNT_HELLO_A: str="SSLv3 read client hello A"; break;
162 case SSL3_ST_SR_CLNT_HELLO_B: str="SSLv3 read client hello B"; break;
163 case SSL3_ST_SR_CLNT_HELLO_C: str="SSLv3 read client hello C"; break;
164 case SSL3_ST_SW_HELLO_REQ_A: str="SSLv3 write hello request A"; break;
165 case SSL3_ST_SW_HELLO_REQ_B: str="SSLv3 write hello request B"; break;
166 case SSL3_ST_SW_HELLO_REQ_C: str="SSLv3 write hello request C"; break;
167 case SSL3_ST_SW_SRVR_HELLO_A: str="SSLv3 write server hello A"; break;
168 case SSL3_ST_SW_SRVR_HELLO_B: str="SSLv3 write server hello B"; break;
169 case SSL3_ST_SW_CERT_A: str="SSLv3 write certificate A"; break;
170 case SSL3_ST_SW_CERT_B: str="SSLv3 write certificate B"; break;
171 case SSL3_ST_SW_KEY_EXCH_A: str="SSLv3 write key exchange A"; break;
172 case SSL3_ST_SW_KEY_EXCH_B: str="SSLv3 write key exchange B"; break;
173 case SSL3_ST_SW_CERT_REQ_A: str="SSLv3 write certificate request A"; break;
174 case SSL3_ST_SW_CERT_REQ_B: str="SSLv3 write certificate request B"; break;
175 case SSL3_ST_SW_SRVR_DONE_A: str="SSLv3 write server done A"; break;
176 case SSL3_ST_SW_SRVR_DONE_B: str="SSLv3 write server done B"; break;
177 case SSL3_ST_SR_CERT_A: str="SSLv3 read client certificate A"; break;
178 case SSL3_ST_SR_CERT_B: str="SSLv3 read client certificate B"; break;
179 case SSL3_ST_SR_KEY_EXCH_A: str="SSLv3 read client key exchange A"; break;
180 case SSL3_ST_SR_KEY_EXCH_B: str="SSLv3 read client key exchange B"; break;
181 case SSL3_ST_SR_CERT_VRFY_A: str="SSLv3 read certificate verify A"; break;
182 case SSL3_ST_SR_CERT_VRFY_B: str="SSLv3 read certificate verify B"; break;
188 case SSL23_ST_CW_CLNT_HELLO_A: str="SSLv2/v3 write client hello A"; break;
189 case SSL23_ST_CW_CLNT_HELLO_B: str="SSLv2/v3 write client hello B"; break;
190 case SSL23_ST_CR_SRVR_HELLO_A: str="SSLv2/v3 read server hello A"; break;
191 case SSL23_ST_CR_SRVR_HELLO_B: str="SSLv2/v3 read server hello B"; break;
193 case SSL23_ST_SR_CLNT_HELLO_A: str="SSLv2/v3 read client hello A"; break;
194 case SSL23_ST_SR_CLNT_HELLO_B: str="SSLv2/v3 read client hello B"; break;
197 default: str="unknown state"; break;
199 return(str);
204 const char *str;
208 case SSL_ST_READ_HEADER: str="read header"; break;
209 case SSL_ST_READ_BODY: str="read body"; break;
210 case SSL_ST_READ_DONE: str="read done"; break;
211 default: str="unknown"; break;
213 return(str);
218 const char *str;
222 case SSL_ST_BEFORE: str="PINIT "; break;
223 case SSL_ST_ACCEPT: str="AINIT "; break;
224 case SSL_ST_CONNECT: str="CINIT "; break;
225 case SSL_ST_OK: str="SSLOK "; break;
227 case SSL2_ST_CLIENT_START_ENCRYPTION: str="2CSENC"; break;
228 case SSL2_ST_SERVER_START_ENCRYPTION: str="2SSENC"; break;
229 case SSL2_ST_SEND_CLIENT_HELLO_A: str="2SCH_A"; break;
230 case SSL2_ST_SEND_CLIENT_HELLO_B: str="2SCH_B"; break;
231 case SSL2_ST_GET_SERVER_HELLO_A: str="2GSH_A"; break;
232 case SSL2_ST_GET_SERVER_HELLO_B: str="2GSH_B"; break;
233 case SSL2_ST_SEND_CLIENT_MASTER_KEY_A: str="2SCMKA"; break;
234 case SSL2_ST_SEND_CLIENT_MASTER_KEY_B: str="2SCMKB"; break;
235 case SSL2_ST_SEND_CLIENT_FINISHED_A: str="2SCF_A"; break;
236 case SSL2_ST_SEND_CLIENT_FINISHED_B: str="2SCF_B"; break;
237 case SSL2_ST_SEND_CLIENT_CERTIFICATE_A: str="2SCC_A"; break;
238 case SSL2_ST_SEND_CLIENT_CERTIFICATE_B: str="2SCC_B"; break;
239 case SSL2_ST_SEND_CLIENT_CERTIFICATE_C: str="2SCC_C"; break;
240 case SSL2_ST_SEND_CLIENT_CERTIFICATE_D: str="2SCC_D"; break;
241 case SSL2_ST_GET_SERVER_VERIFY_A: str="2GSV_A"; break;
242 case SSL2_ST_GET_SERVER_VERIFY_B: str="2GSV_B"; break;
243 case SSL2_ST_GET_SERVER_FINISHED_A: str="2GSF_A"; break;
244 case SSL2_ST_GET_SERVER_FINISHED_B: str="2GSF_B"; break;
245 case SSL2_ST_GET_CLIENT_HELLO_A: str="2GCH_A"; break;
246 case SSL2_ST_GET_CLIENT_HELLO_B: str="2GCH_B"; break;
247 case SSL2_ST_GET_CLIENT_HELLO_C: str="2GCH_C"; break;
248 case SSL2_ST_SEND_SERVER_HELLO_A: str="2SSH_A"; break;
249 case SSL2_ST_SEND_SERVER_HELLO_B: str="2SSH_B"; break;
250 case SSL2_ST_GET_CLIENT_MASTER_KEY_A: str="2GCMKA"; break;
251 case SSL2_ST_GET_CLIENT_MASTER_KEY_B: str="2GCMKA"; break;
252 case SSL2_ST_SEND_SERVER_VERIFY_A: str="2SSV_A"; break;
253 case SSL2_ST_SEND_SERVER_VERIFY_B: str="2SSV_B"; break;
254 case SSL2_ST_SEND_SERVER_VERIFY_C: str="2SSV_C"; break;
255 case SSL2_ST_GET_CLIENT_FINISHED_A: str="2GCF_A"; break;
256 case SSL2_ST_GET_CLIENT_FINISHED_B: str="2GCF_B"; break;
257 case SSL2_ST_SEND_SERVER_FINISHED_A: str="2SSF_A"; break;
258 case SSL2_ST_SEND_SERVER_FINISHED_B: str="2SSF_B"; break;
259 case SSL2_ST_SEND_REQUEST_CERTIFICATE_A: str="2SRC_A"; break;
260 case SSL2_ST_SEND_REQUEST_CERTIFICATE_B: str="2SRC_B"; break;
261 case SSL2_ST_SEND_REQUEST_CERTIFICATE_C: str="2SRC_C"; break;
262 case SSL2_ST_SEND_REQUEST_CERTIFICATE_D: str="2SRC_D"; break;
263 case SSL2_ST_X509_GET_SERVER_CERTIFICATE: str="2X9GSC"; break;
264 case SSL2_ST_X509_GET_CLIENT_CERTIFICATE: str="2X9GCC"; break;
270 case SSL3_ST_CW_FLUSH: str="3FLUSH"; break;
271 case SSL3_ST_CW_CLNT_HELLO_A: str="3WCH_A"; break;
272 case SSL3_ST_CW_CLNT_HELLO_B: str="3WCH_B"; break;
273 case SSL3_ST_CR_SRVR_HELLO_A: str="3RSH_A"; break;
274 case SSL3_ST_CR_SRVR_HELLO_B: str="3RSH_B"; break;
275 case SSL3_ST_CR_CERT_A: str="3RSC_A"; break;
276 case SSL3_ST_CR_CERT_B: str="3RSC_B"; break;
277 case SSL3_ST_CR_KEY_EXCH_A: str="3RSKEA"; break;
278 case SSL3_ST_CR_KEY_EXCH_B: str="3RSKEB"; break;
279 case SSL3_ST_CR_CERT_REQ_A: str="3RCR_A"; break;
280 case SSL3_ST_CR_CERT_REQ_B: str="3RCR_B"; break;
281 case SSL3_ST_CR_SRVR_DONE_A: str="3RSD_A"; break;
282 case SSL3_ST_CR_SRVR_DONE_B: str="3RSD_B"; break;
283 case SSL3_ST_CW_CERT_A: str="3WCC_A"; break;
284 case SSL3_ST_CW_CERT_B: str="3WCC_B"; break;
285 case SSL3_ST_CW_CERT_C: str="3WCC_C"; break;
286 case SSL3_ST_CW_CERT_D: str="3WCC_D"; break;
287 case SSL3_ST_CW_KEY_EXCH_A: str="3WCKEA"; break;
288 case SSL3_ST_CW_KEY_EXCH_B: str="3WCKEB"; break;
289 case SSL3_ST_CW_CERT_VRFY_A: str="3WCV_A"; break;
290 case SSL3_ST_CW_CERT_VRFY_B: str="3WCV_B"; break;
293 case SSL3_ST_CW_CHANGE_A: str="3WCCSA"; break;
295 case SSL3_ST_CW_CHANGE_B: str="3WCCSB"; break;
297 case SSL3_ST_CW_FINISHED_A: str="3WFINA"; break;
299 case SSL3_ST_CW_FINISHED_B: str="3WFINB"; break;
301 case SSL3_ST_CR_CHANGE_A: str="3RCCSA"; break;
303 case SSL3_ST_CR_CHANGE_B: str="3RCCSB"; break;
305 case SSL3_ST_CR_FINISHED_A: str="3RFINA"; break;
307 case SSL3_ST_CR_FINISHED_B: str="3RFINB"; break;
309 case SSL3_ST_SW_HELLO_REQ_A: str="3WHR_A"; break;
310 case SSL3_ST_SW_HELLO_REQ_B: str="3WHR_B"; break;
311 case SSL3_ST_SW_HELLO_REQ_C: str="3WHR_C"; break;
312 case SSL3_ST_SR_CLNT_HELLO_A: str="3RCH_A"; break;
313 case SSL3_ST_SR_CLNT_HELLO_B: str="3RCH_B"; break;
314 case SSL3_ST_SR_CLNT_HELLO_C: str="3RCH_C"; break;
315 case SSL3_ST_SW_SRVR_HELLO_A: str="3WSH_A"; break;
316 case SSL3_ST_SW_SRVR_HELLO_B: str="3WSH_B"; break;
317 case SSL3_ST_SW_CERT_A: str="3WSC_A"; break;
318 case SSL3_ST_SW_CERT_B: str="3WSC_B"; break;
319 case SSL3_ST_SW_KEY_EXCH_A: str="3WSKEA"; break;
320 case SSL3_ST_SW_KEY_EXCH_B: str="3WSKEB"; break;
321 case SSL3_ST_SW_CERT_REQ_A: str="3WCR_A"; break;
322 case SSL3_ST_SW_CERT_REQ_B: str="3WCR_B"; break;
323 case SSL3_ST_SW_SRVR_DONE_A: str="3WSD_A"; break;
324 case SSL3_ST_SW_SRVR_DONE_B: str="3WSD_B"; break;
325 case SSL3_ST_SR_CERT_A: str="3RCC_A"; break;
326 case SSL3_ST_SR_CERT_B: str="3RCC_B"; break;
327 case SSL3_ST_SR_KEY_EXCH_A: str="3RCKEA"; break;
328 case SSL3_ST_SR_KEY_EXCH_B: str="3RCKEB"; break;
329 case SSL3_ST_SR_CERT_VRFY_A: str="3RCV_A"; break;
330 case SSL3_ST_SR_CERT_VRFY_B: str="3RCV_B"; break;
336 case SSL23_ST_CW_CLNT_HELLO_A: str="23WCHA"; break;
337 case SSL23_ST_CW_CLNT_HELLO_B: str="23WCHB"; break;
338 case SSL23_ST_CR_SRVR_HELLO_A: str="23RSHA"; break;
339 case SSL23_ST_CR_SRVR_HELLO_B: str="23RSHA"; break;
341 case SSL23_ST_SR_CLNT_HELLO_A: str="23RCHA"; break;
342 case SSL23_ST_SR_CLNT_HELLO_B: str="23RCHB"; break;
345 default: str="UNKWN "; break;
347 return(str);
374 const char *str;
378 case SSL3_AD_CLOSE_NOTIFY: str="CN"; break;
379 case SSL3_AD_UNEXPECTED_MESSAGE: str="UM"; break;
380 case SSL3_AD_BAD_RECORD_MAC: str="BM"; break;
381 case SSL3_AD_DECOMPRESSION_FAILURE: str="DF"; break;
382 case SSL3_AD_HANDSHAKE_FAILURE: str="HF"; break;
383 case SSL3_AD_NO_CERTIFICATE: str="NC"; break;
384 case SSL3_AD_BAD_CERTIFICATE: str="BC"; break;
385 case SSL3_AD_UNSUPPORTED_CERTIFICATE: str="UC"; break;
386 case SSL3_AD_CERTIFICATE_REVOKED: str="CR"; break;
387 case SSL3_AD_CERTIFICATE_EXPIRED: str="CE"; break;
388 case SSL3_AD_CERTIFICATE_UNKNOWN: str="CU"; break;
389 case SSL3_AD_ILLEGAL_PARAMETER: str="IP"; break;
390 case TLS1_AD_DECRYPTION_FAILED: str="DC"; break;
391 case TLS1_AD_RECORD_OVERFLOW: str="RO"; break;
392 case TLS1_AD_UNKNOWN_CA: str="CA"; break;
393 case TLS1_AD_ACCESS_DENIED: str="AD"; break;
394 case TLS1_AD_DECODE_ERROR: str="DE"; break;
395 case TLS1_AD_DECRYPT_ERROR: str="CY"; break;
396 case TLS1_AD_EXPORT_RESTRICTION: str="ER"; break;
397 case TLS1_AD_PROTOCOL_VERSION: str="PV"; break;
398 case TLS1_AD_INSUFFICIENT_SECURITY: str="IS"; break;
399 case TLS1_AD_INTERNAL_ERROR: str="IE"; break;
400 case TLS1_AD_USER_CANCELLED: str="US"; break;
401 case TLS1_AD_NO_RENEGOTIATION: str="NR"; break;
402 default: str="UK"; break;
404 return(str);
409 const char *str;
414 str="close notify";
417 str="unexpected_message";
420 str="bad record mac";
423 str="decompression failure";
426 str="handshake failure";
429 str="no certificate";
432 str="bad certificate";
435 str="unsupported certificate";
438 str="certificate revoked";
441 str="certificate expired";
444 str="certificate unknown";
447 str="illegal parameter";
450 str="decryption failed";
453 str="record overflow";
456 str="unknown CA";
459 str="access denied";
462 str="decode error";
465 str="decrypt error";
468 str="export restriction";
471 str="protocol version";
474 str="insufficient security";
477 str="internal error";
480 str="user canceled";
483 str="no renegotiation";
485 default: str="unknown"; break;
487 return(str);
492 const char *str;
496 case SSL_ST_READ_HEADER:str="RH"; break;
497 case SSL_ST_READ_BODY: str="RB"; break;
498 case SSL_ST_READ_DONE: str="RD"; break;
499 default: str="unknown"; break;
501 return(str);