History log of /openbmc/google-misc/subprojects/libcr51sign/ (Results 1 – 19 of 19)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
c66ebc3516-Aug-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda forma

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.

See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.

Change-Id: I362352dcb341658501899267c2ff3ad044ed5912
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


/openbmc/google-misc/.clang-format
/openbmc/google-misc/.gitignore
/openbmc/google-misc/OWNERS
/openbmc/google-misc/bare-metal-host-monitor
/openbmc/google-misc/meson.build
/openbmc/google-misc/subprojects/bare-metal-host-monitor/host-gpio-monitor.service.in
/openbmc/google-misc/subprojects/bare-metal-host-monitor/host_gpio_monitor.cpp
/openbmc/google-misc/subprojects/bare-metal-host-monitor/meson.build
/openbmc/google-misc/subprojects/dhcp-done/dhcp-done.cpp
/openbmc/google-misc/subprojects/dhcp-done/dhcp-done.service.in
/openbmc/google-misc/subprojects/dhcp-done/file-io.cpp
/openbmc/google-misc/subprojects/dhcp-done/file-io.hpp
/openbmc/google-misc/subprojects/dhcp-done/meson.build
/openbmc/google-misc/subprojects/dhcp-done/meson.options
/openbmc/google-misc/subprojects/dhcp-done/test/fileio_test.cpp
/openbmc/google-misc/subprojects/dhcp-done/test/meson.build
/openbmc/google-misc/subprojects/dhcp-done/update-dhcp-status.cpp
/openbmc/google-misc/subprojects/espi-control/npcm7xx_espi_control.cpp
include/libcr51sign/cr51_image_descriptor.h
include/libcr51sign/libcr51sign.h
include/libcr51sign/libcr51sign_mauv.h
src/libcr51sign.c
src/libcr51sign_mauv.c
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/meson.build
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/metric.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/metric.hpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/metricblob.proto
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/test/util_test.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/util.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/util.hpp
/openbmc/google-misc/subprojects/nanopb.wrap
/openbmc/google-misc/subprojects/ncsid/src/meson.build
/openbmc/google-misc/subprojects/ncsid/src/ncsi_state_machine.h
/openbmc/google-misc/subprojects/ncsid/src/ncsid_lib.sh
/openbmc/google-misc/subprojects/ncsid/src/net_config.cpp
/openbmc/google-misc/subprojects/ncsid/src/update_ra_gw.sh
/openbmc/google-misc/subprojects/ncsid/test/ncsi_test.cpp
/openbmc/google-misc/subprojects/ncsid/test/nic_mock.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/default_addresses.h
/openbmc/google-misc/subprojects/nemora-postd/src/nemora.cpp
/openbmc/google-misc/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/google-misc/subprojects/phosphor-logging.wrap
/openbmc/google-misc/subprojects/sdbusplus.wrap
dca92e4717-Nov-2023 Willy Tu <wltu@google.com>

update libcr51sign to support MAUV

Add feature support to manage MAUV with cr51 descriptor.

Change-Id: I3795259f81b1dbd3016d1c41c68895be00455061
Signed-off-by: Willy Tu <wltu@google.com>

6084957f20-Oct-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: I4610d1d37873b2019baa2ae22c036f81f4319214
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

adb8ffe417-Jul-2023 Willy Tu <wltu@google.com>

iwyu: Cleanup include headers

Triggered iwyu and add/remove used headers.

Change-Id: Iadbdb459563b3c89baf2d56f90a540342d020cd5
Signed-off-by: Willy Tu <wltu@google.com>


include/libcr51sign/libcr51sign_support.h
src/libcr51sign.c
src/libcr51sign_support.c
/openbmc/google-misc/subprojects/ncsid/src/ncsi_sockio.cpp
/openbmc/google-misc/subprojects/ncsid/src/ncsi_sockio.h
/openbmc/google-misc/subprojects/ncsid/src/ncsi_state_machine.cpp
/openbmc/google-misc/subprojects/ncsid/src/net_config.cpp
/openbmc/google-misc/subprojects/ncsid/src/net_iface.cpp
/openbmc/google-misc/subprojects/ncsid/src/net_iface.h
/openbmc/google-misc/subprojects/ncsid/src/normalize_ip.c
/openbmc/google-misc/subprojects/ncsid/src/normalize_mac.c
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_client.c
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_fsm.c
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_fsm.h
/openbmc/google-misc/subprojects/ncsid/test/iface_test.cpp
/openbmc/google-misc/subprojects/ncsid/test/net_iface_mock.cpp
/openbmc/google-misc/subprojects/ncsid/test/net_iface_mock.h
/openbmc/google-misc/subprojects/ncsid/test/nic_mock.cpp
/openbmc/google-misc/subprojects/ncsid/test/nic_mock.h
/openbmc/google-misc/subprojects/ncsid/test/sock_test.cpp
/openbmc/google-misc/subprojects/nemora-postd/meson.build
/openbmc/google-misc/subprojects/nemora-postd/nemorad.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/host_manager.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/nemora.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/serializer.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/socket_manager.cpp
1dfe24ea12-Jul-2023 Patrick Williams <patrick@stwcx.xyz>

build: upgrade to C++23

Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of
the standard has been implemented. Upgrade the build to leverage it.

Change-Id: Ibb8913a93032d388399b6

build: upgrade to C++23

Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of
the standard has been implemented. Upgrade the build to leverage it.

Change-Id: Ibb8913a93032d388399b65904013e284780dad70
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

2be4523810-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: Ia240047e2472bccb2bb039ff71bea20a7a602ec4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

4c4e94f012-Apr-2023 Patrick Williams <patrick@stwcx.xyz>

meson: remove deprecated get_pkgconfig_variable

Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In
meson 0.58 the `get_variable` was enhanced to no longer require the
`pkgconfig

meson: remove deprecated get_pkgconfig_variable

Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In
meson 0.58 the `get_variable` was enhanced to no longer require the
`pkgconfig` keyword argument. Ensure meson 0.58 is required and update
the usage of all `get_pkgconfig_variable` and `get_variable` to be the
modern variant.

Change-Id: Ibc0692c5cd05546e797c20973e1c1f172dcb8379
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

25c55c5408-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

Change-Id: Ib442712e2562fac166148ce795f0a83511ad84cd
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

2469569004-Aug-2022 Patrick Williams <patrick@stwcx.xyz>

MAINTAINERS: remove file

The MAINTAINERS file is deprecated in favor of OWNERS.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I524eafe25c461b0dd987e7c31f142264866c6fa3


5cc62fe604-Aug-2022 Patrick Williams <patrick@stwcx.xyz>

OWNERS: fix syntax

Two subdirectory OWNERS files had invalid syntax which caused the
tools to crash.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia7cef2eae99eaf6fbdddc099b2261e35

OWNERS: fix syntax

Two subdirectory OWNERS files had invalid syntax which caused the
tools to crash.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia7cef2eae99eaf6fbdddc099b2261e35862cb18e

show more ...

1c9a17e911-Feb-2022 William A. Kennington III <wak@google.com>

libcr51sign: Temporarily ignore deprecate functions

The code is in the process of being updated internally, but this is
blocking commits to the repo.

Change-Id: I77cb1d4f5fb8eec02c224d71d4a2e76ad89

libcr51sign: Temporarily ignore deprecate functions

The code is in the process of being updated internally, but this is
blocking commits to the repo.

Change-Id: I77cb1d4f5fb8eec02c224d71d4a2e76ad893d9aa
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

af46bea618-Dec-2021 William A. Kennington III <wak@google.com>

libcr51sign: Sync with latest code

Change-Id: Id3de25f3b112aa84d4b2342f606a60bb049487c8
Signed-off-by: William A. Kennington III <wak@google.com>

ba30c10a02-Nov-2021 William A. Kennington III <wak@google.com>

libcr51sign: Ensure OMIT_VARIABLE_ARRAYS passed to pkgconfig

Otherwise, system level users of libcr51sign will not be able to use the
library with c++ code.

Change-Id: I25b31b86cd7b669f92314fa392a8

libcr51sign: Ensure OMIT_VARIABLE_ARRAYS passed to pkgconfig

Otherwise, system level users of libcr51sign will not be able to use the
library with c++ code.

Change-Id: I25b31b86cd7b669f92314fa392a8cd2a088722b5
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

12e6ad0d02-Nov-2021 William A. Kennington III <wak@google.com>

libcr51sign: Fix struct size warning

The code is currently correct in the usage of the
signature_rsa4096_pkcs15 struct, but GCC infers that we could use
members past the end of the buffer it comes f

libcr51sign: Fix struct size warning

The code is currently correct in the usage of the
signature_rsa4096_pkcs15 struct, but GCC infers that we could use
members past the end of the buffer it comes from.

Change-Id: I728e7361dd677fcce498857124dbe8908aaac64d
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

d2bcdd5c02-Nov-2021 Willy Tu <wltu@google.com>

Fixed prod_to_dev_downgrade_allowed logic in validate_transition

The documentation for the prod_to_dev_downgrade_allowed function pointer
reads, "If NULL, treated as if the function always returns f

Fixed prod_to_dev_downgrade_allowed logic in validate_transition

The documentation for the prod_to_dev_downgrade_allowed function pointer
reads, "If NULL, treated as if the function always returns false."

Return `LIBCR51SIGN_ERROR_DEV_DOWNGRADE_DISALLOWED` if prod_to_dev
allowed return false or is NULL.

Change-Id: I4750256d308096e706bb9e0e0266d365b6f5a026
Signed-off-by: Willy Tu <wltu@google.com>

show more ...

deb5501a28-Oct-2021 William A. Kennington III <wak@google.com>

libcr51sign: Fixes for compiler warnings

Change-Id: I4053720365be81fff02aebbcf8f0e95d34fe87d9
Signed-off-by: William A. Kennington III <wak@google.com>

5acaca2f28-Oct-2021 William A. Kennington III <wak@google.com>

libcr51sign: build: Refactor for subproject use

This refactors the build to make it more suitable for use as a
subproject in other OpenBMC codebases.

Change-Id: I546c993d3f53c1cbe2161e5d8959373d5b1

libcr51sign: build: Refactor for subproject use

This refactors the build to make it more suitable for use as a
subproject in other OpenBMC codebases.

Change-Id: I546c993d3f53c1cbe2161e5d8959373d5b12e57f
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

df80048818-Sep-2021 Willy Tu <wltu@google.com>

google-misc: libcr51sign: add feature to fetch image regions

Change-Id: I6bd45b0f855ac7c035b294e461bbe9821fb3895b
Signed-off-by: Willy Tu <wltu@google.com>

7a33704c26-Jul-2021 Nan Zhou <nanzhoumails@gmail.com>

libcr51sign: import from gBMC

Validate the cr51 descriptor of the BIOS image. It can also
parse the BIOS version and write it to a file.

Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id:

libcr51sign: import from gBMC

Validate the cr51 descriptor of the BIOS image. It can also
parse the BIOS version and write it to a file.

Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I098be66b228da6f3514d3f13166a1bb4e1e718fb

show more ...


/openbmc/google-misc/.clang-format
/openbmc/google-misc/.clang-ignore
/openbmc/google-misc/.gitignore
/openbmc/google-misc/LICENSE
/openbmc/google-misc/MAINTAINERS
/openbmc/google-misc/OWNERS
/openbmc/google-misc/README.md
/openbmc/google-misc/acpi-power-state-daemon
/openbmc/google-misc/hello.c
/openbmc/google-misc/libcr51sign
/openbmc/google-misc/meson.build
/openbmc/google-misc/meson_options.txt
/openbmc/google-misc/metrics-ipmi-blobs
/openbmc/google-misc/ncsid
/openbmc/google-misc/nemora-postd
/openbmc/google-misc/subprojects/acpi-power-state-daemon/acpi-power-state.service.in
/openbmc/google-misc/subprojects/acpi-power-state-daemon/acpi_power_state.cpp
/openbmc/google-misc/subprojects/acpi-power-state-daemon/host-s0-state.target
/openbmc/google-misc/subprojects/acpi-power-state-daemon/host-s5-state.target
/openbmc/google-misc/subprojects/acpi-power-state-daemon/meson.build
/openbmc/google-misc/subprojects/acpi-power-state-daemon/subprojects
/openbmc/google-misc/subprojects/fmt.wrap
/openbmc/google-misc/subprojects/googletest.wrap
MAINTAINERS
OWNERS
README.md
cr51_image_descriptor.h
libcr51sign.c
libcr51sign.h
libcr51sign_support.c
libcr51sign_support.h
meson.build
subprojects
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/MAINTAINERS
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/README.md
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/handler.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/handler.hpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/main.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/meson.build
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/meson_options.txt
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/metric.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/metric.hpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/metricblob.proto
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/subprojects
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/test/meson.build
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/test/util_test.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/util.cpp
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/util.hpp
/openbmc/google-misc/subprojects/ncsid/README.md
/openbmc/google-misc/subprojects/ncsid/doc/ncsid_arch.dot
/openbmc/google-misc/subprojects/ncsid/doc/ncsid_arch.png
/openbmc/google-misc/subprojects/ncsid/doc/ncsid_internals.md
/openbmc/google-misc/subprojects/ncsid/doc/ncsid_test_arch.dot
/openbmc/google-misc/subprojects/ncsid/doc/ncsid_test_arch.png
/openbmc/google-misc/subprojects/ncsid/meson.build
/openbmc/google-misc/subprojects/ncsid/meson_options.txt
/openbmc/google-misc/subprojects/ncsid/src/common_defs.h
/openbmc/google-misc/subprojects/ncsid/src/dhcp4@.service.in
/openbmc/google-misc/subprojects/ncsid/src/dhcp6@.service.in
/openbmc/google-misc/subprojects/ncsid/src/meson.build
/openbmc/google-misc/subprojects/ncsid/src/ncsi_sockio.cpp
/openbmc/google-misc/subprojects/ncsid/src/ncsi_sockio.h
/openbmc/google-misc/subprojects/ncsid/src/ncsi_state_machine.cpp
/openbmc/google-misc/subprojects/ncsid/src/ncsi_state_machine.h
/openbmc/google-misc/subprojects/ncsid/src/ncsid.cpp
/openbmc/google-misc/subprojects/ncsid/src/ncsid@.service.in
/openbmc/google-misc/subprojects/ncsid/src/ncsid_lib.sh
/openbmc/google-misc/subprojects/ncsid/src/ncsid_udhcpc4.script
/openbmc/google-misc/subprojects/ncsid/src/ncsid_udhcpc6.script
/openbmc/google-misc/subprojects/ncsid/src/net_config.cpp
/openbmc/google-misc/subprojects/ncsid/src/net_config.h
/openbmc/google-misc/subprojects/ncsid/src/net_iface.cpp
/openbmc/google-misc/subprojects/ncsid/src/net_iface.h
/openbmc/google-misc/subprojects/ncsid/src/net_sockio.cpp
/openbmc/google-misc/subprojects/ncsid/src/net_sockio.h
/openbmc/google-misc/subprojects/ncsid/src/nic-hostful@.target
/openbmc/google-misc/subprojects/ncsid/src/nic-hostless@.target
/openbmc/google-misc/subprojects/ncsid/src/normalize_ip.c
/openbmc/google-misc/subprojects/ncsid/src/normalize_mac.c
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/default_addresses.h
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi.h
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_client.c
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_client.h
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_fsm.c
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_fsm.h
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_server.c
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ncsi_server.h
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/net_types.h
/openbmc/google-misc/subprojects/ncsid/src/update-static-neighbors@.service.in
/openbmc/google-misc/subprojects/ncsid/src/update-static-neighbors@.timer
/openbmc/google-misc/subprojects/ncsid/src/update_static_neighbors.sh
/openbmc/google-misc/subprojects/ncsid/subprojects
/openbmc/google-misc/subprojects/ncsid/test/iface_test.cpp
/openbmc/google-misc/subprojects/ncsid/test/meson.build
/openbmc/google-misc/subprojects/ncsid/test/ncsi_test.cpp
/openbmc/google-misc/subprojects/ncsid/test/net_iface_mock.cpp
/openbmc/google-misc/subprojects/ncsid/test/net_iface_mock.h
/openbmc/google-misc/subprojects/ncsid/test/nic_mock.cpp
/openbmc/google-misc/subprojects/ncsid/test/nic_mock.h
/openbmc/google-misc/subprojects/ncsid/test/normalize_ip_test.sh
/openbmc/google-misc/subprojects/ncsid/test/normalize_mac_test.sh
/openbmc/google-misc/subprojects/ncsid/test/sock_test.cpp
/openbmc/google-misc/subprojects/ncsid/test/test_lib.sh
/openbmc/google-misc/subprojects/nemora-postd/MAINTAINERS
/openbmc/google-misc/subprojects/nemora-postd/OWNERS
/openbmc/google-misc/subprojects/nemora-postd/README.md
/openbmc/google-misc/subprojects/nemora-postd/event_message.proto
/openbmc/google-misc/subprojects/nemora-postd/meson.build
/openbmc/google-misc/subprojects/nemora-postd/nemorad.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/default_addresses.h
/openbmc/google-misc/subprojects/nemora-postd/src/host_manager.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/host_manager.hpp
/openbmc/google-misc/subprojects/nemora-postd/src/nemora.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/nemora.hpp
/openbmc/google-misc/subprojects/nemora-postd/src/nemora_types.hpp
/openbmc/google-misc/subprojects/nemora-postd/src/serializer.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/serializer.hpp
/openbmc/google-misc/subprojects/nemora-postd/src/socket_manager.cpp
/openbmc/google-misc/subprojects/nemora-postd/src/socket_manager.hpp
/openbmc/google-misc/subprojects/nemora-postd/subprojects
/openbmc/google-misc/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/google-misc/subprojects/phosphor-logging.wrap
/openbmc/google-misc/subprojects/sdbusplus.wrap
/openbmc/google-misc/subprojects/stdplus.wrap