Home
last modified time | relevance | path

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

/Linux-v4.19/crypto/asymmetric_keys/
Dpkcs7_parser.c34 enum OID last_oid; /* Last OID encountered */ member
214 ctx->last_oid = look_up_OID(value, vlen); in pkcs7_note_OID()
215 if (ctx->last_oid == OID__NR) { in pkcs7_note_OID()
233 switch (ctx->last_oid) { in pkcs7_sig_note_digest_algo()
256 printk("Unsupported digest algo: %u\n", ctx->last_oid); in pkcs7_sig_note_digest_algo()
271 switch (ctx->last_oid) { in pkcs7_sig_note_pkey_algo()
276 printk("Unsupported pkey algo: %u\n", ctx->last_oid); in pkcs7_sig_note_pkey_algo()
291 if (ctx->last_oid != OID_signed_data) { in pkcs7_check_content_type()
443 if (ctx->last_oid != OID_data && in pkcs7_note_content()
444 ctx->last_oid != OID_msIndirectData) { in pkcs7_note_content()
[all …]
Dx509_cert_parser.c29 enum OID last_oid; /* Last OID encountered */ member
155 ctx->last_oid = look_up_OID(value, vlen); in x509_note_OID()
156 if (ctx->last_oid == OID__NR) { in x509_note_OID()
192 pr_debug("PubKey Algo: %u\n", ctx->last_oid); in x509_note_pkey_algo()
194 switch (ctx->last_oid) { in x509_note_pkey_algo()
231 ctx->algo_oid = ctx->last_oid; in x509_note_pkey_algo()
244 pr_debug("Signature type: %u size %zu\n", ctx->last_oid, vlen); in x509_note_signature()
246 if (ctx->last_oid != ctx->algo_oid) { in x509_note_signature()
248 ctx->algo_oid, ctx->last_oid); in x509_note_signature()
288 switch (ctx->last_oid) { in x509_extract_name_segment()
[all …]