Home
last modified time | relevance | path

Searched refs:datalen (Results 1 – 11 of 11) 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()
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.h47 extern struct x509_certificate *x509_cert_parse(const void *data, size_t datalen);
Dpkcs7_verify.c478 const void *data, size_t datalen) in pkcs7_supply_detached_data() argument
485 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.c171 cert = x509_cert_parse(prep->data, prep->datalen); in x509_key_preparse()
Dx509_cert_parser.c61 struct x509_certificate *x509_cert_parse(const void *data, size_t datalen) in x509_cert_parse() argument
86 ret = asn1_ber_decoder(&x509_decoder, ctx, data, datalen); in x509_cert_parse()
Dasymmetric_type.c408 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()
Daf_alg.c234 unsigned int *datalen) in key_data_ptr_user() argument
242 *datalen = key->datalen; in key_data_ptr_user()
248 unsigned int *datalen) in key_data_ptr_encrypted() argument
256 *datalen = ekp->decrypted_datalen; in key_data_ptr_encrypted()
262 unsigned int *datalen) in key_data_ptr_trusted() argument
270 *datalen = tkp->key_len; in key_data_ptr_trusted()