arm-trusted-firmware/include/tools_share/zero_oid.h
Manish V Badarkhe 9505d03e36 feat(auth): create a zero-OID for Subject Public Key
Created an explicit zero-OID which can be used for Subject
Public Key that do not have their own key identifier.

With this, all keys (including the subject public key) have
a proper key OID string so we don't need to make a special
case of null pointers when it comes to handling key OIDs.

Change-Id: Ice6923951699b6e253d7fd87e4c1b912470e0391
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
2023-07-28 09:01:15 +01:00

12 lines
239 B
C

/*
* Copyright (c) 2023, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef ZERO_OID_H
#define ZERO_OID_H
#define ZERO_OID "0.0.0.0.0.0.0.0.0"
#endif /* ZERO_OID_H */