Home
last modified time | relevance | path

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

/freebsd/contrib/bearssl/src/x509/
H A Dencode_rsa_pk8der.c72 size_t len_raw, len_seq; in br_encode_rsa_pkcs8_der() local
75 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()
H A Dencode_ec_pk8der.c64 size_t len_privateKey, len_seq; in br_encode_ec_pkcs8_der() local
76 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()
H A Dencode_ec_rawder.c82 size_t len_publicKey_bits, len_seq; in br_encode_ec_raw_der_inner() local
108 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()