rvthtool/extlib/googletest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h.pump
David Korth 389e26b13b [librvth/tests] CertVerifyTest: Certificate verification tests.
Added Google Test v1.8.0 from rom-properties.

Reworked cert_verify() to support both RSA-4096 and RSA-2048 signatures
and public keys. The function now requires all certificates to use
big-endian, so cert_store.c now uses BE32_CONST() to store the values
as big-endian.

BE32_CONST() is a macro that uses shifting for MSVC and intrinsics for
gcc. This is needed because MSVC 2010 doesn't realize that its byteswap
intrinsics result in constant values. (Later versions might...)

cert.c: New function cert_get_size() that returns the full size of a
built-in certificate.

CertVerifyTest currently tests the retail ticket and TMD certificates.
Both tests pass with all of these changes.
2018-01-20 03:02:32 -05:00

11 lines
433 B
C++
Vendored

$$ -*- mode: c++; -*-
$$ This is a Pump source file (http://go/pump). Please use Pump to convert
$$ it to callback-actions.h.
$$
$var max_callback_arity = 5
$$}} This meta comment fixes auto-indentation in editors.
#ifndef GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_GENERATED_ACTIONS_H_
#define GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_GENERATED_ACTIONS_H_
#endif // GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_GENERATED_ACTIONS_H_