Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/general/
A Dder_decode_asn1_length.c27 unsigned long real_len, decoded_len, offset, i; in der_decode_asn1_length() local
39 decoded_len = real_len; in der_decode_asn1_length()
46 if (real_len > sizeof(decoded_len)) { in der_decode_asn1_length()
52 decoded_len = 0; in der_decode_asn1_length()
55 decoded_len = (decoded_len << 8) | in[1 + i]; in der_decode_asn1_length()
59 if (outlen != NULL) *outlen = decoded_len; in der_decode_asn1_length()
60 if (decoded_len > (*inlen - offset)) return CRYPT_OVERFLOW; in der_decode_asn1_length()

Completed in 2 milliseconds