Lines Matching refs:value
141 const void *value, size_t vlen) in x509_note_OID() argument
145 ctx->last_oid = look_up_OID(value, vlen); in x509_note_OID()
148 sprint_oid(value, vlen, buffer, sizeof(buffer)); in x509_note_OID()
150 (unsigned long)value - ctx->data, buffer); in x509_note_OID()
161 const void *value, size_t vlen) in x509_note_tbs_certificate() argument
166 hdrlen, tag, (unsigned long)value - ctx->data, vlen); in x509_note_tbs_certificate()
168 ctx->cert->tbs = value - hdrlen; in x509_note_tbs_certificate()
178 const void *value, size_t vlen) in x509_note_pkey_algo() argument
230 const void *value, size_t vlen) in x509_note_signature() argument
242 ctx->cert->raw_sig = value; in x509_note_signature()
252 const void *value, size_t vlen) in x509_note_serial() argument
255 ctx->cert->raw_serial = value; in x509_note_serial()
265 const void *value, size_t vlen) in x509_extract_name_segment() argument
272 ctx->cn_offset = (unsigned long)value - ctx->data; in x509_extract_name_segment()
276 ctx->o_offset = (unsigned long)value - ctx->data; in x509_extract_name_segment()
280 ctx->email_offset = (unsigned long)value - ctx->data; in x509_extract_name_segment()
369 const void *value, size_t vlen) in x509_note_issuer() argument
372 ctx->cert->raw_issuer = value; in x509_note_issuer()
379 const void *value, size_t vlen) in x509_note_subject() argument
382 ctx->cert->raw_subject = value; in x509_note_subject()
392 const void *value, size_t vlen) in x509_extract_key_data() argument
402 ctx->key = value + 1; in x509_extract_key_data()
412 const void *value, size_t vlen) in rsa_extract_mpi() argument
422 mpi = mpi_read_raw_data(value, vlen); in rsa_extract_mpi()
438 const void *value, size_t vlen) in x509_process_extension() argument
442 const unsigned char *v = value; in x509_process_extension()
495 const unsigned char *value, size_t vlen) in x509_decode_time() argument
499 const unsigned char *p = value; in x509_decode_time()
561 tag, (int)vlen, value); in x509_decode_time()
565 tag, (int)vlen, value); in x509_decode_time()
572 const void *value, size_t vlen) in x509_note_not_before() argument
575 return x509_decode_time(&ctx->cert->valid_from, hdrlen, tag, value, vlen); in x509_note_not_before()
580 const void *value, size_t vlen) in x509_note_not_after() argument
583 return x509_decode_time(&ctx->cert->valid_to, hdrlen, tag, value, vlen); in x509_note_not_after()
591 const void *value, size_t vlen) in x509_akid_note_kid() argument
596 pr_debug("AKID: keyid: %*phN\n", (int)vlen, value); in x509_akid_note_kid()
601 kid = asymmetric_key_generate_id(value, vlen, "", 0); in x509_akid_note_kid()
614 const void *value, size_t vlen) in x509_akid_note_name() argument
618 pr_debug("AKID: name: %*phN\n", (int)vlen, value); in x509_akid_note_name()
620 ctx->akid_raw_issuer = value; in x509_akid_note_name()
630 const void *value, size_t vlen) in x509_akid_note_serial() argument
635 pr_debug("AKID: serial: %*phN\n", (int)vlen, value); in x509_akid_note_serial()
640 kid = asymmetric_key_generate_id(value, in x509_akid_note_serial()