HomeSort by relevance Sort by last modified time
    Searched refs:pkey (Results 126 - 150 of 193) sorted by null

1 2 3 4 56 7 8

  /external/pdfium/core/fpdfapi/parser/
cpdf_security_handler.cpp 321 const uint8_t* pkey = bOwner ? okey.raw_str() : ukey.raw_str(); local
325 Revision6_Hash(password, (const uint8_t*)pkey + 32,
330 CRYPT_SHA256Update(&sha, pkey + 32, 8);
335 if (memcmp(digest, pkey, 32) != 0)
342 Revision6_Hash(password, (const uint8_t*)pkey + 40,
347 CRYPT_SHA256Update(&sha, pkey + 40, 8);
  /external/wpa_supplicant_8/src/tls/
tlsv1_cred.c 271 struct crypto_private_key *pkey; local
299 pkey = crypto_private_key_import(der, der_len, NULL);
301 return pkey;
312 struct crypto_private_key *pkey; local
327 pkey = crypto_private_key_import(der, der_len, passwd);
329 return pkey;
    [all...]
  /system/core/trusty/keymaster/
trusty_keymaster_main.cpp 251 std::unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey(
253 std::unique_ptr<EVP_PKEY_CTX, EVP_PKEY_CTX_Delete> ctx(EVP_PKEY_CTX_new(pkey.get(), NULL));
258 if (EVP_PKEY_type(pkey->type) != EVP_PKEY_RSA) {
355 std::unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey(
357 std::unique_ptr<EVP_PKEY_CTX, EVP_PKEY_CTX_Delete> ctx(EVP_PKEY_CTX_new(pkey.get(), NULL));
362 if (EVP_PKEY_type(pkey->type) != EVP_PKEY_EC) {
trusty_keymaster_device_test.cpp 494 std::unique_ptr<EVP_PKEY, EVP_PKEY_Delete> pkey(d2i_PUBKEY(NULL, &key, key_len));
495 ASSERT_TRUE(pkey.get() != NULL);
496 std::unique_ptr<EVP_PKEY_CTX, EVP_PKEY_CTX_Delete> ctx(EVP_PKEY_CTX_new(pkey.get(), NULL));
499 if (EVP_PKEY_type(pkey->type) == EVP_PKEY_RSA)
  /system/security/keystore/
KeyStore.cpp 538 Unique_EVP_PKEY pkey(EVP_PKCS82PKEY(pkcs8.get()));
539 if (!pkey.get()) {
542 int type = EVP_PKEY_type(pkey->type);
713 Unique_EVP_PKEY pkey(PEM_read_bio_PrivateKey(b.get(), NULL, NULL, NULL));
714 if (pkey.get() == NULL) {
719 Unique_PKCS8_PRIV_KEY_INFO pkcs8(EVP_PKEY2PKCS8(pkey.get()));
  /external/boringssl/src/ssl/test/
bssl_shim.cc 508 bssl::UniquePtr<EVP_PKEY> pkey; local
509 if (!GetCertificate(ssl, &x509, &chain, &pkey)) {
513 if (pkey) {
517 test_state->private_key = std::move(pkey);
519 } else if (!SSL_use_PrivateKey(ssl, pkey.get())) {
654 bssl::UniquePtr<EVP_PKEY> pkey; local
655 if (!GetCertificate(ssl, &x509, &chain, &pkey)) {
666 *out_pkey = pkey.release();
1387 bssl::UniquePtr<EVP_PKEY> pkey = local
2019 bssl::UniquePtr<EVP_PKEY> pkey = LoadPrivateKey(config->send_channel_id); local
    [all...]
fuzzer.h 323 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new());
326 if (!ctx_ || !privkey || !pkey ||
327 !EVP_PKEY_set1_RSA(pkey.get(), privkey.get()) ||
328 !SSL_CTX_use_PrivateKey(ctx_.get(), pkey.get())) {
376 pkey.reset(EVP_parse_private_key(&cbs));
377 if (!pkey || !SSL_CTX_set1_tls_channel_id(ctx_.get(), pkey.get())) {
  /external/wpa_supplicant_8/src/crypto/
crypto_openssl.c 166 u8 pkey[8], next, tmp; local
174 pkey[i] = (tmp >> i) | next | 1;
177 pkey[i] = next | 1;
179 DES_set_key((DES_cblock *) &pkey, &ks);
1697 EVP_PKEY *pkey; member in struct:crypto_ecdh
    [all...]
crypto_linux.c 606 u8 pkey[8], next, tmp; local
621 pkey[i] = (tmp >> i) | next | 1;
624 pkey[i] = next | 1;
626 skcipher = linux_af_alg_skcipher("ecb(des)", pkey, sizeof(pkey));
  /external/boringssl/src/ssl/
ssl_cert.cc 743 int ssl_check_leaf_certificate(SSL_HANDSHAKE *hs, EVP_PKEY *pkey,
749 if (!(hs->new_cipher->algorithm_auth & ssl_cipher_auth_mask_for_key(pkey))) {
760 if (EVP_PKEY_id(pkey) != EVP_PKEY_RSA) {
768 if (EVP_PKEY_id(pkey) == EVP_PKEY_EC) {
770 EC_KEY *ec_key = EVP_PKEY_get0_EC_KEY(pkey);
ssl_x509.cc 1174 EVP_PKEY *pkey = NULL; local
    [all...]
  /hardware/qcom/keymaster/
keymaster_qcom.cpp 158 Unique_EVP_PKEY pkey(EVP_PKEY_new());
159 if (pkey.get() == NULL) {
163 if (EVP_PKEY_assign_RSA(pkey.get(), rsa.get()) != 1) {
169 int len = i2d_PUBKEY(pkey.get(), NULL);
182 if (i2d_PUBKEY(pkey.get(), &tmp) != len) {
  /external/nos/host/android/hals/keymaster/test/
import_key_test.cpp 346 bssl::UniquePtr<EVP_PKEY> pkey(EVP_PKEY_new());
353 EXPECT_EQ(EVP_PKEY_set1_RSA(pkey.get(), rsa.get()), 1);
354 pkcs8.reset(EVP_PKEY2PKCS8(pkey.get()));
  /system/keymaster/km_openssl/
rsa_operation.cpp 45 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey(EVP_PKEY_new());
46 if (!rsa_key.InternalToEvp(pkey.get())) {
50 return pkey.release();
  /external/boringssl/src/crypto/pkcs8/
pkcs8.c 436 int iterations, const EVP_PKEY *pkey) {
465 !EVP_marshal_private_key(&plaintext_cbb, pkey) ||
  /external/syslinux/gpxe/src/net/infiniband/
ib_cm.c 289 connect_req->pkey = htons ( ibdev->pkey );
  /external/wpa_supplicant_8/src/common/
dpp.c 338 static struct wpabuf * dpp_get_pubkey_point(EVP_PKEY *pkey, int prefix)
345 eckey = EVP_PKEY_get1_EC_KEY(pkey);
393 EVP_PKEY *pkey = NULL; local
433 pkey = EVP_PKEY_new();
434 if (!pkey || EVP_PKEY_set1_EC_KEY(pkey, eckey) != 1) {
445 return pkey;
447 EVP_PKEY_free(pkey);
448 pkey = NULL;
458 EVP_PKEY *pkey = NULL local
726 EVP_PKEY *pkey; local
1082 EVP_PKEY *pkey; local
3634 EVP_PKEY *pkey = NULL; local
    [all...]
  /bionic/libc/kernel/uapi/rdma/
ib_user_cm.h 234 __u16 pkey; member in struct:ib_ucm_sidr_req_event_resp
  /device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
CryptX509.c 325 EVP_PKEY *Pkey;
335 Pkey = NULL;
352 Pkey = X509_get_pubkey (X509Cert);
353 if ((Pkey == NULL) || (Pkey->type != EVP_PKEY_RSA)) {
360 if ((*RsaContext = RSAPublicKey_dup (Pkey->pkey.rsa)) != NULL) {
372 if (Pkey != NULL) {
373 EVP_PKEY_free (Pkey);
  /external/kernel-headers/original/uapi/rdma/
ib_user_cm.h 288 __u16 pkey; member in struct:ib_ucm_sidr_req_event_resp
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rdma/
ib_user_cm.h 287 __u16 pkey; member in struct:ib_ucm_sidr_req_event_resp
  /external/nos/test/system-test-harness/src/
avb_tests.cc 203 EVP_PKEY *pkey = EVP_PKEY_new();
204 if (!pkey)
206 if (!EVP_PKEY_set1_RSA(pkey, key))
211 if (!EVP_DigestSignInit(&md_ctx, &pkey_ctx, EVP_sha256(), NULL, pkey))
231 EVP_PKEY_free(pkey);
  /external/wpa_supplicant_8/src/drivers/
driver_macsec_qca.c 512 rx_sak.sak[i] = sa->pkey->key[15 - i];
679 tx_sak.sak[i] = sa->pkey->key[15 - i];
  /external/boringssl/src/crypto/pem/
pem_info.c 358 xi->x_pkey->dec_pkey->pkey.rsa,
  /external/pdfium/third_party/libtiff/
tif_dirinfo.c 511 TIFFField* pkey = &key; local
536 TIFFField* pkey = &key; local
    [all...]

Completed in 540 milliseconds

1 2 3 4 56 7 8