Searched refs:len_seq (Results 1 – 3 of 3) sorted by relevance
72 size_t len_raw, len_seq; in br_encode_rsa_pkcs8_der() local75 len_seq = (sizeof PK8_HEAD) + len_of_len(len_raw) + len_raw; in br_encode_rsa_pkcs8_der()77 return 1 + len_of_len(len_seq) + len_seq; in br_encode_rsa_pkcs8_der()84 lenlen = br_asn1_encode_length(buf, len_seq); in br_encode_rsa_pkcs8_der()95 return 1 + lenlen + len_seq; in br_encode_rsa_pkcs8_der()
64 size_t len_privateKey, len_seq; in br_encode_ec_pkcs8_der() local76 len_seq = len_version + len_privateKeyAlgorithm + len_privateKey; in br_encode_ec_pkcs8_der()79 return 1 + len_of_len(len_seq) + len_seq; in br_encode_ec_pkcs8_der()86 lenlen = br_asn1_encode_length(buf, len_seq); in br_encode_ec_pkcs8_der()108 return 1 + lenlen + len_seq; in br_encode_ec_pkcs8_der()
82 size_t len_publicKey_bits, len_seq; in br_encode_ec_raw_der_inner() local108 len_seq = len_version + len_privateKey + len_parameters + len_publicKey; in br_encode_ec_raw_der_inner()110 return 1 + len_of_len(len_seq) + len_seq; in br_encode_ec_raw_der_inner()117 lenlen = br_asn1_encode_length(buf, len_seq); in br_encode_ec_raw_der_inner()151 return 1 + lenlen + len_seq; in br_encode_ec_raw_der_inner()