wolfssl-examples/pk/srp
Aidan Keefe edac0694db srp_sha256 revised 2026-07-29 13:00:17 -06:00
..
Makefile Add SRP-6a SHA-256 example 2026-07-29 13:39:36 -04:00
README.md Add SRP-6a SHA-256 example 2026-07-29 13:39:36 -04:00
srp.c Spelling fixes. 2021-06-09 09:07:40 -07:00
srp_gen.c SRP examples 2020-06-18 09:25:51 +10:00
srp_params.h SRP examples 2020-06-18 09:25:51 +10:00
srp_params_2048.h Add SRP-6a SHA-256 example 2026-07-29 13:39:36 -04:00
srp_sha256.c srp_sha256 revised 2026-07-29 13:00:17 -06:00
srp_store.h SRP examples 2020-06-18 09:25:51 +10:00

README.md

Shows examples of how to work with SRP.

srp_gen.c show how to generate a verifier to store on the server. srp.c shows a client and server.

The build option used for wolfSSL is

./configure --enable-srp

How to use:

./srp_gen wolfssl password > srp_store.h

make

./srp wolfssl password

srp_sha256.c runs a complete SRP-6a exchange (enrollment through mutual proof verification) using SHA-256 and the RFC 5054 2048-bit group:

./srp_sha256