Searched refs:datalen (Results 1 – 2 of 2) sorted by relevance
/lib/ |
D | asn1_decoder.c | 57 static int asn1_find_indefinite_length(const unsigned char *data, size_t datalen, in asn1_find_indefinite_length() argument 66 if (unlikely(datalen - dp < 2)) { in asn1_find_indefinite_length() 67 if (datalen == dp) in asn1_find_indefinite_length() 88 if (unlikely(datalen - dp < 2)) in asn1_find_indefinite_length() 110 if (unlikely(n > datalen - dp)) in asn1_find_indefinite_length() 118 if (len > datalen - dp) in asn1_find_indefinite_length() 170 size_t datalen) in asn1_ber_decoder() argument 197 if (datalen > 65535) in asn1_ber_decoder() 202 pc, machlen, dp, datalen, csp, jsp); in asn1_ber_decoder() 217 (op & ASN1_OP_MATCH__SKIP && dp == datalen)) { in asn1_ber_decoder() [all …]
|
D | digsig.c | 93 if (ukp->datalen < sizeof(*pkh)) in digsig_verify_rsa() 108 endp = ukp->data + ukp->datalen; in digsig_verify_rsa() 200 const char *data, int datalen) in digsig_verify() argument 242 crypto_shash_update(desc, data, datalen); in digsig_verify()
|