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

/linux-4.1.27/crypto/asymmetric_keys/
H A Dpkcs7_parser.c29 enum OID last_oid; /* Last OID encountered */ member in struct:pkcs7_parse_context
169 ctx->last_oid = look_up_OID(value, vlen); pkcs7_note_OID()
170 if (ctx->last_oid == OID__NR) { pkcs7_note_OID()
188 switch (ctx->last_oid) { pkcs7_sig_note_digest_algo()
202 printk("Unsupported digest algo: %u\n", ctx->last_oid); pkcs7_sig_note_digest_algo()
217 switch (ctx->last_oid) { pkcs7_sig_note_pkey_algo()
222 printk("Unsupported pkey algo: %u\n", ctx->last_oid); pkcs7_sig_note_pkey_algo()
301 ctx->msg->data_type = ctx->last_oid; pkcs7_note_data()
316 switch (ctx->last_oid) { pkcs7_sig_note_authenticated_attr()
H A Dx509_cert_parser.c30 enum OID last_oid; /* Last OID encountered */ member in struct:x509_parse_context
145 ctx->last_oid = look_up_OID(value, vlen); x509_note_OID()
146 if (ctx->last_oid == OID__NR) { x509_note_OID()
182 pr_debug("PubKey Algo: %u\n", ctx->last_oid); x509_note_pkey_algo()
184 switch (ctx->last_oid) { x509_note_pkey_algo()
221 ctx->algo_oid = ctx->last_oid; x509_note_pkey_algo()
234 pr_debug("Signature type: %u size %zu\n", ctx->last_oid, vlen); x509_note_signature()
236 if (ctx->last_oid != ctx->algo_oid) { x509_note_signature()
238 ctx->algo_oid, ctx->last_oid); x509_note_signature()
269 switch (ctx->last_oid) { x509_extract_name_segment()
396 if (ctx->last_oid != OID_rsaEncryption) x509_extract_key_data()
444 pr_debug("Extension: %u\n", ctx->last_oid); x509_process_extension()
446 if (ctx->last_oid == OID_subjectKeyIdentifier) { x509_process_extension()
467 if (ctx->last_oid == OID_authorityKeyIdentifier) { x509_process_extension()

Completed in 158 milliseconds