Home
last modified time | relevance | path

Searched refs:datalen (Results 1 – 12 of 12) sorted by relevance

/crypto/asymmetric_keys/
Dpkcs7_key_type.c37 saved_prep_datalen = prep->datalen; in pkcs7_view_content()
39 prep->datalen = len; in pkcs7_view_content()
44 prep->datalen = saved_prep_datalen; in pkcs7_view_content()
61 prep->data, prep->datalen, in pkcs7_preparse()
Dtpm_parser.c36 static struct tpm_key *tpm_parse(const void *data, size_t datalen) in tpm_parse() argument
44 ret = asn1_ber_decoder(&tpm_decoder, &ctx, data, datalen); in tpm_parse()
64 if (prep->datalen > 256 * 4) in tpm_key_preparse()
67 tk = tpm_parse(prep->data, prep->datalen); in tpm_key_preparse()
Dasym_tpm.c119 uint32_t datalen; in tpm_unbind() local
123 datalen = htonl(bloblen); in tpm_unbind()
142 sizeof(uint32_t), &datalen, in tpm_unbind()
163 datalen = LOAD32(tb->data, TPM_DATA_OFFSET); in tpm_unbind()
168 datalen, TPM_DATA_OFFSET + sizeof(uint32_t), in tpm_unbind()
176 min(outlen, datalen)); in tpm_unbind()
178 return datalen; in tpm_unbind()
202 uint32_t datalen; in tpm_sign() local
206 datalen = htonl(bloblen); in tpm_sign()
225 sizeof(uint32_t), &datalen, in tpm_sign()
[all …]
Dpkcs8_parser.c97 static struct public_key *pkcs8_parse(const void *data, size_t datalen) in pkcs8_parse() argument
113 ret = asn1_ber_decoder(&pkcs8_decoder, &ctx, data, datalen); in pkcs8_parse()
140 pub = pkcs8_parse(prep->data, prep->datalen); in pkcs8_key_preparse()
Dverify_pefile.c32 size_t cursor, datalen = pelen; in pefile_parse_binary() local
38 if ((x) < base || (s) >= datalen || (x) > datalen - (s)) \ in pefile_parse_binary()
84 if (cursor >= ctx->header_size || ctx->header_size >= datalen) in pefile_parse_binary()
Dx509_parser.h48 extern struct x509_certificate *x509_cert_parse(const void *data, size_t datalen);
Dpkcs7_verify.c488 const void *data, size_t datalen) in pkcs7_supply_detached_data() argument
495 pkcs7->data_len = datalen; in pkcs7_supply_detached_data()
Dpkcs7_parser.c115 struct pkcs7_message *pkcs7_parse_message(const void *data, size_t datalen) in pkcs7_parse_message() argument
140 ret = asn1_ber_decoder(&pkcs7_decoder, ctx, data, datalen); in pkcs7_parse_message()
Dx509_public_key.c173 cert = x509_cert_parse(prep->data, prep->datalen); in x509_key_preparse()
Dx509_cert_parser.c63 struct x509_certificate *x509_cert_parse(const void *data, size_t datalen) in x509_cert_parse() argument
88 ret = asn1_ber_decoder(&x509_decoder, ctx, data, datalen); in x509_cert_parse()
Dasymmetric_type.c376 if (prep->datalen == 0) in asymmetric_key_preparse()
/crypto/
Dpoly1305_generic.c60 unsigned int datalen; in poly1305_blocks() local
63 datalen = crypto_poly1305_setdesckey(dctx, src, srclen); in poly1305_blocks()
64 src += srclen - datalen; in poly1305_blocks()
65 srclen = datalen; in poly1305_blocks()