Home
last modified time | relevance | path

Searched refs:keytype (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/third_party/smhasher/src/
DDifferentialTest.h21 template < class keytype >
22 bool ProcessDifferentials ( std::vector<keytype> & diffs, int reps, bool dumpCollisions ) in ProcessDifferentials()
33 keytype kp = diffs[0]; in ProcessDifferentials()
103 template < typename keytype, typename hashtype >
104 …stRecurse ( pfHash hash, keytype & k1, keytype & k2, hashtype & h1, hashtype & h2, int start, int … in DiffTestRecurse()
106 const int bits = sizeof(keytype)*8; in DiffTestRecurse()
132 template < typename keytype, typename hashtype >
135 const int keybits = sizeof(keytype) * 8; in DiffTest()
144 std::vector<keytype> diffs; in DiffTest()
146 keytype k1,k2; in DiffTest()
[all …]
DAvalancheTest.h27 template < typename keytype, typename hashtype >
30 const int keybytes = sizeof(keytype); in calcBias()
36 keytype K; in calcBias()
68 template < typename keytype, typename hashtype >
73 const int keybytes = sizeof(keytype); in AvalancheTest()
85 calcBias<keytype,hashtype>(hash,bins,reps,r); in AvalancheTest()
110 template< typename keytype, typename hashtype >
115 const int keybytes = sizeof(keytype); in BicTest()
121 keytype key; in BicTest()
196 template< typename keytype, typename hashtype >
[all …]
DStats.h68 template < class keytype, typename hashtype >
69 int PrintCollisions ( hashfunc<hashtype> hash, std::vector<keytype> & keys ) in PrintCollisions()
73 typedef std::map<hashtype,keytype> htab; in PrintCollisions()
78 keytype & k1 = keys[i]; in PrintCollisions()
80 hashtype h = hash(&k1,sizeof(keytype),0); in PrintCollisions()
86 keytype & k2 = (*it).second; in PrintCollisions()
89 printbits(&k1,sizeof(keytype)); in PrintCollisions()
91 printbits(&k2,sizeof(keytype)); in PrintCollisions()
260 template < class keytype, typename hashtype >
261 bool TestKeyList ( hashfunc<hashtype> hash, std::vector<keytype> & keys, bool testColl, bool testDi… in TestKeyList()
[all …]
DKeysetTest.h135 template < typename keytype, typename hashtype >
136 void SparseKeygenRecurse ( pfHash hash, int start, int bitsleft, bool inclusive, keytype & k, std::… in SparseKeygenRecurse()
138 const int nbytes = sizeof(keytype); in SparseKeygenRecurse()
149 hash(&k,sizeof(keytype),0,&h); in SparseKeygenRecurse()
169 typedef Blob<keybits> keytype; in SparseKeyTest() typedef
173 keytype k; in SparseKeyTest()
180 hash(&k,sizeof(keytype),0,&h); in SparseKeyTest()
202 template < typename keytype, typename hashtype >
205 const int keybits = sizeof(keytype) * 8; in WindowedKeyTest()
221 keytype key; in WindowedKeyTest()
[all …]
DTypes.h47 template< typename hashtype, typename keytype >
48 struct CollisionMap : public std::map< hashtype, std::vector<keytype> >
DBitvec.cpp673 struct keytype in test_window2() struct
685 keytype k; in test_window2()
/external/openssl/crypto/asn1/
Dd2i_pr.c135 int keytype; in d2i_AutoPrivateKey() local
146 keytype = EVP_PKEY_DSA; in d2i_AutoPrivateKey()
148 keytype = EVP_PKEY_EC; in d2i_AutoPrivateKey()
167 else keytype = EVP_PKEY_RSA; in d2i_AutoPrivateKey()
169 return d2i_PrivateKey(keytype, a, pp, length); in d2i_AutoPrivateKey()
/external/chromium_org/third_party/boringssl/src/crypto/evp/
Dasn1.c117 int keytype; in d2i_AutoPrivateKey() local
127 keytype = EVP_PKEY_DSA; in d2i_AutoPrivateKey()
129 keytype = EVP_PKEY_EC; in d2i_AutoPrivateKey()
151 keytype = EVP_PKEY_RSA; in d2i_AutoPrivateKey()
155 return d2i_PrivateKey(keytype, out, inp, len); in d2i_AutoPrivateKey()
Devp_ctx.c201 int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, int cmd, in EVP_PKEY_CTX_ctrl() argument
208 if (keytype != -1 && ctx->pmeth->pkey_id != keytype) { in EVP_PKEY_CTX_ctrl()
/external/chromium_org/third_party/sqlite/src/ext/fts1/
Dft_hash.h83 void HashInit(Hash*, int keytype, int copyKey);
Dfts1_hash.h76 void sqlite3Fts1HashInit(fts1Hash*, int keytype, int copyKey);
/external/chromium_org/third_party/sqlite/src/ext/fts2/
Dfts2_hash.h74 void sqlite3Fts2HashInit(fts2Hash*, int keytype, int copyKey);
/external/openssl/crypto/pkcs12/
Dp12_crt.c81 int keytype) in PKCS12_create() argument
149 bag = PKCS12_add_key(&bags, pkey, keytype, iter, nid_key, pass); in PKCS12_create()
Dpkcs12.h249 int mac_iter, int keytype);
/external/openssl/crypto/evp/
Dpmeth_lib.c384 int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, in EVP_PKEY_CTX_ctrl() argument
393 if ((keytype != -1) && (ctx->pmeth->pkey_id != keytype)) in EVP_PKEY_CTX_ctrl()
Devp.h1127 int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype,
/external/openssl/apps/
Dpkcs12.c114 int keytype = 0; in MAIN() local
152 else if (!strcmp (*args, "-keyex")) keytype = KEY_EX; in MAIN()
153 else if (!strcmp (*args, "-keysig")) keytype = KEY_SIG; in MAIN()
591 key_pbe, cert_pbe, iter, -1, keytype); in MAIN()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLKeygenElement.idl36 [Reflect, ReflectOnly="rsa", ReflectMissing="rsa"] attribute DOMString keytype;
DHTMLAttributeNames.in125 keytype
/external/openssl/include/openssl/
Dpkcs12.h249 int mac_iter, int keytype);
Devp.h1127 int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype,
/external/chromium_org/third_party/boringssl/src/include/openssl/
Devp.h429 OPENSSL_EXPORT int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype,
/external/openssl/ssl/
Dkssl.c1008 printf("%s\n\t[et%d:%d]: ", label, keyblk->keytype, in print_krb5_keyblock()
1136 kssl_ctx->enctype = krb5credsp->session.keytype; in kssl_cget_tkt()
1707 enctype = session->keytype; in kssl_ctx_setkey()
Ds3_clnt.c3065 int keytype; in ssl3_send_client_key_exchange() local
3071 peer_cert=s->session->sess_cert->peer_pkeys[(keytype=SSL_PKEY_GOST01)].x509; in ssl3_send_client_key_exchange()
3073 peer_cert=s->session->sess_cert->peer_pkeys[(keytype=SSL_PKEY_GOST94)].x509; in ssl3_send_client_key_exchange()