David Horstmann dcf73265ba Fix incorrect detection of HardwareModuleName
The hardware module name otherName SAN contains 2 OIDs:

 OtherName ::= SEQUENCE {
      type-id    OBJECT IDENTIFIER,
      value      [0] EXPLICIT ANY DEFINED BY type-id }

 HardwareModuleName ::= SEQUENCE {
                           hwType OBJECT IDENTIFIER,
                           hwSerialNum OCTET STRING }

The first, type-id, is the one that identifies the otherName as a
HardwareModuleName. The second, hwType, identifies the type of hardware.

This change fixes 2 issues:

1. We were erroneously trying to identify HardwareModuleNames by looking
at hwType, not type-id.
2. We accidentally inverted the check so that we were checking that
hwType did NOT match HardwareModuleName.

This fix ensures that type-id is correctly checked to make sure that it
matches the OID for HardwareModuleName.

Signed-off-by: David Horstmann <david.horstmann@arm.com>
2023-08-18 19:51:06 +01:00
..
2023-05-12 13:57:39 +02:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-02-02 12:46:39 +00:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-08-02 15:35:45 +01:00
2023-05-16 16:47:09 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:37 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-05-02 16:38:57 +02:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-06-28 14:08:07 +01:00
2023-06-28 14:08:07 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-02-02 12:46:39 +00:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-03-31 17:24:10 +01:00
2023-01-11 14:52:37 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-01-11 14:52:35 +01:00
2023-06-20 11:45:26 -04:00
2023-01-11 14:52:35 +01:00