Skip to content

Commit

Permalink
Also clean up header
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstewart committed Feb 27, 2025
1 parent 30d383c commit 20a6819
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions tls/s2n_prf.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@
#define S2N_LIBCRYPTO_SUPPORTS_TLS_PRF 0
#endif

/* The s2n p_hash implementation is abstracted to allow for separate implementations, using
* either s2n's formally verified HMAC or OpenSSL's EVP HMAC, for use by the TLS PRF. */
/* The s2n p_hash implementation is abstracted to allow for separate implementations.
* Currently the only implementation uses s2n-tls's custom HMAC implementation.
*/
struct s2n_p_hash_hmac {
int (*alloc)(struct s2n_prf_working_space *ws);
int (*init)(struct s2n_prf_working_space *ws, s2n_hmac_algorithm alg, struct s2n_blob *secret);
Expand Down
1 change: 0 additions & 1 deletion tls/s2n_prf.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

union p_hash_state {
struct s2n_hmac_state s2n_hmac;
struct s2n_evp_hmac_state evp_hmac;
};

struct s2n_prf_working_space {
Expand Down

0 comments on commit 20a6819

Please sign in to comment.