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

1 2

  /external/dropbear/libtomcrypt/src/pk/ecc/
ecc_shared_secret.c 29 @param public_key The public key
34 int ecc_shared_secret(ecc_key *private_key, ecc_key *public_key,
43 LTC_ARGCHK(public_key != NULL);
52 if (ltc_ecc_is_valid_idx(private_key->idx) == 0 || ltc_ecc_is_valid_idx(public_key->idx) == 0) {
56 if (XSTRCMP(private_key->dp->name, public_key->dp->name) != 0) {
72 if ((err = ltc_mp.ecc_ptmul(private_key->k, &public_key->pubkey, result, prime, 1)) != CRYPT_OK) { goto done; }
  /external/dropbear/libtomcrypt/src/pk/dsa/
dsa_shared_secret.c 24 @param public_key The public key
30 dsa_key *public_key,
38 LTC_ARGCHK(public_key != NULL);
47 if ((err = mp_exptmod(base, private_key, public_key->p, res)) != CRYPT_OK) {
  /external/chromium/base/crypto/
signature_verifier_nss.cc 40 SECKEYPublicKey* public_key = SECKEY_ExtractPublicKey(spki);
42 if (!public_key)
47 SECKEY_DestroyPublicKey(public_key);
60 SECKEY_DestroyPublicKey(public_key);
70 vfy_context_ = VFY_CreateContextWithAlgorithmID(public_key, &sig,
73 SECKEY_DestroyPublicKey(public_key); // Done with public_key.
rsa_private_key_mac.cc 29 CSSM_KEY public_key; local
30 memset(&public_key, 0, sizeof(CSSM_KEY));
36 &public_key, CSSM_KEYUSE_SIGN,
46 CSSM_FreeKey(result->csp_handle(), NULL, &public_key, CSSM_FALSE);
  /external/openssl/crypto/asn1/
x_pubkey.c 85 ASN1_SIMPLE(X509_PUBKEY, public_key, ASN1_BIT_STRING)
145 if (key->public_key == NULL) goto error;
347 if (pub->public_key->data)
348 OPENSSL_free(pub->public_key->data);
349 pub->public_key->data = penc;
350 pub->public_key->length = penclen;
352 pub->public_key->flags&= ~(ASN1_STRING_FLAG_BITS_LEFT|0x07);
353 pub->public_key->flags|=ASN1_STRING_FLAG_BITS_LEFT;
367 *pk = pub->public_key->data;
368 *ppklen = pub->public_key->length
    [all...]
t_x509.c 271 EVP_Digest(x->cert_info->key->public_key->data,
272 x->cert_info->key->public_key->length, SHA1md, NULL, EVP_sha1(), NULL);
  /external/openssl/crypto/x509v3/
v3_skey.c 124 pk = ctx->subject_req->req_info->pubkey->public_key;
125 else pk = ctx->subject_cert->cert_info->key->public_key;
  /external/openssl/crypto/dh/
dh_ameth.c 79 ASN1_INTEGER *public_key = NULL; local
103 if (!(public_key=d2i_ASN1_INTEGER(NULL, &p, pklen)))
110 if (!(dh->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)))
116 ASN1_INTEGER_free(public_key);
121 if (public_key)
122 ASN1_INTEGER_free(public_key);
  /external/wpa_supplicant/
x509v3.h 44 u8 *public_key; member in struct:x509_certificate
x509v3.c 55 os_free(cert->public_key);
279 os_free(cert->public_key);
280 cert->public_key = os_malloc(hdr.length - 1);
281 if (cert->public_key == NULL) {
286 os_memcpy(cert->public_key, pos + 1, hdr.length - 1);
289 cert->public_key, cert->public_key_len);
1323 pk = crypto_public_key_import(issuer->public_key,
    [all...]
tlsv1_common.c 155 *pk = crypto_public_key_import(cert->public_key, cert->public_key_len);
  /external/wpa_supplicant_6/wpa_supplicant/src/tls/
x509v3.h 44 u8 *public_key; member in struct:x509_certificate
x509v3.c 55 os_free(cert->public_key);
279 os_free(cert->public_key);
280 cert->public_key = os_malloc(hdr.length - 1);
281 if (cert->public_key == NULL) {
286 os_memcpy(cert->public_key, pos + 1, hdr.length - 1);
289 cert->public_key, cert->public_key_len);
1338 pk = crypto_public_key_import(issuer->public_key,
    [all...]
tlsv1_common.c 177 *pk = crypto_public_key_import(cert->public_key, cert->public_key_len);
  /external/openssl/crypto/dsa/
dsa_ameth.c 77 ASN1_INTEGER *public_key = NULL; local
113 if (!(public_key=d2i_ASN1_INTEGER(NULL, &p, pklen)))
119 if (!(dsa->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)))
125 ASN1_INTEGER_free(public_key);
130 if (public_key)
131 ASN1_INTEGER_free(public_key);
  /external/openssl/crypto/ec/
ec_ameth.c 436 const EC_POINT *public_key; local
454 public_key = EC_KEY_get0_public_key(x);
455 if ((pub_key = EC_POINT_point2bn(group, public_key,
  /external/dropbear/libtomcrypt/src/headers/
tomcrypt_pk.h 228 int ecc_shared_secret(ecc_key *private_key, ecc_key *public_key,
358 dsa_key *public_key,
  /external/openssl/crypto/x509/
x509_cmp.c 298 return x->cert_info->key->public_key;
x509.h 163 ASN1_BIT_STRING *public_key; member in struct:X509_pubkey_st
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/wps/
wps_attr_parse.c 350 attr->public_key = pos;
wps_i.h 158 const u8 *public_key; member in struct:wps_parse_attr
wps_enrollee.c 755 wps_process_pubkey(wps, attr->public_key, attr->public_key_len) ||
  /external/openssl/ssl/
s3_lib.c     [all...]
  /external/openssl/apps/
x509.c 596 (req->req_info->pubkey->public_key == NULL) ||
597 (req->req_info->pubkey->public_key->data == NULL))
    [all...]
  /external/openssl/include/openssl/
x509.h 163 ASN1_BIT_STRING *public_key; member in struct:X509_pubkey_st
    [all...]

Completed in 336 milliseconds

1 2