HomeSort by relevance Sort by last modified time
    Searched refs:pkeys (Results 1 - 16 of 16) sorted by null

  /external/chromium_org/third_party/zlib/contrib/minizip/
crypt.h 35 static int decrypt_byte(unsigned long* pkeys, const unsigned long* pcrc_32_tab)
41 temp = ((unsigned)(*(pkeys+2)) & 0xffff) | 2;
48 static int update_keys(unsigned long* pkeys,const unsigned long* pcrc_32_tab,int c)
50 (*(pkeys+0)) = CRC32((*(pkeys+0)), c);
51 (*(pkeys+1)) += (*(pkeys+0)) & 0xff;
52 (*(pkeys+1)) = (*(pkeys+1)) * 134775813L + 1;
54 register int keyshift = (int)((*(pkeys+1)) >> 24)
    [all...]
  /external/openssl/ssl/
ssl_rsa.c 193 if (c->pkeys[i].x509 != NULL)
196 pktmp = X509_get_pubkey(c->pkeys[i].x509);
209 if (!X509_check_private_key(c->pkeys[i].x509,pkey))
211 X509_free(c->pkeys[i].x509);
212 c->pkeys[i].x509 = NULL;
217 if (c->pkeys[i].privatekey != NULL)
218 EVP_PKEY_free(c->pkeys[i].privatekey);
220 c->pkeys[i].privatekey=pkey;
221 c->key= &(c->pkeys[i]);
414 if (c->pkeys[i].privatekey != NULL
    [all...]
ssl_cert.c 175 ret->key= &(ret->pkeys[SSL_PKEY_RSA_ENC]);
194 ret->key = &ret->pkeys[cert->key - &cert->pkeys[0]];
195 /* or ret->key = ret->pkeys + (cert->key - cert->pkeys),
261 if (cert->pkeys[i].x509 != NULL)
263 ret->pkeys[i].x509 = cert->pkeys[i].x509;
264 CRYPTO_add(&ret->pkeys[i].x509->references, 1,
268 if (cert->pkeys[i].privatekey != NULL
    [all...]
s3_lib.c     [all...]
s2_srvr.c 443 if (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL)
774 n=i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,NULL);
776 i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,&d);
1069 i=i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,NULL);
1077 i=i2d_X509(s->cert->pkeys[SSL_PKEY_RSA_ENC].x509,&p2);
1124 if ((c == NULL) || (c->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL))
1129 if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey->type != EVP_PKEY_RSA)
1134 rsa=c->pkeys[SSL_PKEY_RSA_ENC].privatekey->pkey.rsa;
ssl_lib.c     [all...]
d1_srvr.c 479 && (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL
481 && EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey)*8 > SSL_C_EXPORT_PKEYLENGTH(s->s3->tmp.new_cipher)
    [all...]
s3_srvr.c 493 && (s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL
495 && EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey)*8 > SSL_C_EXPORT_PKEYLENGTH(s->s3->tmp.new_cipher)
    [all...]
ssl_locl.h 492 CERT_PKEY *key; /* ALWAYS points to an element of the pkeys array
517 CERT_PKEY pkeys[SSL_PKEY_NUM]; member in struct:cert_st
    [all...]
  /external/chromium_org/third_party/boringssl/src/ssl/
ssl_rsa.c 193 if (c->pkeys[i].x509 != NULL)
196 pktmp = X509_get_pubkey(c->pkeys[i].x509);
204 !X509_check_private_key(c->pkeys[i].x509,pkey))
206 X509_free(c->pkeys[i].x509);
207 c->pkeys[i].x509 = NULL;
212 if (c->pkeys[i].privatekey != NULL)
213 EVP_PKEY_free(c->pkeys[i].privatekey);
214 c->pkeys[i].privatekey = EVP_PKEY_dup(pkey);
215 c->key = &(c->pkeys[i]);
406 if (c->pkeys[i].privatekey != NULL
    [all...]
ssl_cert.c 162 cert->pkeys[SSL_PKEY_RSA_SIGN].digest = EVP_sha1();
163 cert->pkeys[SSL_PKEY_RSA_ENC].digest = EVP_sha1();
164 cert->pkeys[SSL_PKEY_ECC].digest = EVP_sha1();
179 ret->key= &(ret->pkeys[SSL_PKEY_RSA_ENC]);
198 ret->key = &ret->pkeys[cert->key - &cert->pkeys[0]];
199 /* or ret->key = ret->pkeys + (cert->key - cert->pkeys),
251 CERT_PKEY *cpk = cert->pkeys + i;
252 CERT_PKEY *rpk = ret->pkeys + i
    [all...]
t1_lib.c     [all...]
ssl_lib.c     [all...]
ssl_locl.h 445 CERT_PKEY *key; /* ALWAYS points to an element of the pkeys array
468 CERT_PKEY pkeys[SSL_PKEY_NUM]; member in struct:cert_st
    [all...]
s3_clnt.c     [all...]
s3_srvr.c     [all...]

Completed in 78 milliseconds