Lines Matching refs:value
169 const void *value, size_t vlen) in x509_note_OID() argument
173 ctx->last_oid = look_up_OID(value, vlen); in x509_note_OID()
176 sprint_oid(value, vlen, buffer, sizeof(buffer)); in x509_note_OID()
178 (unsigned long)value - ctx->data, buffer); in x509_note_OID()
189 const void *value, size_t vlen) in x509_note_tbs_certificate() argument
194 hdrlen, tag, (unsigned long)value - ctx->data, vlen); in x509_note_tbs_certificate()
196 ctx->cert->tbs = value - hdrlen; in x509_note_tbs_certificate()
206 const void *value, size_t vlen) in x509_note_pkey_algo() argument
268 const void *value, size_t vlen) in x509_note_signature() argument
283 if (vlen < 1 || *(const u8 *)value != 0) in x509_note_signature()
286 value++; in x509_note_signature()
290 ctx->cert->raw_sig = value; in x509_note_signature()
300 const void *value, size_t vlen) in x509_note_serial() argument
303 ctx->cert->raw_serial = value; in x509_note_serial()
313 const void *value, size_t vlen) in x509_extract_name_segment() argument
320 ctx->cn_offset = (unsigned long)value - ctx->data; in x509_extract_name_segment()
324 ctx->o_offset = (unsigned long)value - ctx->data; in x509_extract_name_segment()
328 ctx->email_offset = (unsigned long)value - ctx->data; in x509_extract_name_segment()
417 const void *value, size_t vlen) in x509_note_issuer() argument
420 ctx->cert->raw_issuer = value; in x509_note_issuer()
427 const void *value, size_t vlen) in x509_note_subject() argument
430 ctx->cert->raw_subject = value; in x509_note_subject()
440 const void *value, size_t vlen) in x509_note_params() argument
451 ctx->params = value - hdrlen; in x509_note_params()
461 const void *value, size_t vlen) in x509_extract_key_data() argument
475 if (vlen < 1 || *(const u8 *)value != 0) in x509_extract_key_data()
477 ctx->key = value + 1; in x509_extract_key_data()
490 const void *value, size_t vlen) in x509_process_extension() argument
494 const unsigned char *v = value; in x509_process_extension()
547 const unsigned char *value, size_t vlen) in x509_decode_time() argument
551 const unsigned char *p = value; in x509_decode_time()
613 tag, (int)vlen, value); in x509_decode_time()
617 tag, (int)vlen, value); in x509_decode_time()
624 const void *value, size_t vlen) in x509_note_not_before() argument
627 return x509_decode_time(&ctx->cert->valid_from, hdrlen, tag, value, vlen); in x509_note_not_before()
632 const void *value, size_t vlen) in x509_note_not_after() argument
635 return x509_decode_time(&ctx->cert->valid_to, hdrlen, tag, value, vlen); in x509_note_not_after()
643 const void *value, size_t vlen) in x509_akid_note_kid() argument
648 pr_debug("AKID: keyid: %*phN\n", (int)vlen, value); in x509_akid_note_kid()
653 kid = asymmetric_key_generate_id(value, vlen, "", 0); in x509_akid_note_kid()
666 const void *value, size_t vlen) in x509_akid_note_name() argument
670 pr_debug("AKID: name: %*phN\n", (int)vlen, value); in x509_akid_note_name()
672 ctx->akid_raw_issuer = value; in x509_akid_note_name()
682 const void *value, size_t vlen) in x509_akid_note_serial() argument
687 pr_debug("AKID: serial: %*phN\n", (int)vlen, value); in x509_akid_note_serial()
692 kid = asymmetric_key_generate_id(value, in x509_akid_note_serial()