Searched refs:cont_len (Results 1 – 2 of 2) sorted by relevance
39 int ossl_encode_der_length(WPACKET *pkt, size_t cont_len) in ossl_encode_der_length() argument41 if (cont_len > 0xffff) in ossl_encode_der_length()44 if (cont_len > 0xff) { in ossl_encode_der_length()46 || !WPACKET_put_bytes_u16(pkt, cont_len)) in ossl_encode_der_length()49 if (cont_len > 0x7f in ossl_encode_der_length()52 if (!WPACKET_put_bytes_u8(pkt, cont_len)) in ossl_encode_der_length()69 size_t cont_len; in ossl_encode_der_integer() local83 cont_len = BN_num_bits(n) / 8 + 1; in ossl_encode_der_integer()87 || !ossl_encode_der_length(pkt, cont_len) in ossl_encode_der_integer()88 || !WPACKET_allocate_bytes(pkt, cont_len, &bnbytes) in ossl_encode_der_integer()[all …]
16 int ossl_encode_der_length(WPACKET *pkt, size_t cont_len);