Lines Matching refs:value
155 const void *value, size_t vlen) in x509_note_OID() argument
159 ctx->last_oid = look_up_OID(value, vlen); in x509_note_OID()
162 sprint_oid(value, vlen, buffer, sizeof(buffer)); in x509_note_OID()
164 (unsigned long)value - ctx->data, buffer); in x509_note_OID()
175 const void *value, size_t vlen) in x509_note_tbs_certificate() argument
180 hdrlen, tag, (unsigned long)value - ctx->data, vlen); in x509_note_tbs_certificate()
182 ctx->cert->tbs = value - hdrlen; in x509_note_tbs_certificate()
191 const void *value, size_t vlen) in x509_note_sig_algo() argument
287 const void *value, size_t vlen) in x509_note_signature() argument
309 if (vlen < 1 || *(const u8 *)value != 0) in x509_note_signature()
312 value++; in x509_note_signature()
316 ctx->cert->raw_sig = value; in x509_note_signature()
326 const void *value, size_t vlen) in x509_note_serial() argument
329 ctx->cert->raw_serial = value; in x509_note_serial()
339 const void *value, size_t vlen) in x509_extract_name_segment() argument
346 ctx->cn_offset = (unsigned long)value - ctx->data; in x509_extract_name_segment()
350 ctx->o_offset = (unsigned long)value - ctx->data; in x509_extract_name_segment()
354 ctx->email_offset = (unsigned long)value - ctx->data; in x509_extract_name_segment()
443 const void *value, size_t vlen) in x509_note_issuer() argument
448 ctx->cert->raw_issuer = value; in x509_note_issuer()
452 kid = asymmetric_key_generate_id(value, vlen, "", 0); in x509_note_issuer()
463 const void *value, size_t vlen) in x509_note_subject() argument
466 ctx->cert->raw_subject = value; in x509_note_subject()
476 const void *value, size_t vlen) in x509_note_params() argument
487 ctx->params = value - hdrlen; in x509_note_params()
497 const void *value, size_t vlen) in x509_extract_key_data() argument
540 if (vlen < 1 || *(const u8 *)value != 0) in x509_extract_key_data()
542 ctx->key = value + 1; in x509_extract_key_data()
555 const void *value, size_t vlen) in x509_process_extension() argument
559 const unsigned char *v = value; in x509_process_extension()
662 const unsigned char *value, size_t vlen) in x509_decode_time() argument
666 const unsigned char *p = value; in x509_decode_time()
728 tag, (int)vlen, value); in x509_decode_time()
732 tag, (int)vlen, value); in x509_decode_time()
739 const void *value, size_t vlen) in x509_note_not_before() argument
742 return x509_decode_time(&ctx->cert->valid_from, hdrlen, tag, value, vlen); in x509_note_not_before()
747 const void *value, size_t vlen) in x509_note_not_after() argument
750 return x509_decode_time(&ctx->cert->valid_to, hdrlen, tag, value, vlen); in x509_note_not_after()
758 const void *value, size_t vlen) in x509_akid_note_kid() argument
763 pr_debug("AKID: keyid: %*phN\n", (int)vlen, value); in x509_akid_note_kid()
768 kid = asymmetric_key_generate_id(value, vlen, "", 0); in x509_akid_note_kid()
781 const void *value, size_t vlen) in x509_akid_note_name() argument
785 pr_debug("AKID: name: %*phN\n", (int)vlen, value); in x509_akid_note_name()
787 ctx->akid_raw_issuer = value; in x509_akid_note_name()
797 const void *value, size_t vlen) in x509_akid_note_serial() argument
802 pr_debug("AKID: serial: %*phN\n", (int)vlen, value); in x509_akid_note_serial()
807 kid = asymmetric_key_generate_id(value, in x509_akid_note_serial()