Lines Matching refs:vlen

157 	     const void *value, size_t vlen)
161 ctx->last_oid = look_up_OID(value, vlen);
164 sprint_oid(value, vlen, buffer, sizeof(buffer));
177 const void *value, size_t vlen)
182 hdrlen, tag, (unsigned long)value - ctx->data, vlen);
185 ctx->cert->tbs_size = vlen + hdrlen;
194 const void *value, size_t vlen)
290 const void *value, size_t vlen)
294 pr_debug("Signature type: %u size %zu\n", ctx->last_oid, vlen);
307 if (vlen < 1 || *(const u8 *)value != 0)
311 vlen--;
315 ctx->cert->raw_sig_size = vlen;
324 const void *value, size_t vlen)
328 ctx->cert->raw_serial_size = vlen;
337 const void *value, size_t vlen)
343 ctx->cn_size = vlen;
347 ctx->o_size = vlen;
351 ctx->email_size = vlen;
366 char **_name, size_t vlen)
441 const void *value, size_t vlen)
445 ctx->cert->raw_issuer_size = vlen;
446 return x509_fabricate_name(ctx, hdrlen, tag, &ctx->cert->issuer, vlen);
451 const void *value, size_t vlen)
455 ctx->cert->raw_subject_size = vlen;
456 return x509_fabricate_name(ctx, hdrlen, tag, &ctx->cert->subject, vlen);
464 const void *value, size_t vlen)
476 ctx->params_size = vlen + hdrlen;
485 const void *value, size_t vlen)
525 if (vlen < 1 || *(const u8 *)value != 0)
528 ctx->key_size = vlen - 1;
540 const void *value, size_t vlen)
550 if (ctx->cert->skid || vlen < 3)
552 if (v[0] != ASN1_OTS || v[1] != vlen - 2)
555 vlen -= 2;
557 ctx->cert->raw_skid_size = vlen;
559 kid = asymmetric_key_generate_id(v, vlen, "", 0);
570 ctx->raw_akid_size = vlen;
583 * @vlen: The size of the object value
597 const unsigned char *value, size_t vlen)
609 if (vlen != 13)
618 if (vlen != 15)
663 tag, (int)vlen, value);
667 tag, (int)vlen, value);
674 const void *value, size_t vlen)
677 return x509_decode_time(&ctx->cert->valid_from, hdrlen, tag, value, vlen);
682 const void *value, size_t vlen)
685 return x509_decode_time(&ctx->cert->valid_to, hdrlen, tag, value, vlen);
693 const void *value, size_t vlen)
698 pr_debug("AKID: keyid: %*phN\n", (int)vlen, value);
703 kid = asymmetric_key_generate_id(value, vlen, "", 0);
716 const void *value, size_t vlen)
720 pr_debug("AKID: name: %*phN\n", (int)vlen, value);
723 ctx->akid_raw_issuer_size = vlen;
732 const void *value, size_t vlen)
737 pr_debug("AKID: serial: %*phN\n", (int)vlen, value);
743 vlen,