Lines Matching refs:last_oid
27 enum OID last_oid; /* Last OID encountered */ member
147 ctx->last_oid = look_up_OID(value, vlen); in x509_note_OID()
148 if (ctx->last_oid == OID__NR) { in x509_note_OID()
183 pr_debug("PubKey Algo: %u\n", ctx->last_oid); in x509_note_sig_algo()
185 switch (ctx->last_oid) { in x509_note_sig_algo()
265 ctx->sig_algo = ctx->last_oid; in x509_note_sig_algo()
270 ctx->sig_algo = ctx->last_oid; in x509_note_sig_algo()
275 ctx->sig_algo = ctx->last_oid; in x509_note_sig_algo()
288 pr_debug("Signature: alg=%u, size=%zu\n", ctx->last_oid, vlen); in x509_note_signature()
295 if (ctx->last_oid != ctx->sig_algo) { in x509_note_signature()
297 ctx->last_oid, ctx->sig_algo); in x509_note_signature()
339 switch (ctx->last_oid) { in x509_extract_name_segment()
498 ctx->key_algo = ctx->last_oid; in x509_extract_key_data()
499 switch (ctx->last_oid) { in x509_extract_key_data()
554 pr_debug("Extension: %u\n", ctx->last_oid); in x509_process_extension()
556 if (ctx->last_oid == OID_subjectKeyIdentifier) { in x509_process_extension()
575 if (ctx->last_oid == OID_keyUsage) { in x509_process_extension()
603 if (ctx->last_oid == OID_authorityKeyIdentifier) { in x509_process_extension()
610 if (ctx->last_oid == OID_basicConstraints) { in x509_process_extension()