Home
last modified time | relevance | path

Searched refs:value (Results 1 – 9 of 9) sorted by relevance

/crypto/
Drsa_helper.c17 const void *value, size_t vlen) in rsa_get_n() argument
20 const u8 *ptr = value; in rsa_get_n()
24 if (!value || !vlen) in rsa_get_n()
40 key->n = value; 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()
55 key->e = value; 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()
70 key->d = value; 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
178 ctx->key = value; in ecrdsa_parse_pub_key()
Dwp512.c1018 u64 value = bits_len; in wp512_update() local
1019 for (i = 31, carry = 0; i >= 0 && (carry != 0 || value != 0ULL); i--) { in wp512_update()
1020 carry += bitLength[i] + ((u32)value & 0xff); in wp512_update()
1023 value >>= 8; in wp512_update()
/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()
166 (unsigned long)value - ctx->data, 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()
184 ctx->cert->tbs = value - 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
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()
215 (unsigned long)value - ctx->data, 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
309 ctx->msg->version = version = *(const u8 *)value; in pkcs7_note_signeddata_version()
335 const void *value, size_t vlen) in pkcs7_note_signerinfo_version() argument
[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()
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()
45 (unsigned long)value - ctx->data, 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
89 ctx->key = value; in pkcs8_note_key()
Dtpm_parser.c23 const void *value, size_t vlen) in tpm_note_key() argument
27 ctx->blob = value; in tpm_note_key()
Dx509_parser.h51 const unsigned char *value, size_t vlen);