| 1174 | |
| 1175 | |
| 1176 | void DES_ecb_encrypt(DES_cblock* input, DES_cblock* output, |
| 1177 | DES_key_schedule* key, int enc) |
| 1178 | { |
| 1179 | DES des; |
| 1180 | |
| 1181 | if (enc) { |
| 1182 | des.set_encryptKey(*key, 0); |
| 1183 | des.encrypt(*output, *input, DES_BLOCK); |
| 1184 | } |
| 1185 | else { |
| 1186 | des.set_decryptKey(*key, 0); |
| 1187 | des.decrypt(*output, *input, DES_BLOCK); |
| 1188 | } |
| 1189 | } |
| 1190 | |
| 1191 | |
| 1192 | void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX* ctx, void* userdata) |
nothing calls this directly
no test coverage detected