Lines Matching refs:value
157 const void *value, size_t vlen) in x509_note_OID() argument
161 ctx->last_oid = look_up_OID(value, vlen); in x509_note_OID()
164 sprint_oid(value, vlen, buffer, sizeof(buffer)); in x509_note_OID()
166 (unsigned long)value - ctx->data, buffer); in x509_note_OID()
177 const void *value, size_t vlen) in x509_note_tbs_certificate() argument
182 hdrlen, tag, (unsigned long)value - ctx->data, vlen); in x509_note_tbs_certificate()
184 ctx->cert->tbs = value - hdrlen; in x509_note_tbs_certificate()
194 const void *value, size_t vlen) in x509_note_pkey_algo() argument
265 const void *value, size_t vlen) in x509_note_signature() argument
281 if (vlen < 1 || *(const u8 *)value != 0) in x509_note_signature()
284 value++; in x509_note_signature()
288 ctx->cert->raw_sig = value; in x509_note_signature()
298 const void *value, size_t vlen) in x509_note_serial() argument
301 ctx->cert->raw_serial = value; in x509_note_serial()
311 const void *value, size_t vlen) in x509_extract_name_segment() argument
318 ctx->cn_offset = (unsigned long)value - ctx->data; in x509_extract_name_segment()
322 ctx->o_offset = (unsigned long)value - ctx->data; in x509_extract_name_segment()
326 ctx->email_offset = (unsigned long)value - ctx->data; in x509_extract_name_segment()
415 const void *value, size_t vlen) in x509_note_issuer() argument
418 ctx->cert->raw_issuer = value; in x509_note_issuer()
425 const void *value, size_t vlen) in x509_note_subject() argument
428 ctx->cert->raw_subject = value; in x509_note_subject()
438 const void *value, size_t vlen) in x509_note_params() argument
449 ctx->params = value - hdrlen; in x509_note_params()
459 const void *value, size_t vlen) in x509_extract_key_data() argument
480 if (vlen < 1 || *(const u8 *)value != 0) in x509_extract_key_data()
482 ctx->key = value + 1; in x509_extract_key_data()
495 const void *value, size_t vlen) in x509_process_extension() argument
499 const unsigned char *v = value; in x509_process_extension()
552 const unsigned char *value, size_t vlen) in x509_decode_time() argument
556 const unsigned char *p = value; in x509_decode_time()
618 tag, (int)vlen, value); in x509_decode_time()
622 tag, (int)vlen, value); in x509_decode_time()
629 const void *value, size_t vlen) in x509_note_not_before() argument
632 return x509_decode_time(&ctx->cert->valid_from, hdrlen, tag, value, vlen); in x509_note_not_before()
637 const void *value, size_t vlen) in x509_note_not_after() argument
640 return x509_decode_time(&ctx->cert->valid_to, hdrlen, tag, value, vlen); in x509_note_not_after()
648 const void *value, size_t vlen) in x509_akid_note_kid() argument
653 pr_debug("AKID: keyid: %*phN\n", (int)vlen, value); in x509_akid_note_kid()
658 kid = asymmetric_key_generate_id(value, vlen, "", 0); in x509_akid_note_kid()
671 const void *value, size_t vlen) in x509_akid_note_name() argument
675 pr_debug("AKID: name: %*phN\n", (int)vlen, value); in x509_akid_note_name()
677 ctx->akid_raw_issuer = value; in x509_akid_note_name()
687 const void *value, size_t vlen) in x509_akid_note_serial() argument
692 pr_debug("AKID: serial: %*phN\n", (int)vlen, value); in x509_akid_note_serial()
697 kid = asymmetric_key_generate_id(value, in x509_akid_note_serial()