Skip to content

RFC CIFS: Use OID registry and ASN.1 header

David Howells linux-cifs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3CIFS: Use OID registry facilityfs/cifs/Kconfig fs/cifs/asn1.c include/linux/oid_registry.h+36 -1279 replies
2/3ASN.1: Define indefinite length marker constantinclude/linux/asn1.h+2 -02 replies
3/3CIFS: Use linux/asn1.hfs/cifs/asn1.c+24 -521 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJeff Layton
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC][PATCH 0/3] CIFS: Use OID registry and ASN.1 header

Hi Steve,

Here are some patches that might be of interest for CIFS:

(1) The first patch uses the OID registry I created for module signing's use of X.509 certs and potentially PKCS#7. The lookup function finds the OIDs from its table (using a hash value to speed up the binary search) and maps known OIDs onto values in an enum.

(2) The second and third patches make CIFS use the linux/asn1.h file for common ASN.1 constant definitions. Note that ASN1_OJI is now ASN1_OID since 'OBJECT IDENTIFIER' is almost always abbreviated to 'OID'.

David
---
David Howells (3):
CIFS: Use linux/asn1.h
ASN.1: Define indefinite length marker constant
CIFS: Use OID registry facility

 fs/cifs/Kconfig              |    1 
 fs/cifs/asn1.c               |  230 +++++++++---------------------------------
 include/linux/oid_registry.h |    6 +
 3 files changed, 59 insertions(+), 178 deletions(-)