[GH-ISSUE #616] Support building without HAVE_BIO_NEW (BIO_* functions in crypto library) #282

Closed
opened 2026-10-14 02:59:43 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @magnumripper on GitHub (Jun 2, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/616

See also #605 and 705e9c1

Affected files:

  • luks2john.c
  • pfx2john.c
  • pfx_fmt.c
  • ssh2john.c
  • ssh_fmt.c
  • ssh_ng_fmt_plug.c
  • Makefile.in
Originally created by @magnumripper on GitHub (Jun 2, 2014). Original GitHub issue: https://github.com/openwall/john/issues/616 See also #605 and 705e9c1 Affected files: - [x] luks2john.c - [x] pfx2john.c - [x] pfx_fmt.c - [x] ssh2john.c - [x] ssh_fmt.c - [x] ssh_ng_fmt_plug.c - [x] Makefile.in
bsakaguchi 2026-10-14 02:59:43 +07:00
Author
Owner

@jfoug commented on GitHub (Aug 11, 2015):

@magnumripper can you please validate after b3293b0 that this issue is corrected?

Should we also add similar logic for the other HAVE_SSL_STUFF macros ?

checking for EVP_aes_256_xts... (cached) yes
checking for SHA256... (cached) yes
checking for WHIRLPOOL... (cached) yes
checking for RIPEMD160... (cached) yes
checking for AES_encrypt... (cached) yes
checking for EVP_sha512... (cached) yes
checking for BIO_new... (cached) yes

I think WHIRLPOOL and RIPEMD160 are already handled for sure (with fall back code to sph_* functions). I think the others are not checked for in code.

<!-- gh-comment-id:129690907 --> @jfoug commented on GitHub (Aug 11, 2015): @magnumripper can you please validate after b3293b0 that this issue is corrected? Should we also add similar logic for the other HAVE_SSL_STUFF macros ? ``` checking for EVP_aes_256_xts... (cached) yes checking for SHA256... (cached) yes checking for WHIRLPOOL... (cached) yes checking for RIPEMD160... (cached) yes checking for AES_encrypt... (cached) yes checking for EVP_sha512... (cached) yes checking for BIO_new... (cached) yes ``` I think WHIRLPOOL and RIPEMD160 are already handled for sure (with fall back code to sph_\* functions). I think the others are not checked for in code.
Author
Owner

@magnumripper commented on GitHub (Aug 11, 2015):

We should add it if some systems need it.

Maybe we should try to drop OpenSSL completely. We do have our own code for most everything low-level. But some formats might be tricky because they use higher level interfaces.

<!-- gh-comment-id:129848426 --> @magnumripper commented on GitHub (Aug 11, 2015): We should add it if some systems need it. Maybe we should try to drop OpenSSL completely. We do have our own code for most everything low-level. But some formats might be tricky because they use higher level interfaces.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#282
No description provided.