The relacement removes the requirement for consumers to maintain free form OIDs in their code and instead requires all OIDs encoded to be in the linux OID registry. Note patch 2/3 needs fixing up for the tpm2_key_encode memory leak fix. James --- James Bottomley (3): lib/oid_registry: add ability to ASN.1 encode OIDs KEYS: trusted: use encode_OID for OID encoding lib: asn1_encode: remove obsolete asn1_encode_oid include/linux/asn1_encoder.h | 3 - include/linux/oid_registry.h | 1 + lib/asn1_encoder.c | 91 ----------------------- lib/oid_registry.c | 29 ++++++++ security/keys/trusted-keys/trusted_tpm2.c | 9 ++- 5 files changed, 35 insertions(+), 98 deletions(-) -- 2.35.3