Home
last modified time | relevance | path

Searched refs:oct (Results 1 – 25 of 61) sorted by relevance

123

/external/openssl/crypto/asn1/
Dasn_pack.c109 void *ASN1_unpack_string(ASN1_STRING *oct, d2i_of_void *d2i) in ASN1_unpack_string() argument
114 p = oct->data; in ASN1_unpack_string()
115 if(!(ret = d2i(NULL, &p, oct->length))) in ASN1_unpack_string()
122 ASN1_STRING *ASN1_pack_string(void *obj, i2d_of_void *i2d, ASN1_STRING **oct) in ASN1_pack_string() argument
127 if (!oct || !*oct) { in ASN1_pack_string()
132 if (oct) *oct = octmp; in ASN1_pack_string()
133 } else octmp = *oct; in ASN1_pack_string()
152 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack() argument
156 if (!oct || !*oct) { in ASN1_item_pack()
161 if (oct) *oct = octmp; in ASN1_item_pack()
[all …]
Dp8_pkey.c101 ASN1_OCTET_STRING *oct; variable
102 oct = ASN1_OCTET_STRING_new();
103 if (!oct)
105 oct->data = penc;
106 ppenc = &oct->data;
107 oct->length = penclen;
112 ASN1_TYPE_set(priv->pkey, pmtype, oct);
Dasn1.h1056 void *ASN1_unpack_string(ASN1_STRING *oct, d2i_of_void *d2i);
1057 void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it);
1059 ASN1_OCTET_STRING **oct);
1061 #define ASN1_pack_string_of(type,obj,i2d,oct) \ argument
1064 oct))
1066 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_OCTET_STRING **oct);
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/
Dasn_pack.c109 void *ASN1_unpack_string(ASN1_STRING *oct, d2i_of_void *d2i) in ASN1_unpack_string() argument
114 p = oct->data; in ASN1_unpack_string()
115 if(!(ret = d2i(NULL, &p, oct->length))) in ASN1_unpack_string()
122 ASN1_STRING *ASN1_pack_string(void *obj, i2d_of_void *i2d, ASN1_STRING **oct) in ASN1_pack_string() argument
127 if (!oct || !*oct) { in ASN1_pack_string()
132 if (oct) *oct = octmp; in ASN1_pack_string()
133 } else octmp = *oct; in ASN1_pack_string()
152 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct) in ASN1_item_pack() argument
156 if (!oct || !*oct) { in ASN1_item_pack()
161 if (oct) *oct = octmp; in ASN1_item_pack()
[all …]
Dp8_pkey.c101 ASN1_OCTET_STRING *oct; variable
102 oct = ASN1_OCTET_STRING_new();
103 if (!oct)
105 oct->data = penc;
106 ppenc = &oct->data;
107 oct->length = penclen;
112 ASN1_TYPE_set(priv->pkey, pmtype, oct);
Dasn1.h1056 void *ASN1_unpack_string(ASN1_STRING *oct, d2i_of_void *d2i);
1057 void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it);
1059 ASN1_OCTET_STRING **oct);
1061 #define ASN1_pack_string_of(type,obj,i2d,oct) \ argument
1064 oct))
1066 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_OCTET_STRING **oct);
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/
Dv3_skey.c74 ASN1_OCTET_STRING *oct) in i2s_ASN1_OCTET_STRING() argument
76 return hex_to_string(oct->data, oct->length); in i2s_ASN1_OCTET_STRING()
82 ASN1_OCTET_STRING *oct; in s2i_ASN1_OCTET_STRING() local
85 if(!(oct = M_ASN1_OCTET_STRING_new())) { in s2i_ASN1_OCTET_STRING()
90 if(!(oct->data = string_to_hex(str, &length))) { in s2i_ASN1_OCTET_STRING()
91 M_ASN1_OCTET_STRING_free(oct); in s2i_ASN1_OCTET_STRING()
95 oct->length = length; in s2i_ASN1_OCTET_STRING()
97 return oct; in s2i_ASN1_OCTET_STRING()
104 ASN1_OCTET_STRING *oct; in s2i_skey_id() local
111 if(!(oct = M_ASN1_OCTET_STRING_new())) { in s2i_skey_id()
[all …]
Dv3_sxnet.c226 ASN1_OCTET_STRING *oct; in SXNET_get_id_asc() local
231 oct = SXNET_get_id_INTEGER(sx, izone); in SXNET_get_id_asc()
233 return oct; in SXNET_get_id_asc()
239 ASN1_OCTET_STRING *oct; in SXNET_get_id_ulong() local
245 oct = SXNET_get_id_INTEGER(sx, izone); in SXNET_get_id_ulong()
247 return oct; in SXNET_get_id_ulong()
Dv3_conf.c267 ASN1_OCTET_STRING *oct=NULL; in v3_generic_extension() local
288 if (!(oct = M_ASN1_OCTET_STRING_new())) in v3_generic_extension()
294 oct->data = ext_der; in v3_generic_extension()
295 oct->length = ext_len; in v3_generic_extension()
298 extension = X509_EXTENSION_create_by_OBJ(NULL, obj, crit, oct); in v3_generic_extension()
302 M_ASN1_OCTET_STRING_free(oct); in v3_generic_extension()
/external/openssl/crypto/x509v3/
Dv3_skey.c74 ASN1_OCTET_STRING *oct) in i2s_ASN1_OCTET_STRING() argument
76 return hex_to_string(oct->data, oct->length); in i2s_ASN1_OCTET_STRING()
82 ASN1_OCTET_STRING *oct; in s2i_ASN1_OCTET_STRING() local
85 if(!(oct = M_ASN1_OCTET_STRING_new())) { in s2i_ASN1_OCTET_STRING()
90 if(!(oct->data = string_to_hex(str, &length))) { in s2i_ASN1_OCTET_STRING()
91 M_ASN1_OCTET_STRING_free(oct); in s2i_ASN1_OCTET_STRING()
95 oct->length = length; in s2i_ASN1_OCTET_STRING()
97 return oct; in s2i_ASN1_OCTET_STRING()
104 ASN1_OCTET_STRING *oct; in s2i_skey_id() local
111 if(!(oct = M_ASN1_OCTET_STRING_new())) { in s2i_skey_id()
[all …]
Dv3_sxnet.c226 ASN1_OCTET_STRING *oct; in SXNET_get_id_asc() local
231 oct = SXNET_get_id_INTEGER(sx, izone); in SXNET_get_id_asc()
233 return oct; in SXNET_get_id_asc()
239 ASN1_OCTET_STRING *oct; in SXNET_get_id_ulong() local
245 oct = SXNET_get_id_INTEGER(sx, izone); in SXNET_get_id_ulong()
247 return oct; in SXNET_get_id_ulong()
Dv3_conf.c267 ASN1_OCTET_STRING *oct=NULL; in v3_generic_extension() local
288 if (!(oct = M_ASN1_OCTET_STRING_new())) in v3_generic_extension()
294 oct->data = ext_der; in v3_generic_extension()
295 oct->length = ext_len; in v3_generic_extension()
298 extension = X509_EXTENSION_create_by_OBJ(NULL, obj, crit, oct); in v3_generic_extension()
302 M_ASN1_OCTET_STRING_free(oct); in v3_generic_extension()
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs12/
Dp12_decr.c121 const char *pass, int passlen, ASN1_OCTET_STRING *oct, int zbuf) in PKCS12_item_decrypt_d2i() argument
128 if (!PKCS12_pbe_crypt(algor, pass, passlen, oct->data, oct->length, in PKCS12_item_decrypt_d2i()
161 ASN1_OCTET_STRING *oct; in PKCS12_item_i2d_encrypt() local
164 if (!(oct = M_ASN1_OCTET_STRING_new ())) { in PKCS12_item_i2d_encrypt()
173 if (!PKCS12_pbe_crypt(algor, pass, passlen, in, inlen, &oct->data, in PKCS12_item_i2d_encrypt()
174 &oct->length, 1)) { in PKCS12_item_i2d_encrypt()
181 return oct; in PKCS12_item_i2d_encrypt()
/external/openssl/crypto/pkcs12/
Dp12_decr.c121 const char *pass, int passlen, ASN1_OCTET_STRING *oct, int zbuf) in PKCS12_item_decrypt_d2i() argument
128 if (!PKCS12_pbe_crypt(algor, pass, passlen, oct->data, oct->length, in PKCS12_item_decrypt_d2i()
161 ASN1_OCTET_STRING *oct; in PKCS12_item_i2d_encrypt() local
164 if (!(oct = M_ASN1_OCTET_STRING_new ())) { in PKCS12_item_i2d_encrypt()
173 if (!PKCS12_pbe_crypt(algor, pass, passlen, in, inlen, &oct->data, in PKCS12_item_i2d_encrypt()
174 &oct->length, 1)) { in PKCS12_item_i2d_encrypt()
181 return oct; in PKCS12_item_i2d_encrypt()
/external/stlport/test/unit/
Dnum_put_get_test.cpp629 CHECK(short, 0, oct, "0") in num_put_integer()
630 CHECK(short, 1, oct, "1") in num_put_integer()
631 CHECK(short, 12345, oct, "30071") in num_put_integer()
633 CHECK(short, -1, oct, "177777") in num_put_integer()
634 CHECK(short, -12345, oct, "147707") in num_put_integer()
637 CHECK(unsigned short, 0, oct, "0") in num_put_integer()
638 CHECK(unsigned short, 12345, oct, "30071") in num_put_integer()
640 CHECK(int, 0, oct, "0") in num_put_integer()
641 CHECK(int, 12345678, oct, "57060516") in num_put_integer()
643 CHECK(int, -1, oct, "37777777777") in num_put_integer()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DIvAlgorithmParameters.java76 ASN1OctetString oct = (ASN1OctetString)ASN1Primitive.fromByteArray(params); in engineInit() local
78 params = oct.getOctets(); in engineInit()
93 ASN1OctetString oct = (ASN1OctetString)ASN1Primitive.fromByteArray(params); in engineInit() local
95 engineInit(oct.getOctets()); in engineInit()
/external/stlport/stlport/stl/
D_ios_base.h72 _STLP_STATIC_CONSTANT(int, oct = 0x0020);
83 _STLP_STATIC_CONSTANT(int, basefield = dec | hex | oct);
327 inline ios_base& _STLP_CALL oct(ios_base& __s) in oct() function
328 { __s.setf(ios_base::oct, ios_base::basefield); return __s; } in oct()
D_num_put.c214 case ios_base::oct: __basechars = 1; break; in __put_integer()
245 case ios_base::oct: __basechars = 1; break; in __put_integer()
309 if ((__flags & ios_base::showpos) && ((__flags & (ios_base::oct | ios_base::hex)) == 0)) in __write_integer_backward()
315 case ios_base::oct: in __write_integer_backward()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/util/
DASN1Dump.java173 ASN1OctetString oct = (ASN1OctetString)obj; in _dumpAsString() local
177 … buf.append(indent + "BER Constructed Octet String" + "[" + oct.getOctets().length + "] "); in _dumpAsString()
181 buf.append(indent + "DER Octet String" + "[" + oct.getOctets().length + "] "); in _dumpAsString()
185 buf.append(dumpBinaryDataAsString(indent, oct.getOctets())); in _dumpAsString()
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
Dnumeric_lex.h26 return std::ios::oct; in numeric_base_int()
/external/clang/test/SemaObjCXX/
Dcstyle-cast.mm10 id oct = (id)cft;
/external/stlport/stlport/using/
Dios34 using _STLP_NEW_IO_NAMESPACE::oct;
/external/chromium_org/tools/grit/grit/format/
Dc_format.py57 result += "\\" + '%03d' % int(oct(next_num), 10)
/external/chromium_org/third_party/openssl/openssl/include/openssl/
Dasn1.h1056 void *ASN1_unpack_string(ASN1_STRING *oct, d2i_of_void *d2i);
1057 void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it);
1059 ASN1_OCTET_STRING **oct);
1061 #define ASN1_pack_string_of(type,obj,i2d,oct) \ argument
1064 oct))
1066 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_OCTET_STRING **oct);
/external/openssl/include/openssl/
Dasn1.h1056 void *ASN1_unpack_string(ASN1_STRING *oct, d2i_of_void *d2i);
1057 void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it);
1059 ASN1_OCTET_STRING **oct);
1061 #define ASN1_pack_string_of(type,obj,i2d,oct) \ argument
1064 oct))
1066 ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_OCTET_STRING **oct);

123