Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/
H A Dasn1_dsa.c39 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()
[all …]
/freebsd/crypto/openssl/include/crypto/
H A Dasn1_dsa.h16 int ossl_encode_der_length(WPACKET *pkt, size_t cont_len);