summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2024-07-10Remove the static symbols.namespace, and just generate the _libre_Bob Beck
symbols from symbols.list now that we have everything hidden ok tb@
2024-07-10forgot to add a history section for the TLS PRF APITheo Buehler
2024-07-10link EVP_PKEY_CTX_set_tls1_prf_md.3 to buildTheo Buehler
2024-07-10Import EVP_PKEY_CTX_set_tls1_prf_md.3 from OpenSSL 1.1.1Theo Buehler
With only slight application of color to this entelodont's lips. It's the usual deal - hard to say what's worse, the code or its docs...
2024-07-10Including kdf.h isn't enough, you also need evp.hTheo Buehler
It will be a cold day in hell before I see an OpenSSL manpage without mistakes in it.
2024-07-10Unwrap two linesTheo Buehler
2024-07-09Add another empty lineTheo Buehler
2024-07-09Turn tls1_prf_alg() into single exitTheo Buehler
requested by jsing on review ok beck
2024-07-09Unwrap a few more linesTheo Buehler
2024-07-09Unwrap a couple of linesTheo Buehler
2024-07-09Align math with t1_enc.cTheo Buehler
suggested by jsing on review
2024-07-09Minor cosmetics in pkey_tls1_prf_derive()Theo Buehler
noticed by jsing on review
2024-07-09Replace explicit_bzero() plus free() with freezero()Theo Buehler
This is simpler, if slightly more expensive
2024-07-09Shuffle things into a more sensible orderTheo Buehler
no functional change
2024-07-09Use better order in EVP_PKEY_CTRL_TLS_SECRETTheo Buehler
Also avoid an unnecessary NULL check.
2024-07-09Add tls1_prf_pkey_meth to pkey_methodsTheo Buehler
ok jsing
2024-07-09Make a NULL check explicitTheo Buehler
2024-07-09Zap or align some ugly commentsTheo Buehler
2024-07-09Test & assign once moreTheo Buehler
2024-07-09sec_len -> secret_lenTheo Buehler
2024-07-09Test and assign in tls1_prf_P_hash()Theo Buehler
2024-07-09Fix whitespace around '/'Theo Buehler
2024-07-09Invert logic in tls1_prf_alg()Theo Buehler
2024-07-09olen -> out_lenTheo Buehler
2024-07-09Add a few empty linesTheo Buehler
2024-07-09seedlen -> seed_lenTheo Buehler
2024-07-09seclen -> secret_lenTheo Buehler
2024-07-09slen -> secret_lenTheo Buehler
2024-07-09sec -> secretTheo Buehler
2024-07-09Replace local typedef with spelling out the struct nameTheo Buehler
2024-07-09Remove a few useless commentsTheo Buehler
2024-07-09Apply a knfmt(8) sledgehammerTheo Buehler
2024-07-09Add an RCS tagTheo Buehler
2024-07-09Replace license stub with full licenseTheo Buehler
This reverts to the license added in OpenSSL's initial import of this file in commit 1eff3485b63f84956b5f212aa4d853783bf6c8b5
2024-07-09link tls1_prf.c to buildTheo Buehler
ok jsing
2024-07-09Replace a malloc() call with calloc()Theo Buehler
2024-07-09Replace an ossl_assert() with an error checkTheo Buehler
2024-07-09Use C99 initializers for tls1_prf_pkey_meth()Theo Buehler
2024-07-09Inline an instance of OPENSSL_memdup()Theo Buehler
2024-07-09Tidy up includesTheo Buehler
2024-07-09OPENSSL_free() -> free()Theo Buehler
2024-07-09OPENSSL_cleanse() -> explicit_bzero()Theo Buehler
2024-07-09OPENSSL_clear_free() -> freezero()Theo Buehler
2024-07-09OPENSSL_malloc() -> malloc()Theo Buehler
2024-07-09Spell OPENSSL_zalloc() correctly as calloc()Theo Buehler
2024-07-09Mechanically replace KDFerr() with KDFerror()Theo Buehler
2024-07-09Add a verbatim copy of tls1_prf.c from OpenSSL 1.1.1Theo Buehler
From the last public commit b372b1f76450acdfed1e2301a39810146e28b02c of the OpenSSL_1_1_1-stable branch SHA256 (kdf/tls1_prf.c) = a519d3ff721d4ec59befac8586e24624fa87d9d8f6479327f7af58d652b6e4e5 Will be beat (a little bit) into shape in tree before linking it to the build. ok jsing
2024-07-09Add various defines for TLS1-PRFTheo Buehler
ok jsing
2024-07-09Add EVP_PKEY_TLS1_PRF as alias for NID_tls1_prfTheo Buehler
ok jsing
2024-07-09Choose fixed NID for TLS1-PRFTheo Buehler