Home
last modified time | relevance | path

Searched refs:vlen (Results 1 – 10 of 10) sorted by relevance

/crypto/
Drsa_helper.c17 const void *value, size_t vlen) in rsa_get_n() argument
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() argument
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() argument
67 if (!value || !key->n_sz || !vlen || vlen > key->n_sz) in rsa_get_d()
71 key->d_sz = vlen; in rsa_get_d()
[all …]
Decrdsa.c150 const void *value, size_t vlen) in ecrdsa_param_curve() argument
154 ctx->curve_oid = look_up_OID(value, vlen); in ecrdsa_param_curve()
163 const void *value, size_t vlen) in ecrdsa_param_digest() argument
166 int digest_oid = look_up_OID(value, vlen); in ecrdsa_param_digest()
174 const void *value, size_t vlen) in ecrdsa_parse_pub_key() argument
179 ctx->key_len = vlen; in ecrdsa_parse_pub_key()
Dtestmgr.h123 unsigned short vlen; member
19543 .vlen = 16,
19557 .vlen = 16,
19571 .vlen = 16,
19585 .vlen = 16,
19599 .vlen = 16,
19613 .vlen = 16,
Dtestmgr.c3194 memcpy(seed, template[i].v, template[i].vlen); in test_cprng()
3195 memcpy(seed + template[i].vlen, template[i].key, in test_cprng()
3197 memcpy(seed + template[i].vlen + template[i].klen, in test_cprng()
/crypto/asymmetric_keys/
Dx509_cert_parser.c157 const void *value, size_t vlen) in x509_note_OID() argument
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() argument
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() argument
256 const void *value, size_t vlen) in x509_note_signature() argument
260 pr_debug("Signature type: %u size %zu\n", ctx->last_oid, vlen); in x509_note_signature()
271 if (vlen < 1 || *(const u8 *)value != 0) in x509_note_signature()
[all …]
Dpkcs7_parser.c206 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
263 const void *value, size_t vlen) in pkcs7_sig_note_pkey_algo() argument
284 const void *value, size_t vlen) in pkcs7_check_content_type() argument
301 const void *value, size_t vlen) in pkcs7_note_signeddata_version() argument
306 if (vlen != 1) in pkcs7_note_signeddata_version()
335 const void *value, size_t vlen) in pkcs7_note_signerinfo_version() argument
340 if (vlen != 1) in pkcs7_note_signerinfo_version()
[all …]
Dmscode_parser.c38 const void *value, size_t vlen) in mscode_note_content_type() argument
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() argument
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() argument
122 ctx->digest = kmemdup(value, vlen, GFP_KERNEL); in mscode_note_digest()
126 ctx->digest_len = vlen; in mscode_note_digest()
Dpkcs8_parser.c35 const void *value, size_t vlen) in pkcs8_note_OID() argument
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() argument
57 if (vlen != 1 || ((const u8 *)value)[0] != 0) { in pkcs8_note_version()
69 const void *value, size_t vlen) in pkcs8_note_algo() argument
85 const void *value, size_t vlen) in pkcs8_note_key() argument
90 ctx->key_size = vlen; in pkcs8_note_key()
Dtpm_parser.c23 const void *value, size_t vlen) in tpm_note_key() argument
28 ctx->blob_len = vlen; in tpm_note_key()
Dx509_parser.h51 const unsigned char *value, size_t vlen);