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

1 2

  /external/chromium_org/third_party/smhasher/src/
DifferentialTest.h 21 template < class keytype >
22 bool ProcessDifferentials ( std::vector<keytype> & diffs, int reps, bool dumpCollisions )
33 keytype kp = diffs[0];
103 template < typename keytype, typename hashtype >
104 void DiffTestRecurse ( pfHash hash, keytype & k1, keytype & k2, hashtype & h1, hashtype & h2, int start, int bitsleft, std::vector<keytype> & diffs )
106 const int bits = sizeof(keytype)*8;
132 template < typename keytype, typename hashtype >
135 const int keybits = sizeof(keytype) * 8
    [all...]
AvalancheTest.h 27 template < typename keytype, typename hashtype >
30 const int keybytes = sizeof(keytype);
36 keytype K;
68 template < typename keytype, typename hashtype >
73 const int keybytes = sizeof(keytype);
85 calcBias<keytype,hashtype>(hash,bins,reps,r);
110 template< typename keytype, typename hashtype >
115 const int keybytes = sizeof(keytype);
121 keytype key;
196 template< typename keytype, typename hashtype
    [all...]
Stats.h 68 template < class keytype, typename hashtype >
69 int PrintCollisions ( hashfunc<hashtype> hash, std::vector<keytype> & keys )
73 typedef std::map<hashtype,keytype> htab;
78 keytype & k1 = keys[i];
80 hashtype h = hash(&k1,sizeof(keytype),0);
86 keytype & k2 = (*it).second;
89 printbits(&k1,sizeof(keytype));
91 printbits(&k2,sizeof(keytype));
260 template < class keytype, typename hashtype >
261 bool TestKeyList ( hashfunc<hashtype> hash, std::vector<keytype> & keys, bool testColl, bool testDist, bool drawDiagram
    [all...]
KeysetTest.h 135 template < typename keytype, typename hashtype >
136 void SparseKeygenRecurse ( pfHash hash, int start, int bitsleft, bool inclusive, keytype & k, std::vector<hashtype> & hashes )
138 const int nbytes = sizeof(keytype);
149 hash(&k,sizeof(keytype),0,&h);
169 typedef Blob<keybits> keytype; typedef
173 keytype k;
180 hash(&k,sizeof(keytype),0,&h);
202 template < typename keytype, typename hashtype >
205 const int keybits = sizeof(keytype) * 8;
221 keytype key
    [all...]
Types.h 47 template< typename hashtype, typename keytype >
48 struct CollisionMap : public std::map< hashtype, std::vector<keytype> >
  /external/dropbear/
dropbearkey.c 61 static void printpubkey(sign_key * key, int keytype);
97 int keytype = -1; local
168 keytype = DROPBEAR_SIGNKEY_RSA;
174 keytype = DROPBEAR_SIGNKEY_DSS;
179 if (keytype == -1) {
199 if (keytype == DROPBEAR_SIGNKEY_DSS) {
201 } else if (keytype == DROPBEAR_SIGNKEY_RSA) {
219 switch(keytype) {
237 buf_put_priv_key(buf, key, keytype);
244 printpubkey(key, keytype);
256 int keytype; local
    [all...]
dropbearconvert.c 114 char * keytype = NULL; local
126 keytype = "RSA";
131 keytype = "DSS";
135 fprintf(stderr, "Key is a %s key\n", keytype);
signkey.c 94 int keytype; local
100 keytype = signkey_type_from_name(ident, len);
103 if (*type != DROPBEAR_SIGNKEY_ANY && *type != keytype) {
107 *type = keytype;
113 if (keytype == DROPBEAR_SIGNKEY_DSS) {
123 if (keytype == DROPBEAR_SIGNKEY_RSA) {
146 int keytype; local
152 keytype = signkey_type_from_name(ident, len);
155 if (*type != DROPBEAR_SIGNKEY_ANY && *type != keytype) {
156 TRACE(("wrong key type: %d %d", *type, keytype))
    [all...]
cli-authpubkey.c 67 int keytype; local
73 keytype = signkey_type_from_name(algotype, algolen);
74 TRACE(("recv_msg_userauth_pk_ok: type %d", keytype))
85 if (keyitem->type != keytype) {
93 buf_put_pub_key(keybuf, keyitem->key, keytype);
121 send_msg_userauth_pubkey(keyitem->key, keytype, 1);
cli-runopts.c 299 int keytype; local
302 keytype = DROPBEAR_SIGNKEY_ANY;
303 if ( readhostkey(filename, key, &keytype) != DROPBEAR_SUCCESS ) {
313 nextkey->type = keytype;
keyimport.c 143 int keytype = -1; local
151 keytype = DROPBEAR_SIGNKEY_RSA;
156 keytype = DROPBEAR_SIGNKEY_DSS;
161 buf_put_priv_key(buf, key, keytype);
707 int keytype = -1; local
713 keytype = DROPBEAR_SIGNKEY_RSA;
718 keytype = DROPBEAR_SIGNKEY_DSS;
722 dropbear_assert(keytype != -1);
728 buf_put_priv_key(keyblob, key, keytype);
741 if (keytype == DROPBEAR_SIGNKEY_RSA)
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/asn1/
d2i_pr.c 135 int keytype; local
146 keytype = EVP_PKEY_DSA;
148 keytype = EVP_PKEY_EC;
167 else keytype = EVP_PKEY_RSA;
169 return d2i_PrivateKey(keytype, a, pp, length);
  /external/openssl/crypto/asn1/
d2i_pr.c 135 int keytype; local
146 keytype = EVP_PKEY_DSA;
148 keytype = EVP_PKEY_EC;
167 else keytype = EVP_PKEY_RSA;
169 return d2i_PrivateKey(keytype, a, pp, length);
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLKeygenElement.idl 36 [Reflect] attribute DOMString keytype;
  /external/chromium_org/third_party/sqlite/src/ext/fts1/
ft_hash.h 83 void HashInit(Hash*, int keytype, int copyKey);
fts1_hash.h 76 void sqlite3Fts1HashInit(fts1Hash*, int keytype, int copyKey);
  /external/chromium_org/third_party/sqlite/src/ext/fts2/
fts2_hash.h 74 void sqlite3Fts2HashInit(fts2Hash*, int keytype, int copyKey);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/
test_associate.py 123 keytype = '' variable in class:AssociateTestCase
142 if type(self.keytype) == type(''):
247 if type(self.keytype) == type(''):
316 keytype = 0 variable in class:AssociateRecnoTestCase
371 if type(self.keytype) == type(''):
395 keytype = 0 variable in class:ShelveAssociateRecnoTestCase
417 if type(self.keytype) == type(''):
436 keytype = 0 variable in class:ThreadedAssociateRecnoTestCase
test_join.py 33 keytype = '' variable in class:JoinTestCase
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/
test_associate.py 123 keytype = '' variable in class:AssociateTestCase
142 if type(self.keytype) == type(''):
247 if type(self.keytype) == type(''):
316 keytype = 0 variable in class:AssociateRecnoTestCase
371 if type(self.keytype) == type(''):
395 keytype = 0 variable in class:ShelveAssociateRecnoTestCase
417 if type(self.keytype) == type(''):
436 keytype = 0 variable in class:ThreadedAssociateRecnoTestCase
test_join.py 33 keytype = '' variable in class:JoinTestCase
  /external/openssh/
hostfile.c 364 * If looking for a keytype (key == NULL) and one is found then return
378 Key *k, int keytype, const struct hostkey_entry **found)
384 int proto = (k ? k->type : keytype) == KEY_RSA1 ? 1 : 2;
397 if (hostkeys->entries[i].key->type != keytype)
445 lookup_key_in_hostkeys_by_type(struct hostkeys *hostkeys, int keytype,
448 return (check_hostkeys_by_key_or_type(hostkeys, NULL, keytype,
  /hardware/samsung_slsi/exynos5/libkeymaster/
tlTeeKeymaster_Api.h 186 uint32_t keytype; /**< RSA key pair type. RSA or RSA CRT */ member in struct:__anon34109
tlcTeeKeymaster_if.h 122 uint32_t keytype; /**< Key type, e.g. RSA */ member in struct:__anon34123
139 * @param keyType [in] Key pair type. RSA or RSACRT
147 teeRsaKeyPairType_t keyType,
  /external/chromium_org/third_party/openssl/openssl/crypto/pkcs12/
p12_crt.c 81 int keytype)
138 bag = PKCS12_add_key(&bags, pkey, keytype, iter, nid_key, pass);

Completed in 498 milliseconds

1 2