Home
last modified time | relevance | path

Searched refs:last_oid (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/crypto/asymmetric_keys/
Dpkcs7_parser.c29 enum OID last_oid; /* Last OID encountered */ member
200 ctx->last_oid = look_up_OID(value, vlen); in pkcs7_note_OID()
201 if (ctx->last_oid == OID__NR) { in pkcs7_note_OID()
219 switch (ctx->last_oid) { in pkcs7_sig_note_digest_algo()
241 printk("Unsupported digest algo: %u\n", ctx->last_oid); in pkcs7_sig_note_digest_algo()
256 switch (ctx->last_oid) { in pkcs7_sig_note_pkey_algo()
261 printk("Unsupported pkey algo: %u\n", ctx->last_oid); in pkcs7_sig_note_pkey_algo()
276 if (ctx->last_oid != OID_signed_data) { in pkcs7_check_content_type()
428 if (ctx->last_oid != OID_data && in pkcs7_note_content()
429 ctx->last_oid != OID_msIndirectData) { in pkcs7_note_content()
[all …]
Dx509_cert_parser.c30 enum OID last_oid; /* Last OID encountered */ member
145 ctx->last_oid = look_up_OID(value, vlen); in x509_note_OID()
146 if (ctx->last_oid == OID__NR) { in x509_note_OID()
182 pr_debug("PubKey Algo: %u\n", ctx->last_oid); in x509_note_pkey_algo()
184 switch (ctx->last_oid) { in x509_note_pkey_algo()
221 ctx->algo_oid = ctx->last_oid; in x509_note_pkey_algo()
234 pr_debug("Signature type: %u size %zu\n", ctx->last_oid, vlen); in x509_note_signature()
236 if (ctx->last_oid != ctx->algo_oid) { in x509_note_signature()
238 ctx->algo_oid, ctx->last_oid); in x509_note_signature()
269 switch (ctx->last_oid) { in x509_extract_name_segment()
[all …]