Searched refs:datalen (Results 1 – 12 of 12) sorted by relevance
/crypto/asymmetric_keys/ |
D | pkcs7_key_type.c | 37 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()
|
D | tpm_parser.c | 36 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()
|
D | asym_tpm.c | 119 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 …]
|
D | pkcs8_parser.c | 97 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()
|
D | verify_pefile.c | 32 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()
|
D | x509_parser.h | 48 extern struct x509_certificate *x509_cert_parse(const void *data, size_t datalen);
|
D | pkcs7_verify.c | 488 const void *data, size_t datalen) in pkcs7_supply_detached_data() argument 495 pkcs7->data_len = datalen; in pkcs7_supply_detached_data()
|
D | pkcs7_parser.c | 115 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()
|
D | x509_public_key.c | 173 cert = x509_cert_parse(prep->data, prep->datalen); in x509_key_preparse()
|
D | x509_cert_parser.c | 63 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()
|
D | asymmetric_type.c | 376 if (prep->datalen == 0) in asymmetric_key_preparse()
|
/crypto/ |
D | poly1305_generic.c | 60 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()
|