Lines Matching refs:cont_len
39 int ossl_encode_der_length(WPACKET *pkt, size_t cont_len) in ossl_encode_der_length() argument
41 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() local
83 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()
93 && BN_bn2binpad(n, bnbytes, (int)cont_len) != (int)cont_len) in ossl_encode_der_integer()
109 size_t cont_len; in ossl_encode_der_dsa_sig() local
127 || !WPACKET_get_length(dummypkt, &cont_len) in ossl_encode_der_dsa_sig()
136 || !ossl_encode_der_length(pkt, cont_len) in ossl_encode_der_dsa_sig()