Lines Matching refs:vlen

206 		   const void *value, size_t vlen)  in pkcs7_note_OID()  argument
210 ctx->last_oid = look_up_OID(value, vlen); in pkcs7_note_OID()
213 sprint_oid(value, vlen, buffer, sizeof(buffer)); in pkcs7_note_OID()
225 const void *value, size_t vlen) in pkcs7_sig_note_digest_algo() argument
275 const void *value, size_t vlen) in pkcs7_sig_note_pkey_algo() argument
312 const void *value, size_t vlen) in pkcs7_check_content_type() argument
329 const void *value, size_t vlen) in pkcs7_note_signeddata_version() argument
334 if (vlen != 1) in pkcs7_note_signeddata_version()
363 const void *value, size_t vlen) in pkcs7_note_signerinfo_version() argument
368 if (vlen != 1) in pkcs7_note_signerinfo_version()
406 const void *value, size_t vlen) in pkcs7_extract_cert() argument
423 vlen += hdrlen; in pkcs7_extract_cert()
426 vlen += 2; /* Indefinite length - there should be an EOC */ in pkcs7_extract_cert()
428 x509 = x509_cert_parse(value, vlen); in pkcs7_extract_cert()
446 const void *value, size_t vlen) in pkcs7_note_certificate_list() argument
464 const void *value, size_t vlen) in pkcs7_note_content() argument
484 const void *value, size_t vlen) in pkcs7_note_data() argument
491 ctx->msg->data_len = vlen; in pkcs7_note_data()
501 const void *value, size_t vlen) in pkcs7_sig_note_authenticated_attr() argument
507 pr_devel("AuthAttr: %02x %zu [%*ph]\n", tag, vlen, (unsigned)vlen, value); in pkcs7_sig_note_authenticated_attr()
513 content_type = look_up_OID(value, vlen); in pkcs7_sig_note_authenticated_attr()
529 hdrlen, tag, value, vlen); in pkcs7_sig_note_authenticated_attr()
537 sinfo->msgdigest_len = vlen; in pkcs7_sig_note_authenticated_attr()
584 const void *value, size_t vlen) in pkcs7_sig_note_set_of_authattrs() argument
603 sinfo->authattrs_len = vlen + (hdrlen - 1); in pkcs7_sig_note_set_of_authattrs()
612 const void *value, size_t vlen) in pkcs7_sig_note_serial() argument
616 ctx->raw_serial_size = vlen; in pkcs7_sig_note_serial()
625 const void *value, size_t vlen) in pkcs7_sig_note_issuer() argument
629 ctx->raw_issuer_size = vlen; in pkcs7_sig_note_issuer()
638 const void *value, size_t vlen) in pkcs7_sig_note_skid() argument
642 pr_devel("SKID: %02x %zu [%*ph]\n", tag, vlen, (unsigned)vlen, value); in pkcs7_sig_note_skid()
645 ctx->raw_skid_size = vlen; in pkcs7_sig_note_skid()
654 const void *value, size_t vlen) in pkcs7_sig_note_signature() argument
658 ctx->sinfo->sig->s = kmemdup(value, vlen, GFP_KERNEL); in pkcs7_sig_note_signature()
662 ctx->sinfo->sig->s_size = vlen; in pkcs7_sig_note_signature()
671 const void *value, size_t vlen) in pkcs7_note_signed_info() argument