HomeSort by relevance Sort by last modified time
    Searched refs:bag (Results 1 - 25 of 67) sorted by null

1 2 3

  /external/openssl/crypto/pkcs12/
p12_attr.c 65 int PKCS12_add_localkeyid(PKCS12_SAFEBAG *bag, unsigned char *name,
68 if (X509at_add1_attr_by_NID(&bag->attrib, NID_localKeyID,
90 int PKCS12_add_friendlyname_asc(PKCS12_SAFEBAG *bag, const char *name,
93 if (X509at_add1_attr_by_NID(&bag->attrib, NID_friendlyName,
101 int PKCS12_add_friendlyname_uni(PKCS12_SAFEBAG *bag,
104 if (X509at_add1_attr_by_NID(&bag->attrib, NID_friendlyName,
111 int PKCS12_add_CSPName_asc(PKCS12_SAFEBAG *bag, const char *name,
114 if (X509at_add1_attr_by_NID(&bag->attrib, NID_ms_csp_name,
137 char *PKCS12_get_friendlyname(PKCS12_SAFEBAG *bag)
140 if (!(atype = PKCS12_get_attr(bag, NID_friendlyName))) return NULL
    [all...]
p12_crt.c 64 static int pkcs12_add_bag(STACK_OF(PKCS12_SAFEBAG) **pbags, PKCS12_SAFEBAG *bag);
66 static int copy_bag_attr(PKCS12_SAFEBAG *bag, EVP_PKEY *pkey, int nid)
74 if (!X509at_add1_attr(&bag->attrib, attr))
86 PKCS12_SAFEBAG *bag = NULL; local
127 bag = PKCS12_add_cert(&bags, cert);
128 if(name && !PKCS12_add_friendlyname(bag, name, -1))
130 if(keyidlen && !PKCS12_add_localkeyid(bag, keyid, keyidlen))
149 bag = PKCS12_add_key(&bags, pkey, keytype, iter, nid_key, pass);
151 if (!bag)
154 if (!copy_bag_attr(bag, pkey, NID_ms_csp_name)
200 PKCS12_SAFEBAG *bag = NULL; local
243 PKCS12_SAFEBAG *bag = NULL; local
    [all...]
p12_utl.c 133 X509 *PKCS12_certbag2x509(PKCS12_SAFEBAG *bag)
135 if(M_PKCS12_bag_type(bag) != NID_certBag) return NULL;
136 if(M_PKCS12_cert_bag_type(bag) != NID_x509Certificate) return NULL;
137 return ASN1_item_unpack(bag->value.bag->value.octet, ASN1_ITEM_rptr(X509));
140 X509_CRL *PKCS12_certbag2x509crl(PKCS12_SAFEBAG *bag)
142 if(M_PKCS12_bag_type(bag) != NID_crlBag) return NULL;
143 if(M_PKCS12_cert_bag_type(bag) != NID_x509Crl) return NULL;
144 return ASN1_item_unpack(bag->value.bag->value.octet
    [all...]
p12_add.c 68 PKCS12_BAGS *bag; local
70 if (!(bag = PKCS12_BAGS_new())) {
74 bag->type = OBJ_nid2obj(nid1);
75 if (!ASN1_item_pack(obj, it, &bag->value.octet)) {
83 safebag->value.bag = bag;
92 PKCS12_SAFEBAG *bag; local
93 if (!(bag = PKCS12_SAFEBAG_new())) {
97 bag->type = OBJ_nid2obj(NID_keyBag);
98 bag->value.keybag = p8
108 PKCS12_SAFEBAG *bag; local
    [all...]
p12_npas.c 71 static int newpass_bag(PKCS12_SAFEBAG *bag, char *oldpass, char *newpass);
140 /* Repack bag in same form with new password */
192 static int newpass_bag(PKCS12_SAFEBAG *bag, char *oldpass, char *newpass)
198 if(M_PKCS12_bag_type(bag) != NID_pkcs8ShroudedKeyBag) return 1;
200 if (!(p8 = PKCS8_decrypt(bag->value.shkeybag, oldpass, -1))) return 0;
201 if (!alg_get(bag->value.shkeybag->algor, &p8_nid, &p8_iter,
206 X509_SIG_free(bag->value.shkeybag);
207 bag->value.shkeybag = p8new;
p12_kiss.c 71 static int parse_bag( PKCS12_SAFEBAG *bag, const char *pass, int passlen,
224 static int parse_bag(PKCS12_SAFEBAG *bag, const char *pass, int passlen,
233 if ((attrib = PKCS12_get_attr (bag, NID_friendlyName)))
236 if ((attrib = PKCS12_get_attr (bag, NID_localKeyID)))
239 switch (M_PKCS12_bag_type(bag))
244 if (!(*pkey = EVP_PKCS82PKEY(bag->value.keybag)))
251 if (!(p8 = PKCS12_decrypt_skey(bag, pass, passlen)))
259 if (M_PKCS12_cert_bag_type(bag) != NID_x509Certificate )
261 if (!(x509 = PKCS12_certbag2x509(bag)))
292 return parse_bags(bag->value.safes, pass, passlen
    [all...]
pkcs12.h 114 struct pkcs12_bag_st *bag; /* secret, crl and certbag */ member in union:__anon32954::__anon32955
116 X509_SIG *shkeybag; /* shrouded key bag */
134 ASN1_TYPE *other; /* Secret or other bag */
158 #define M_PKCS12_cert_bag_type(bg) OBJ_obj2nid((bg)->value.bag->type)
161 #define PKCS12_get_attr(bag, attr_nid) \
162 PKCS12_get_attr_gen(bag->attrib, attr_nid)
172 X509 *PKCS12_certbag2x509(PKCS12_SAFEBAG *bag);
173 X509_CRL *PKCS12_certbag2x509crl(PKCS12_SAFEBAG *bag);
179 PKCS8_PRIV_KEY_INFO *PKCS12_decrypt_skey(PKCS12_SAFEBAG *bag, const char *pass,
199 int PKCS12_add_localkeyid(PKCS12_SAFEBAG *bag, unsigned char *name, int namelen)
    [all...]
p12_asn.c 103 ADB_ENTRY(NID_certBag, ASN1_EXP(PKCS12_SAFEBAG, value.bag, PKCS12_BAGS, 0)),
104 ADB_ENTRY(NID_crlBag, ASN1_EXP(PKCS12_SAFEBAG, value.bag, PKCS12_BAGS, 0)),
105 ADB_ENTRY(NID_secretBag, ASN1_EXP(PKCS12_SAFEBAG, value.bag, PKCS12_BAGS, 0))
  /external/valgrind/main/helgrind/
hg_lock_n_thread.c 52 static Bool is_sane_Bag_of_Threads ( WordBag* bag )
56 VG_(initIterBag)( bag );
57 while (VG_(nextIterBag)( bag, (UWord*)&thr, &count )) {
61 VG_(doneIterBag)( bag );
  /external/chromium_org/sync/util/
cryptographer.cc 146 // Create a bag of all the Nigori parameters we know about.
147 sync_pb::NigoriKeyBag bag; local
151 sync_pb::NigoriKey* key = bag.add_key();
158 // Encrypt the bag with the default Nigori.
159 return Encrypt(bag, encrypted);
223 sync_pb::NigoriKeyBag bag; local
224 if (!Decrypt(encrypted, &bag))
226 InstallKeyBag(bag);
258 sync_pb::NigoriKeyBag bag;
259 if (!bag.ParseFromString(plaintext))
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
ConfigTest.java 242 checkValue(res, R.configVarying.bag,
243 R.styleable.TestConfig, new String[]{"bag default"});
249 checkValue(res, R.configVarying.bag,
250 R.styleable.TestConfig, new String[]{"bag xx"});
257 checkValue(res, R.configVarying.bag,
258 R.styleable.TestConfig, new String[]{"bag xx-rYY"});
264 checkValue(res, R.configVarying.bag,
265 R.styleable.TestConfig, new String[]{"bag mcc111"});
271 checkValue(res, R.configVarying.bag,
272 R.styleable.TestConfig, new String[]{"bag mnc222"})
    [all...]
  /external/openssl/include/openssl/
pkcs12.h 114 struct pkcs12_bag_st *bag; /* secret, crl and certbag */ member in union:__anon32997::__anon32998
116 X509_SIG *shkeybag; /* shrouded key bag */
134 ASN1_TYPE *other; /* Secret or other bag */
158 #define M_PKCS12_cert_bag_type(bg) OBJ_obj2nid((bg)->value.bag->type)
161 #define PKCS12_get_attr(bag, attr_nid) \
162 PKCS12_get_attr_gen(bag->attrib, attr_nid)
172 X509 *PKCS12_certbag2x509(PKCS12_SAFEBAG *bag);
173 X509_CRL *PKCS12_certbag2x509crl(PKCS12_SAFEBAG *bag);
179 PKCS8_PRIV_KEY_INFO *PKCS12_decrypt_skey(PKCS12_SAFEBAG *bag, const char *pass,
199 int PKCS12_add_localkeyid(PKCS12_SAFEBAG *bag, unsigned char *name, int namelen)
    [all...]
  /external/valgrind/main/coregrind/
m_wordfm.c 856 WordBag* bag = alloc_nofail(cc, sizeof(WordBag)); local
857 bag->fm = VG_(newFM)( alloc_nofail, cc, dealloc, NULL );
858 return bag;
861 void VG_(deleteBag) ( WordBag* bag )
863 void (*dealloc)(void*) = bag->fm->dealloc;
864 VG_(deleteFM)( bag->fm, NULL, NULL );
865 VG_(memset)(bag, 0, sizeof(WordBag));
866 dealloc(bag);
869 void VG_(addToBag)( WordBag* bag, UWord w )
872 if (VG_(lookupFM)(bag->fm, &key, &count, w))
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_pep292.py 9 class Bag:
25 s = Template('$who likes to eat a bag of $what worth $$100')
27 'tim likes to eat a bag of ham worth $100')
39 s = Template('$who likes to eat a bag of $$what worth $$100')
41 'tim likes to eat a bag of $what worth $100')
93 m.bag = Bag()
94 m.bag.foo = Bag()
95 m.bag.foo.who = 'tim
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_pep292.py 9 class Bag:
25 s = Template('$who likes to eat a bag of $what worth $$100')
27 'tim likes to eat a bag of ham worth $100')
39 s = Template('$who likes to eat a bag of $$what worth $$100')
41 'tim likes to eat a bag of $what worth $100')
93 m.bag = Bag()
94 m.bag.foo = Bag()
95 m.bag.foo.who = 'tim
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/devices/
win32devicemanager.cc 195 CComPtr<IPropertyBag> bag; local
197 __uuidof(bag), reinterpret_cast<void**>(&bag)))) {
200 if (SUCCEEDED(bag->Read(kFriendlyName, &name, 0)) &&
204 if (SUCCEEDED(bag->Read(kDevicePath, &path, 0)) &&
219 HRESULT GetStringProp(IPropertyStore* bag, PROPERTYKEY key, std::string* out) {
224 HRESULT hr = bag->GetValue(key, &var);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/include/c++/4.6/ext/pb_ds/detail/pat_trie_/
split_fn_imps.hpp 48 split_join_branch_bag bag; local
49 leaf_pointer p_split_lf = split_prep(r_key, other, bag);
52 _GLIBCXX_DEBUG_ASSERT(bag.empty());
58 _GLIBCXX_DEBUG_ASSERT(!bag.empty());
64 bag);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/pat_trie_/
split_fn_imps.hpp 48 branch_bag bag; local
49 leaf_pointer p_split_lf = split_prep(r_key, other, bag);
52 _GLIBCXX_DEBUG_ASSERT(bag.empty());
58 _GLIBCXX_DEBUG_ASSERT(!bag.empty());
62 pref_end(p_split_lf), other, bag);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/pat_trie_/
split_fn_imps.hpp 48 branch_bag bag; local
49 leaf_pointer p_split_lf = split_prep(r_key, other, bag);
52 _GLIBCXX_DEBUG_ASSERT(bag.empty());
58 _GLIBCXX_DEBUG_ASSERT(!bag.empty());
62 pref_end(p_split_lf), other, bag);
  /prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/pat_trie_/
split_fn_imps.hpp 48 split_join_branch_bag bag; local
49 leaf_pointer p_split_lf = split_prep(r_key, other, bag);
52 _GLIBCXX_DEBUG_ASSERT(bag.empty());
58 _GLIBCXX_DEBUG_ASSERT(!bag.empty());
64 bag);
  /prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/pat_trie_/
split_fn_imps.hpp 48 split_join_branch_bag bag; local
49 leaf_pointer p_split_lf = split_prep(r_key, other, bag);
52 _GLIBCXX_DEBUG_ASSERT(bag.empty());
58 _GLIBCXX_DEBUG_ASSERT(!bag.empty());
64 bag);
  /prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/pat_trie_/
split_fn_imps.hpp 48 split_join_branch_bag bag; local
49 leaf_pointer p_split_lf = split_prep(r_key, other, bag);
52 _GLIBCXX_DEBUG_ASSERT(bag.empty());
58 _GLIBCXX_DEBUG_ASSERT(!bag.empty());
64 bag);
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/pb_ds/detail/pat_trie_/
split_fn_imps.hpp 48 split_join_branch_bag bag; local
49 leaf_pointer p_split_lf = split_prep(r_key, other, bag);
52 _GLIBCXX_DEBUG_ASSERT(bag.empty());
58 _GLIBCXX_DEBUG_ASSERT(!bag.empty());
64 bag);
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/pb_ds/detail/pat_trie_/
split_fn_imps.hpp 48 split_join_branch_bag bag; local
49 leaf_pointer p_split_lf = split_prep(r_key, other, bag);
52 _GLIBCXX_DEBUG_ASSERT(bag.empty());
58 _GLIBCXX_DEBUG_ASSERT(!bag.empty());
64 bag);
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/pb_ds/detail/pat_trie_/
split_fn_imps.hpp 48 branch_bag bag; local
49 leaf_pointer p_split_lf = split_prep(r_key, other, bag);
52 _GLIBCXX_DEBUG_ASSERT(bag.empty());
58 _GLIBCXX_DEBUG_ASSERT(!bag.empty());
62 pref_end(p_split_lf), other, bag);

Completed in 809 milliseconds

1 2 3