summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-23Improve suspend/resume support. Power off the associated power domainMark Kettenis
during suspend and re-initialize the "dwc3" specific registers upon resume. ok patrick@
2023-07-23Implement suspend/resume support. This will turn off the power domainMark Kettenis
associated with a DART when we suspend and turn it back on upon resume. The DART is reconfigured with the same translation table that was present when we suspended. This is only done for DARTs that are under our control; locked DARTs and DARTs that were enabled at boot time are skipped. ok patrick@
2023-07-23Prevent spurious connection events after resume by caching the currentMark Kettenis
plug state and comparing it with the current plug state when we receive in interrupt. Only call the connect/disconnect callbacks registered for the port if the state really changed. This prevents an spurious attach/detach/attach sequence when resuming with a USB device connected. ok patrick@
2023-07-23sprinkle some void between () in function definitionsTheo Buehler
2023-07-23Remove -stats option from openssl(1) errstr.Theo Buehler
This is the only consumer of ERR_get_string_table(), which will go away. ok jsing
2023-07-23Enable power domain.Mark Kettenis
ok patrick@
2023-07-23Enable power domain.Mark Kettenis
ok patrick@
2023-07-23update AMD CPU microcode if a newer patch is availableJonathan Gray
ok deraadt@
2023-07-23update AMD CPU microcode if a newer patch is availableJonathan Gray
ok deraadt@
2023-07-22Use the PMIC SDAM scratch-register blocks to manage the RTC offset insteadPatrick Wildt
of accessing UEFI variables through the qcscm(4) TEE interface. ok kettenis@
2023-07-22Add qcsdam(4), a driver for the PMIC Shared Direct Access Memory found onPatrick Wildt
Qualcomm SoCs. ok kettenis@
2023-07-22Tweak previous. Should have been 60 instead of 64Theo Buehler
2023-07-22Align argument names of OBJ_add_sigid() with the other functions.Theo Buehler
2023-07-22Rewrite obj_xref.cTheo Buehler
Instead of having two unreadable tables placed in a header generated by a janky perl script from an ugly text file, use a single table inlined in the C file. This table is used to translate between signature algorithm OIDs and pairs of OIDs of a message digest and a cipher. The table has fewer than fifty entries and isn't used in a hot path. Using binary search is overkill. Just do two linear searches, one for each translation. None of the original code remains apart from the API. ok jsing
2023-07-22No need to call OBJ_sigid_free() in EVP_cleanup() anymore.Theo Buehler
ok jsing
2023-07-22Neuter OBJ_add_sigid() and OBJ_sigid_free()Theo Buehler
These functions will be removed in the upcoming bump. Nothing uses them, so it won't hurt if they become noops. This allows us to garbage collect the sig_app and sigx_app stacks and make a first step towards simplifying the OBJ_bsearch_() dances. Also sprinkle some const correctness... because we can. intermediate step towards a diff that is ok jsing
2023-07-22Adapt bn_print() for EdDSA key printingTheo Buehler
This is essentially a reimplementation of ASN1_buf_print(). The latter was only added for these printing purposes and it will be removed again since nothing uses it. We can then simply remove t_pkey.c in the upcoming bump. ok jsing
2023-07-22Simplify indent handling in bn_print()Theo Buehler
variant of a suggestion by jsing
2023-07-22Fix #includes in ct_sct.cTheo Buehler
This does not need tls1.h (upstream used TLSEXT constants we don't have) nor does it need evp.h. But it does need asn1.h, objects.h for STACK_OF and NID_*, among other things and it also uses uint64_t and allocates, so it needs stdint.h and stdlib.h.
2023-07-22Add `sb_state' output to sobuf_print(). It contains SS_CANTSENDMORE,Vitaliy Makkoveev
SS_ISSENDING, SS_CANTRCVMORE and SS_RCVATMARK bits. Also do `sb_flags' output as hex, it contains flags too. ok kn bluhm
2023-07-22BOOTARG_UCODE for AMDJonathan Gray
ok deraadt@
2023-07-22syncTheo Buehler
2023-07-22Actually add OBJ_find_sigid_algsTheo Buehler
2023-07-22Rename OBJ_add_sigid.3 to OBJ_find_sigid_algs.3Theo Buehler
2023-07-22match AMD x86 CPUs in fw_update(8)Jonathan Gray
ok deraadt@
2023-07-21Bring src/sys/.gitignore in sync with src/.gitignore.Alexander Bluhm
OK tobhe@
2023-07-21Do not dump corrupted packets on loopback bpf.Alexander Bluhm
lo(4) used to dump to bpf only for output. It seems that when if_bpf_mtap() was introduced, this changed and lo(4) dumps an additional truncated packet. The default bpf_mtap_ether() is not suitable for lo(4). Install a dummy lo_bpf_mtap() to suppress bpf on input. OK mvs@
2023-07-21bio_asn1 tests: drop unneeded variableTheo Buehler
2023-07-21Add missing license for rsa_local.hTheo Buehler
discussed with jsing
2023-07-21Simple adjustments for DSO removalTheo Buehler
openssl.cnf.5 will need a major overhaul. But that isn't new...
2023-07-21Stop mentioning some ERR_load_*_strings that will be removedTheo Buehler
2023-07-21Provide a bunch of always failing ENGINE APITheo Buehler
This commit adds a few symbols under OPENSSL_NO_ENGINE. They will be used after the main ENGINE code is disabled in the next bump. The ecosystem is mostly prepared for dealing with a libcrypto compiled with OPENSSL_NO_ENGINE. There are a few stragglers like M2Crypto, dovecot and the latest apr-util release (fixed in their development branch). To avoid intrusive patching in these ports, we need to keep a bunch of ENGINE symbols around despite adding OPENSSL_NO_ENGINE. This of course meant patching some other ports, but that was way easier. ok jsing
2023-07-21Fix Xr order to appease mandoc -TlintTheo Buehler
2023-07-21Remove OBJ_add_sigid and OBJ_sigid_free documentationTheo Buehler
These will be made internal and will likely go away. The OBJ_add_sigid.3 manual should probably be renamed; this can be done in a second step.
2023-07-21syncTheo Buehler
2023-07-21Remove ASN1_buf_print documentationTheo Buehler
This function will be made internal-only and likely be renamed/rewritten.
2023-07-21Remove remaining ECDSA_METHOD documentationTheo Buehler
2023-07-21Remove documentation of ECDH/ECDSA ex_data APITheo Buehler
2023-07-21Document ENGINE_get_default_ECTheo Buehler
ENGINE_get_default_{ECDH,ECDSA} will go away and won't come back. Replace their documentation with the missing ENGINE_get_defaulT_EC. In the unlikely event that we will need to bring back ENGINE after the next bump, this manual will not be outdated and incomplete.
2023-07-21Document ENGINE_{get,set}_ECTheo Buehler
ENGINE_{get,set}_{ECDH,ECDSA} will go away and won't come back. Replace their documentation with the missing ENGINE_{get,set}_EC. In the unlikely event that we will need to bring back ENGINE after the next bump, this manual will not be outdated and incomplete.
2023-07-21Rename ARCH_CAPABILITIES_* #defined to ARCH_CAP_*Philip Guenther
Provide more ARCH_CAP_* defines per June 2023 SDM ok jsg@ deraadt@
2023-07-21add missing newline on successful attachment, spotted by bmercerJoshua Stein
remove duplicate prefixes on unsuccessful attachment, wrap at 80, other minor nits
2023-07-20Remove unused function prototype.Mark Kettenis
2023-07-20Make sure -msign-return-address doesn't disable BTI support.Mark Kettenis
ok deraadt@
2023-07-20fix esoteric error message in case PackageName parses stuff to a bogusMarc Espie
fullpkgname, as seen by Matthias Schmidt
2023-07-20Remove a few workarounds that are no longer necessaryTheo Buehler
2023-07-20Remove some ancient cruft that hasn't been used in agesTheo Buehler
discussed with jsing
2023-07-20syncTheo Buehler
2023-07-20Move get_rfc3526_prime_8192.3 to BN_get_rfc3526_prime_8192.3Theo Buehler
This way we will have a manual corresponding to an existing function after the next bump.
2023-07-20Remove unnecessary inclusion of dso.hTheo Buehler