Home
last modified time | relevance | path

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

/crypto/asymmetric_keys/
Dpkcs7_key_type.c28 size_t datalen, saved_prep_datalen; in pkcs7_preparse() local
35 saved_prep_datalen = prep->datalen; in pkcs7_preparse()
52 ret = pkcs7_get_content_data(pkcs7, &data, &datalen, false); in pkcs7_preparse()
57 prep->datalen = datalen; in pkcs7_preparse()
60 prep->datalen = saved_prep_datalen; in pkcs7_preparse()
Dverify_pefile.c36 size_t cursor, datalen = pelen; in pefile_parse_binary() local
42 if ((x) < base || (s) >= datalen || (x) > datalen - (s)) \ in pefile_parse_binary()
88 if (cursor >= ctx->header_size || ctx->header_size >= datalen) in pefile_parse_binary()
425 size_t datalen; in verify_pefile_signature() local
444 ret = pkcs7_get_content_data(ctx.pkcs7, &data, &datalen, false); in verify_pefile_signature()
445 if (ret < 0 || datalen == 0) { in verify_pefile_signature()
Dx509_parser.h50 extern struct x509_certificate *x509_cert_parse(const void *data, size_t datalen);
Dpkcs7_parser.c86 struct pkcs7_message *pkcs7_parse_message(const void *data, size_t datalen) in pkcs7_parse_message() argument
107 ret = asn1_ber_decoder(&pkcs7_decoder, ctx, data, datalen); in pkcs7_parse_message()
Dx509_cert_parser.c62 struct x509_certificate *x509_cert_parse(const void *data, size_t datalen) in x509_cert_parse() argument
84 ret = asn1_ber_decoder(&x509_decoder, ctx, data, datalen); in x509_cert_parse()
Dasymmetric_type.c276 if (prep->datalen == 0) in asymmetric_key_preparse()
Dx509_public_key.c256 cert = x509_cert_parse(prep->data, prep->datalen); in x509_key_preparse()
/crypto/
Dccm.c170 int datalen, getlen; in compute_mac() local
172 datalen = n; in compute_mac()
176 if (datalen >= getlen) { in compute_mac()
180 datalen -= getlen; in compute_mac()
186 while (datalen >= bs) { in compute_mac()
190 datalen -= bs; in compute_mac()
197 if (datalen) { in compute_mac()
198 memcpy(idata + pctx->ilen, data, datalen); in compute_mac()
199 pctx->ilen += datalen; in compute_mac()