Home
last modified time | relevance | path

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

/u-boot/lib/crypto/
A Dx509_cert_parser.c172 ctx->last_oid = look_up_OID(value, vlen); in x509_note_OID()
173 if (ctx->last_oid == OID__NR) { in x509_note_OID()
211 switch (ctx->last_oid) { in x509_note_pkey_algo()
253 ctx->algo_oid = ctx->last_oid; in x509_note_pkey_algo()
258 ctx->algo_oid = ctx->last_oid; in x509_note_pkey_algo()
273 if (ctx->last_oid != ctx->algo_oid) { in x509_note_signature()
275 ctx->algo_oid, ctx->last_oid); in x509_note_signature()
316 switch (ctx->last_oid) { in x509_extract_name_segment()
464 ctx->key_algo = ctx->last_oid; in x509_extract_key_data()
465 if (ctx->last_oid == OID_rsaEncryption) in x509_extract_key_data()
[all …]
A Dpkcs7_parser.c42 enum OID last_oid; /* Last OID encountered */ member
222 ctx->last_oid = look_up_OID(value, vlen); in pkcs7_note_OID()
223 if (ctx->last_oid == OID__NR) { in pkcs7_note_OID()
241 switch (ctx->last_oid) { in pkcs7_sig_note_digest_algo()
279 switch (ctx->last_oid) { in pkcs7_sig_note_pkey_algo()
285 printk("Unsupported pkey algo: %u\n", ctx->last_oid); in pkcs7_sig_note_pkey_algo()
300 if (ctx->last_oid != OID_signed_data) { in pkcs7_check_content_type()
452 if (ctx->last_oid != OID_data && in pkcs7_note_content()
453 ctx->last_oid != OID_msIndirectData) { in pkcs7_note_content()
458 ctx->msg->data_type = ctx->last_oid; in pkcs7_note_content()
[all …]

Completed in 9 milliseconds