/kernel/linux/linux-5.10/crypto/ |
H A D | rsa_helper.c | 17 const void *value, size_t vlen) in rsa_get_n() 21 size_t n_sz = vlen; in rsa_get_n() 24 if (!value || !vlen) in rsa_get_n() 41 key->n_sz = vlen; in rsa_get_n() 47 const void *value, size_t vlen) in rsa_get_e() 52 if (!value || !key->n_sz || !vlen || vlen > key->n_sz) in rsa_get_e() 56 key->e_sz = vlen; in rsa_get_e() 62 const void *value, size_t vlen) in rsa_get_d() 67 if (!value || !key->n_sz || !vlen || vle in rsa_get_d() 16 rsa_get_n(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_n() argument 46 rsa_get_e(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_e() argument 61 rsa_get_d(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_d() argument 76 rsa_get_p(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_p() argument 91 rsa_get_q(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_q() argument 106 rsa_get_dp(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_dp() argument 121 rsa_get_dq(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_dq() argument 136 rsa_get_qinv(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_qinv() argument [all...] |
H A D | ecdsa.c | 36 const void *value, size_t vlen, unsigned int ndigits) in ecdsa_get_signature_rs() 39 ssize_t diff = vlen - keylen; in ecdsa_get_signature_rs() 43 if (!value || !vlen) in ecdsa_get_signature_rs() 54 vlen -= 1; in ecdsa_get_signature_rs() 69 memcpy(&rs[-diff], d, vlen); in ecdsa_get_signature_rs() 77 const void *value, size_t vlen) in ecdsa_get_signature_r() 81 return ecdsa_get_signature_rs(sig->r, hdrlen, tag, value, vlen, in ecdsa_get_signature_r() 86 const void *value, size_t vlen) in ecdsa_get_signature_s() 90 return ecdsa_get_signature_rs(sig->s, hdrlen, tag, value, vlen, in ecdsa_get_signature_s() 35 ecdsa_get_signature_rs(u64 *dest, size_t hdrlen, unsigned char tag, const void *value, size_t vlen, unsigned int ndigits) ecdsa_get_signature_rs() argument 76 ecdsa_get_signature_r(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) ecdsa_get_signature_r() argument 85 ecdsa_get_signature_s(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) ecdsa_get_signature_s() argument
|
/kernel/linux/linux-6.6/crypto/ |
H A D | rsa_helper.c | 17 const void *value, size_t vlen) in rsa_get_n() 21 size_t n_sz = vlen; in rsa_get_n() 24 if (!value || !vlen) in rsa_get_n() 41 key->n_sz = vlen; in rsa_get_n() 47 const void *value, size_t vlen) in rsa_get_e() 52 if (!value || !key->n_sz || !vlen || vlen > key->n_sz) in rsa_get_e() 56 key->e_sz = vlen; in rsa_get_e() 62 const void *value, size_t vlen) in rsa_get_d() 67 if (!value || !key->n_sz || !vlen || vle in rsa_get_d() 16 rsa_get_n(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_n() argument 46 rsa_get_e(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_e() argument 61 rsa_get_d(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_d() argument 76 rsa_get_p(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_p() argument 91 rsa_get_q(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_q() argument 106 rsa_get_dp(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_dp() argument 121 rsa_get_dq(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_dq() argument 136 rsa_get_qinv(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) rsa_get_qinv() argument [all...] |
H A D | ecdsa.c | 36 const void *value, size_t vlen, unsigned int ndigits) in ecdsa_get_signature_rs() 39 ssize_t diff = vlen - keylen; in ecdsa_get_signature_rs() 43 if (!value || !vlen) in ecdsa_get_signature_rs() 54 vlen -= 1; in ecdsa_get_signature_rs() 69 memcpy(&rs[-diff], d, vlen); in ecdsa_get_signature_rs() 77 const void *value, size_t vlen) in ecdsa_get_signature_r() 81 return ecdsa_get_signature_rs(sig->r, hdrlen, tag, value, vlen, in ecdsa_get_signature_r() 86 const void *value, size_t vlen) in ecdsa_get_signature_s() 90 return ecdsa_get_signature_rs(sig->s, hdrlen, tag, value, vlen, in ecdsa_get_signature_s() 35 ecdsa_get_signature_rs(u64 *dest, size_t hdrlen, unsigned char tag, const void *value, size_t vlen, unsigned int ndigits) ecdsa_get_signature_rs() argument 76 ecdsa_get_signature_r(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) ecdsa_get_signature_r() argument 85 ecdsa_get_signature_s(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) ecdsa_get_signature_s() argument
|
/kernel/linux/linux-6.6/crypto/asymmetric_keys/ |
H A D | x509_cert_parser.c | 155 const void *value, size_t vlen) in x509_note_OID() 159 ctx->last_oid = look_up_OID(value, vlen); in x509_note_OID() 162 sprint_oid(value, vlen, buffer, sizeof(buffer)); in x509_note_OID() 175 const void *value, size_t vlen) in x509_note_tbs_certificate() 180 hdrlen, tag, (unsigned long)value - ctx->data, vlen); in x509_note_tbs_certificate() 183 ctx->cert->tbs_size = vlen + hdrlen; in x509_note_tbs_certificate() 191 const void *value, size_t vlen) in x509_note_sig_algo() 287 const void *value, size_t vlen) in x509_note_signature() 291 pr_debug("Signature: alg=%u, size=%zu\n", ctx->last_oid, vlen); in x509_note_signature() 309 if (vlen < in x509_note_signature() 153 x509_note_OID(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_OID() argument 173 x509_note_tbs_certificate(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_tbs_certificate() argument 190 x509_note_sig_algo(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_sig_algo() argument 285 x509_note_signature(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_signature() argument 324 x509_note_serial(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_serial() argument 337 x509_extract_name_segment(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_extract_name_segment() argument 366 x509_fabricate_name(struct x509_parse_context *ctx, size_t hdrlen, unsigned char tag, char **_name, size_t vlen) x509_fabricate_name() argument 441 x509_note_issuer(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_issuer() argument 461 x509_note_subject(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_subject() argument 474 x509_note_params(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_params() argument 495 x509_extract_key_data(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_extract_key_data() argument 553 x509_process_extension(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_process_extension() argument 660 x509_decode_time(time64_t *_t, size_t hdrlen, unsigned char tag, const unsigned char *value, size_t vlen) x509_decode_time() argument 737 x509_note_not_before(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_not_before() argument 745 x509_note_not_after(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_not_after() argument 756 x509_akid_note_kid(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_akid_note_kid() argument 779 x509_akid_note_name(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_akid_note_name() argument 795 x509_akid_note_serial(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_akid_note_serial() argument [all...] |
H A D | pkcs7_parser.c | 206 const void *value, size_t vlen) in pkcs7_note_OID() 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() 272 const void *value, size_t vlen) in pkcs7_sig_note_pkey_algo() 310 const void *value, size_t vlen) in pkcs7_check_content_type() 327 const void *value, size_t vlen) in pkcs7_note_signeddata_version() 332 if (vlen != 1) in pkcs7_note_signeddata_version() 361 const void *value, size_t vlen) in pkcs7_note_signerinfo_version() 366 if (vlen ! in pkcs7_note_signerinfo_version() 204 pkcs7_note_OID(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_note_OID() argument 223 pkcs7_sig_note_digest_algo(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_digest_algo() argument 270 pkcs7_sig_note_pkey_algo(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_pkey_algo() argument 308 pkcs7_check_content_type(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_check_content_type() argument 325 pkcs7_note_signeddata_version(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_note_signeddata_version() argument 359 pkcs7_note_signerinfo_version(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_note_signerinfo_version() argument 402 pkcs7_extract_cert(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_extract_cert() argument 442 pkcs7_note_certificate_list(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_note_certificate_list() argument 460 pkcs7_note_content(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_note_content() argument 480 pkcs7_note_data(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_note_data() argument 497 pkcs7_sig_note_authenticated_attr(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_authenticated_attr() argument 580 pkcs7_sig_note_set_of_authattrs(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_set_of_authattrs() argument 608 pkcs7_sig_note_serial(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_serial() argument 621 pkcs7_sig_note_issuer(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_issuer() argument 634 pkcs7_sig_note_skid(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_skid() argument 650 pkcs7_sig_note_signature(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_signature() argument 667 pkcs7_note_signed_info(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_note_signed_info() argument [all...] |
H A D | mscode_parser.c | 38 const void *value, size_t vlen) in mscode_note_content_type() 42 oid = look_up_OID(value, vlen); in mscode_note_content_type() 46 sprint_oid(value, vlen, buffer, sizeof(buffer)); in mscode_note_content_type() 70 const void *value, size_t vlen) in mscode_note_digest_algo() 76 oid = look_up_OID(value, vlen); in mscode_note_digest_algo() 101 sprint_oid(value, vlen, buffer, sizeof(buffer)); in mscode_note_digest_algo() 118 const void *value, size_t vlen) in mscode_note_digest() 122 ctx->digest = kmemdup(value, vlen, GFP_KERNEL); in mscode_note_digest() 126 ctx->digest_len = vlen; in mscode_note_digest() 36 mscode_note_content_type(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) mscode_note_content_type() argument 68 mscode_note_digest_algo(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) mscode_note_digest_algo() argument 116 mscode_note_digest(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) mscode_note_digest() argument
|
H A D | pkcs8_parser.c | 35 const void *value, size_t vlen) in pkcs8_note_OID() 39 ctx->last_oid = look_up_OID(value, vlen); in pkcs8_note_OID() 43 sprint_oid(value, vlen, buffer, sizeof(buffer)); in pkcs8_note_OID() 55 const void *value, size_t vlen) in pkcs8_note_version() 57 if (vlen != 1 || ((const u8 *)value)[0] != 0) { in pkcs8_note_version() 69 const void *value, size_t vlen) in pkcs8_note_algo() 85 const void *value, size_t vlen) in pkcs8_note_key() 90 ctx->key_size = vlen; in pkcs8_note_key() 33 pkcs8_note_OID(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs8_note_OID() argument 53 pkcs8_note_version(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs8_note_version() argument 67 pkcs8_note_algo(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs8_note_algo() argument 83 pkcs8_note_key(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs8_note_key() argument
|
/kernel/linux/linux-5.10/crypto/asymmetric_keys/ |
H A D | x509_cert_parser.c | 157 const void *value, size_t vlen) in x509_note_OID() 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() 177 const void *value, size_t vlen) in x509_note_tbs_certificate() 182 hdrlen, tag, (unsigned long)value - ctx->data, vlen); in x509_note_tbs_certificate() 185 ctx->cert->tbs_size = vlen + hdrlen; in x509_note_tbs_certificate() 194 const void *value, size_t vlen) in x509_note_pkey_algo() 290 const void *value, size_t vlen) in x509_note_signature() 294 pr_debug("Signature type: %u size %zu\n", ctx->last_oid, vlen); in x509_note_signature() 307 if (vlen < in x509_note_signature() 155 x509_note_OID(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_OID() argument 175 x509_note_tbs_certificate(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_tbs_certificate() argument 192 x509_note_pkey_algo(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_pkey_algo() argument 288 x509_note_signature(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_signature() argument 322 x509_note_serial(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_serial() argument 335 x509_extract_name_segment(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_extract_name_segment() argument 364 x509_fabricate_name(struct x509_parse_context *ctx, size_t hdrlen, unsigned char tag, char **_name, size_t vlen) x509_fabricate_name() argument 439 x509_note_issuer(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_issuer() argument 449 x509_note_subject(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_subject() argument 462 x509_note_params(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_params() argument 483 x509_extract_key_data(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_extract_key_data() argument 538 x509_process_extension(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_process_extension() argument 595 x509_decode_time(time64_t *_t, size_t hdrlen, unsigned char tag, const unsigned char *value, size_t vlen) x509_decode_time() argument 672 x509_note_not_before(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_not_before() argument 680 x509_note_not_after(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_note_not_after() argument 691 x509_akid_note_kid(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_akid_note_kid() argument 714 x509_akid_note_name(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_akid_note_name() argument 730 x509_akid_note_serial(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) x509_akid_note_serial() argument [all...] |
H A D | pkcs7_parser.c | 206 const void *value, size_t vlen) in pkcs7_note_OID() 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() 263 const void *value, size_t vlen) in pkcs7_sig_note_pkey_algo() 292 const void *value, size_t vlen) in pkcs7_check_content_type() 309 const void *value, size_t vlen) in pkcs7_note_signeddata_version() 314 if (vlen != 1) in pkcs7_note_signeddata_version() 343 const void *value, size_t vlen) in pkcs7_note_signerinfo_version() 348 if (vlen ! in pkcs7_note_signerinfo_version() 204 pkcs7_note_OID(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_note_OID() argument 223 pkcs7_sig_note_digest_algo(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_digest_algo() argument 261 pkcs7_sig_note_pkey_algo(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_pkey_algo() argument 290 pkcs7_check_content_type(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_check_content_type() argument 307 pkcs7_note_signeddata_version(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_note_signeddata_version() argument 341 pkcs7_note_signerinfo_version(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_note_signerinfo_version() argument 384 pkcs7_extract_cert(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_extract_cert() argument 424 pkcs7_note_certificate_list(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_note_certificate_list() argument 442 pkcs7_note_content(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_note_content() argument 462 pkcs7_note_data(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_note_data() argument 479 pkcs7_sig_note_authenticated_attr(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_authenticated_attr() argument 573 pkcs7_sig_note_set_of_authattrs(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_set_of_authattrs() argument 601 pkcs7_sig_note_serial(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_serial() argument 614 pkcs7_sig_note_issuer(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_issuer() argument 627 pkcs7_sig_note_skid(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_skid() argument 643 pkcs7_sig_note_signature(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_sig_note_signature() argument 660 pkcs7_note_signed_info(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs7_note_signed_info() argument [all...] |
H A D | mscode_parser.c | 38 const void *value, size_t vlen) in mscode_note_content_type() 42 oid = look_up_OID(value, vlen); in mscode_note_content_type() 46 sprint_oid(value, vlen, buffer, sizeof(buffer)); in mscode_note_content_type() 70 const void *value, size_t vlen) in mscode_note_digest_algo() 76 oid = look_up_OID(value, vlen); in mscode_note_digest_algo() 101 sprint_oid(value, vlen, buffer, sizeof(buffer)); in mscode_note_digest_algo() 118 const void *value, size_t vlen) in mscode_note_digest() 122 ctx->digest = kmemdup(value, vlen, GFP_KERNEL); in mscode_note_digest() 126 ctx->digest_len = vlen; in mscode_note_digest() 36 mscode_note_content_type(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) mscode_note_content_type() argument 68 mscode_note_digest_algo(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) mscode_note_digest_algo() argument 116 mscode_note_digest(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) mscode_note_digest() argument
|
H A D | pkcs8_parser.c | 35 const void *value, size_t vlen) in pkcs8_note_OID() 39 ctx->last_oid = look_up_OID(value, vlen); in pkcs8_note_OID() 43 sprint_oid(value, vlen, buffer, sizeof(buffer)); in pkcs8_note_OID() 55 const void *value, size_t vlen) in pkcs8_note_version() 57 if (vlen != 1 || ((const u8 *)value)[0] != 0) { in pkcs8_note_version() 69 const void *value, size_t vlen) in pkcs8_note_algo() 85 const void *value, size_t vlen) in pkcs8_note_key() 90 ctx->key_size = vlen; in pkcs8_note_key() 33 pkcs8_note_OID(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs8_note_OID() argument 53 pkcs8_note_version(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs8_note_version() argument 67 pkcs8_note_algo(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs8_note_algo() argument 83 pkcs8_note_key(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) pkcs8_note_key() argument
|
/third_party/ltp/testcases/kernel/syscalls/sendmmsg/ |
H A D | sendmmsg_var.h | 13 unsigned int vlen, unsigned int flags) in libc_sendmmsg() 16 return sendmmsg(sockfd, msgvec, vlen, flags); in libc_sendmmsg() 24 unsigned int vlen, unsigned int flags) in sys_sendmmsg() 26 return tst_syscall(__NR_sendmmsg, sockfd, msgvec, vlen, flags); in sys_sendmmsg() 30 unsigned int vlen, unsigned int flags, void *timeout) in libc_recvmmsg() 33 return recvmmsg(sockfd, msgvec, vlen, flags, timeout); in libc_recvmmsg() 41 unsigned int vlen, unsigned int flags, void *timeout) in sys_recvmmsg() 43 return tst_syscall(__NR_recvmmsg, sockfd, msgvec, vlen, flags, timeout); in sys_recvmmsg() 47 unsigned int vlen, unsigned int flags, void *timeout) in sys_recvmmsg64() 49 return tst_syscall(__NR_recvmmsg_time64, sockfd, msgvec, vlen, flag in sys_recvmmsg64() 12 libc_sendmmsg(int sockfd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags) libc_sendmmsg() argument 23 sys_sendmmsg(int sockfd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags) sys_sendmmsg() argument 29 libc_recvmmsg(int sockfd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags, void *timeout) libc_recvmmsg() argument 40 sys_recvmmsg(int sockfd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags, void *timeout) sys_recvmmsg() argument 46 sys_recvmmsg64(int sockfd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags, void *timeout) sys_recvmmsg64() argument [all...] |
/third_party/musl/src/network/ |
H A D | recvmmsg.c | 13 int recvmmsg(int fd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags, struct timespec *timeout) in recvmmsg() argument 18 for (i = vlen; i; i--, mh++) in recvmmsg() 24 int r = __syscall_cp(SYS_recvmmsg_time64, fd, msgvec, vlen, flags, in recvmmsg() 28 if (vlen > IOV_MAX) vlen = IOV_MAX; in recvmmsg() 29 socklen_t csize[vlen]; in recvmmsg() 30 for (int i=0; i<vlen; i++) csize[i] = msgvec[i].msg_hdr.msg_controllen; in recvmmsg() 31 r = __syscall_cp(SYS_recvmmsg, fd, msgvec, vlen, flags, in recvmmsg() 37 return syscall_cp(SYS_recvmmsg, fd, msgvec, vlen, flags, timeout); in recvmmsg()
|
H A D | sendmmsg.c | 7 int sendmmsg(int fd, struct mmsghdr *msgvec, unsigned int vlen, unsigned int flags) in sendmmsg() argument 14 if (vlen > IOV_MAX) vlen = IOV_MAX; /* This matches the kernel. */ in sendmmsg() 15 if (!vlen) return 0; in sendmmsg() 16 for (i=0; i<vlen; i++) { in sendmmsg() 28 return syscall_cp(SYS_sendmmsg, fd, msgvec, vlen, flags); in sendmmsg()
|
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | asn1.c | 163 const void *value, size_t vlen) in ksmbd_gssapi_this_mech() 167 oid = look_up_OID(value, vlen); in ksmbd_gssapi_this_mech() 171 sprint_oid(value, vlen, buf, sizeof(buf)); in ksmbd_gssapi_this_mech() 181 size_t vlen) in ksmbd_neg_token_init_mech_type() 187 oid = look_up_OID(value, vlen); in ksmbd_neg_token_init_mech_type() 199 sprint_oid(value, vlen, buf, sizeof(buf)); in ksmbd_neg_token_init_mech_type() 213 size_t vlen) in ksmbd_neg_token_alloc() 217 if (!vlen) in ksmbd_neg_token_alloc() 220 conn->mechToken = kmemdup_nul(value, vlen, GFP_KERNEL); in ksmbd_neg_token_alloc() 224 conn->mechTokenLen = (unsigned int)vlen; in ksmbd_neg_token_alloc() 162 ksmbd_gssapi_this_mech(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) ksmbd_gssapi_this_mech() argument 179 ksmbd_neg_token_init_mech_type(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) ksmbd_neg_token_init_mech_type() argument 211 ksmbd_neg_token_alloc(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) ksmbd_neg_token_alloc() argument 229 ksmbd_neg_token_init_mech_token(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) ksmbd_neg_token_init_mech_token() argument 236 ksmbd_neg_token_targ_resp_token(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) ksmbd_neg_token_targ_resp_token() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | btf_helpers.c | 92 __u32 vlen; in fprintf_btf_type_raw() local 98 vlen = btf_vlen(t); in fprintf_btf_type_raw() 128 fprintf(out, " size=%u vlen=%u", t->size, vlen); in fprintf_btf_type_raw() 129 for (i = 0; i < vlen; i++, m++) { in fprintf_btf_type_raw() 146 fprintf(out, " encoding=%s size=%u vlen=%u", in fprintf_btf_type_raw() 147 btf_kflag(t) ? "SIGNED" : "UNSIGNED", t->size, vlen); in fprintf_btf_type_raw() 148 for (i = 0; i < vlen; i++, v++) { in fprintf_btf_type_raw() 160 fprintf(out, " encoding=%s size=%u vlen=%u", in fprintf_btf_type_raw() 161 btf_kflag(t) ? "SIGNED" : "UNSIGNED", t->size, vlen); in fprintf_btf_type_raw() [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | asn1.c | 23 unsigned char tag, const void *value, size_t vlen) in cifs_gssapi_this_mech() 27 oid = look_up_OID(value, vlen); in cifs_gssapi_this_mech() 31 sprint_oid(value, vlen, buf, sizeof(buf)); in cifs_gssapi_this_mech() 41 const void *value, size_t vlen) in cifs_neg_token_init_mech_type() 46 oid = look_up_OID(value, vlen); in cifs_neg_token_init_mech_type() 58 sprint_oid(value, vlen, buf, sizeof(buf)); in cifs_neg_token_init_mech_type() 22 cifs_gssapi_this_mech(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) cifs_gssapi_this_mech() argument 39 cifs_neg_token_init_mech_type(void *context, size_t hdrlen, unsigned char tag, const void *value, size_t vlen) cifs_neg_token_init_mech_type() argument
|
/kernel/linux/linux-6.6/drivers/crypto/starfive/ |
H A D | jh7110-rsa.c | 370 const char *value, size_t vlen) in starfive_rsa_set_n() 376 while (!*ptr && vlen) { in starfive_rsa_set_n() 378 vlen--; in starfive_rsa_set_n() 380 rsa_key->key_sz = vlen; in starfive_rsa_set_n() 401 const char *value, size_t vlen) in starfive_rsa_set_e() 407 while (!*ptr && vlen) { in starfive_rsa_set_e() 409 vlen--; in starfive_rsa_set_e() 413 if (!rsa_key->key_sz || !vlen || vlen > rsa_key->key_sz) { in starfive_rsa_set_e() 427 rsa_key->e_bitlen = (vlen in starfive_rsa_set_e() 369 starfive_rsa_set_n(struct starfive_rsa_key *rsa_key, const char *value, size_t vlen) starfive_rsa_set_n() argument 400 starfive_rsa_set_e(struct starfive_rsa_key *rsa_key, const char *value, size_t vlen) starfive_rsa_set_e() argument 434 starfive_rsa_set_d(struct starfive_rsa_key *rsa_key, const char *value, size_t vlen) starfive_rsa_set_d() argument [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | read_write.c | 907 unsigned long vlen, loff_t *pos, rwf_t flags) in vfs_readv() 914 ret = import_iovec(READ, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter); in vfs_readv() 924 unsigned long vlen, loff_t *pos, rwf_t flags) in vfs_writev() 931 ret = import_iovec(WRITE, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter); in vfs_writev() 942 unsigned long vlen, rwf_t flags) in do_readv() 953 ret = vfs_readv(f.file, vec, vlen, ppos, flags); in do_readv() 966 unsigned long vlen, rwf_t flags) in do_writev() 977 ret = vfs_writev(f.file, vec, vlen, ppos, flags); in do_writev() 996 unsigned long vlen, loff_t pos, rwf_t flags) in do_preadv() 1008 ret = vfs_readv(f.file, vec, vlen, in do_preadv() 906 vfs_readv(struct file *file, const struct iovec __user *vec, unsigned long vlen, loff_t *pos, rwf_t flags) vfs_readv() argument 923 vfs_writev(struct file *file, const struct iovec __user *vec, unsigned long vlen, loff_t *pos, rwf_t flags) vfs_writev() argument 941 do_readv(unsigned long fd, const struct iovec __user *vec, unsigned long vlen, rwf_t flags) do_readv() argument 965 do_writev(unsigned long fd, const struct iovec __user *vec, unsigned long vlen, rwf_t flags) do_writev() argument 995 do_preadv(unsigned long fd, const struct iovec __user *vec, unsigned long vlen, loff_t pos, rwf_t flags) do_preadv() argument 1018 do_pwritev(unsigned long fd, const struct iovec __user *vec, unsigned long vlen, loff_t pos, rwf_t flags) do_pwritev() argument [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | read_write.c | 906 unsigned long vlen, loff_t *pos, rwf_t flags) in vfs_readv() 913 ret = import_iovec(ITER_DEST, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter); in vfs_readv() 923 unsigned long vlen, loff_t *pos, rwf_t flags) in vfs_writev() 930 ret = import_iovec(ITER_SOURCE, vec, vlen, ARRAY_SIZE(iovstack), &iov, &iter); in vfs_writev() 941 unsigned long vlen, rwf_t flags) in do_readv() 952 ret = vfs_readv(f.file, vec, vlen, ppos, flags); in do_readv() 965 unsigned long vlen, rwf_t flags) in do_writev() 976 ret = vfs_writev(f.file, vec, vlen, ppos, flags); in do_writev() 995 unsigned long vlen, loff_t pos, rwf_t flags) in do_preadv() 1007 ret = vfs_readv(f.file, vec, vlen, in do_preadv() 905 vfs_readv(struct file *file, const struct iovec __user *vec, unsigned long vlen, loff_t *pos, rwf_t flags) vfs_readv() argument 922 vfs_writev(struct file *file, const struct iovec __user *vec, unsigned long vlen, loff_t *pos, rwf_t flags) vfs_writev() argument 940 do_readv(unsigned long fd, const struct iovec __user *vec, unsigned long vlen, rwf_t flags) do_readv() argument 964 do_writev(unsigned long fd, const struct iovec __user *vec, unsigned long vlen, rwf_t flags) do_writev() argument 994 do_preadv(unsigned long fd, const struct iovec __user *vec, unsigned long vlen, loff_t pos, rwf_t flags) do_preadv() argument 1017 do_pwritev(unsigned long fd, const struct iovec __user *vec, unsigned long vlen, loff_t pos, rwf_t flags) do_pwritev() argument [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | linux-syscalls.c | 145 int uv__sendmmsg(int fd, struct uv__mmsghdr* mmsg, unsigned int vlen) { in uv__sendmmsg() argument 152 args[2] = (unsigned long) vlen; in uv__sendmmsg() 163 return syscall(__NR_sendmmsg, fd, mmsg, vlen, /* flags */ 0); in uv__sendmmsg() 170 int uv__recvmmsg(int fd, struct uv__mmsghdr* mmsg, unsigned int vlen) { in uv__recvmmsg() argument 177 args[2] = (unsigned long) vlen; in uv__recvmmsg() 189 return syscall(__NR_recvmmsg, fd, mmsg, vlen, /* flags */ 0, /* timeout */ 0); in uv__recvmmsg()
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | btf.c | 164 __u16 vlen = BTF_INFO_VLEN(t->info); in dump_btf_type() local 169 jsonw_uint_field(w, "vlen", vlen); in dump_btf_type() 173 printf(" size=%u vlen=%u", t->size, vlen); in dump_btf_type() 175 for (i = 0; i < vlen; i++, m++) { in dump_btf_type() 210 __u16 vlen = BTF_INFO_VLEN(t->info); in dump_btf_type() local 215 jsonw_uint_field(w, "vlen", vlen); in dump_btf_type() 219 printf(" size=%u vlen in dump_btf_type() 260 __u16 vlen = BTF_INFO_VLEN(t->info); dump_btf_type() local 303 __u16 vlen = BTF_INFO_VLEN(t->info); dump_btf_type() local [all...] |
/third_party/curl/lib/ |
H A D | headers.c | 223 size_t vlen) /* length of the incoming header */ in unfold_value() 237 while(vlen && ISSPACE(value[vlen - 1])) in unfold_value() 238 vlen--; in unfold_value() 241 while((vlen > 1) && ISBLANK(value[0]) && ISBLANK(value[1])) { in unfold_value() 242 vlen--; in unfold_value() 252 newhs = Curl_saferealloc(hs, sizeof(*hs) + vlen + oalloc + 1); in unfold_value() 262 memcpy(&newhs->value[olen], value, vlen); in unfold_value() 263 newhs->value[olen + vlen] = 0; /* null-terminate at newline */ in unfold_value() 222 unfold_value(struct Curl_easy *data, const char *value, size_t vlen) unfold_value() argument
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | btf.c | 164 __u16 vlen = BTF_INFO_VLEN(t->info); in dump_btf_type() local 169 jsonw_uint_field(w, "vlen", vlen); in dump_btf_type() 173 printf(" size=%u vlen=%u", t->size, vlen); in dump_btf_type() 175 for (i = 0; i < vlen; i++, m++) { in dump_btf_type() 210 __u16 vlen = BTF_INFO_VLEN(t->info); in dump_btf_type() local 218 jsonw_uint_field(w, "vlen", vlen); in dump_btf_type() 222 printf(" encoding=%s size=%u vlen in dump_btf_type() 248 __u16 vlen = btf_vlen(t); dump_btf_type() local 310 __u16 vlen = BTF_INFO_VLEN(t->info); dump_btf_type() local 354 __u16 vlen = BTF_INFO_VLEN(t->info); dump_btf_type() local [all...] |