Lines Matching refs:oct
54 static ossl_inline void asn1_type_init_oct(ASN1_OCTET_STRING *oct, in asn1_type_init_oct() argument
57 oct->data = data; in asn1_type_init_oct()
58 oct->type = V_ASN1_OCTET_STRING; in asn1_type_init_oct()
59 oct->length = len; in asn1_type_init_oct()
60 oct->flags = 0; in asn1_type_init_oct()
63 static int asn1_type_get_int_oct(ASN1_OCTET_STRING *oct, int32_t anum, in asn1_type_get_int_oct() argument
66 int ret = ASN1_STRING_length(oct), n; in asn1_type_get_int_oct()
77 memcpy(data, ASN1_STRING_get0_data(oct), n); in asn1_type_get_int_oct()
84 ASN1_OCTET_STRING *oct; member
89 ASN1_SIMPLE(asn1_int_oct, oct, ASN1_OCTET_STRING)
98 ASN1_OCTET_STRING oct; variable
101 atmp.oct = &oct;
102 asn1_type_init_oct(&oct, data, len);
124 ret = asn1_type_get_int_oct(atmp->oct, atmp->num, num, data, max_len); in ASN1_TYPE_get_int_octetstring()
135 ASN1_OCTET_STRING *oct; member
144 ASN1_SIMPLE(asn1_oct_int, oct, ASN1_OCTET_STRING),
154 ASN1_OCTET_STRING oct; variable
157 atmp.oct = &oct;
158 asn1_type_init_oct(&oct, data, len);
179 ret = asn1_type_get_int_oct(atmp->oct, atmp->num, num, data, max_len); in ossl_asn1_type_get_octetstring_int()