/external/vboot_reference/tests/ |
D | vboot_common2_tests.c | 43 static void VerifyDataTest(const VbPublicKey *public_key, in VerifyDataTest() argument 54 rsa = PublicKeyToRSA(public_key); in VerifyDataTest() 79 static void VerifyDigestTest(const VbPublicKey *public_key, in VerifyDigestTest() argument 88 rsa = PublicKeyToRSA(public_key); in VerifyDigestTest() 90 (int)public_key->algorithm); in VerifyDigestTest() 118 static void VerifyKernelPreambleTest(const VbPublicKey *public_key, in VerifyKernelPreambleTest() argument 129 rsa = PublicKeyToRSA(public_key); in VerifyKernelPreambleTest() 218 VbPublicKey *public_key = NULL; in test_algorithm() local 230 public_key = PublicKeyReadKeyb(filename, key_algorithm, 1); in test_algorithm() 231 if (!public_key) { in test_algorithm() [all …]
|
D | vboot_common3_tests.c | 30 static void KeyBlockVerifyTest(const VbPublicKey *public_key, in KeyBlockVerifyTest() argument 47 TEST_EQ(KeyBlockVerify(hdr, hsize, public_key, 0), 0, in KeyBlockVerifyTest() 109 TEST_NEQ(KeyBlockVerify(h, hsize, public_key, 0), 0, in KeyBlockVerifyTest() 115 TEST_NEQ(KeyBlockVerify(h, hsize, public_key, 0), 0, in KeyBlockVerifyTest() 120 TEST_NEQ(KeyBlockVerify(h, hsize, public_key, 0), 0, in KeyBlockVerifyTest() 125 TEST_NEQ(KeyBlockVerify(h, hsize, public_key, 1), 0, in KeyBlockVerifyTest() 166 static void VerifyFirmwarePreambleTest(const VbPublicKey *public_key, in VerifyFirmwarePreambleTest() argument 178 rsa = PublicKeyToRSA(public_key); in VerifyFirmwarePreambleTest()
|
D | vb20_common3_tests.c | 32 static void test_verify_keyblock(const VbPublicKey *public_key, in test_verify_keyblock() argument 47 TEST_SUCC(vb2_unpack_key(&key, (uint8_t *)public_key, in test_verify_keyblock() 48 public_key->key_offset + public_key->key_size), in test_verify_keyblock() 172 static void test_verify_fw_preamble(const VbPublicKey *public_key, in test_verify_fw_preamble() argument 189 TEST_SUCC(vb2_unpack_key(&rsa, (uint8_t *)public_key, in test_verify_fw_preamble() 190 public_key->key_offset + public_key->key_size), in test_verify_fw_preamble()
|
/external/boringssl/src/crypto/x509/ |
D | x_pubkey.c | 84 ASN1_SIMPLE(X509_PUBKEY, public_key, ASN1_BIT_STRING) 150 if (key->public_key == NULL) goto error; in X509_PUBKEY_get() 358 if (pub->public_key->data) in X509_PUBKEY_set0_param() 359 OPENSSL_free(pub->public_key->data); in X509_PUBKEY_set0_param() 360 pub->public_key->data = penc; in X509_PUBKEY_set0_param() 361 pub->public_key->length = penclen; in X509_PUBKEY_set0_param() 363 pub->public_key->flags&= ~(ASN1_STRING_FLAG_BITS_LEFT|0x07); in X509_PUBKEY_set0_param() 364 pub->public_key->flags|=ASN1_STRING_FLAG_BITS_LEFT; in X509_PUBKEY_set0_param() 378 *pk = pub->public_key->data; in X509_PUBKEY_get0_param() 379 *ppklen = pub->public_key->length; in X509_PUBKEY_get0_param()
|
D | t_x509.c | 279 if (!EVP_Digest(x->cert_info->key->public_key->data, in X509_ocspid_print() 280 x->cert_info->key->public_key->length, in X509_ocspid_print()
|
D | x509_cmp.c | 315 return x->cert_info->key->public_key; in X509_get0_pubkey_bitstr()
|
/external/boringssl/src/crypto/evp/ |
D | p_dsa_asn1.c | 78 ASN1_INTEGER *public_key = NULL; in dsa_pub_decode() local 108 public_key = d2i_ASN1_INTEGER(NULL, &p, pklen); in dsa_pub_decode() 109 if (public_key == NULL) { in dsa_pub_decode() 114 dsa->pub_key = ASN1_INTEGER_to_BN(public_key, NULL); in dsa_pub_decode() 120 ASN1_INTEGER_free(public_key); in dsa_pub_decode() 125 ASN1_INTEGER_free(public_key); in dsa_pub_decode()
|
D | p_ec_asn1.c | 392 const EC_POINT *public_key; in do_EC_KEY_print() local 409 public_key = EC_KEY_get0_public_key(x); in do_EC_KEY_print() 410 if (public_key != NULL) { in do_EC_KEY_print() 412 group, public_key, EC_KEY_get_conv_form(x), NULL, 0, ctx); in do_EC_KEY_print() 423 EC_POINT_point2oct(group, public_key, EC_KEY_get_conv_form(x), in do_EC_KEY_print()
|
/external/openssh/ |
D | kexecdhs.c | 68 const EC_POINT *public_key; in input_kex_ecdh_init() local 178 public_key = EC_KEY_get0_public_key(server_key); in input_kex_ecdh_init() 182 (r = sshpkt_put_ec(ssh, public_key, group)) != 0 || in input_kex_ecdh_init()
|
D | kexecdhc.c | 60 const EC_POINT *public_key; in kexecdh_client() local 72 public_key = EC_KEY_get0_public_key(client_key); in kexecdh_client() 75 (r = sshpkt_put_ec(ssh, public_key, group)) != 0 || in kexecdh_client()
|
D | PROTOCOL.certkeys | 108 string public_key
|
D | pkcs11.h | 965 ck_object_handle_t *public_key,
|
D | ssh-keygen.0 | 492 key: public_key 496 sha1: public_key
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_skey.c | 127 pk = ctx->subject_req->req_info->pubkey->public_key; in s2i_skey_id() 128 else pk = ctx->subject_cert->cert_info->key->public_key; in s2i_skey_id()
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/ |
D | baksmali.java | 96 Integer public_key = Integer.decode(attr.getValue("id")); in disassembleDexFile() local 104 options.resourceIds.put(public_key, public_val); in disassembleDexFile()
|
/external/wpa_supplicant_8/src/tls/ |
D | x509v3.h | 58 u8 *public_key; member
|
D | x509v3.c | 56 os_free(cert->public_key); in x509_certificate_free() 276 os_free(cert->public_key); in x509_parse_public_key() 277 cert->public_key = os_malloc(hdr.length - 1); in x509_parse_public_key() 278 if (cert->public_key == NULL) { in x509_parse_public_key() 283 os_memcpy(cert->public_key, pos + 1, hdr.length - 1); in x509_parse_public_key() 286 cert->public_key, cert->public_key_len); in x509_parse_public_key() 1602 pk = crypto_public_key_import(issuer->public_key, in x509_certificate_check_signature()
|
D | tlsv1_common.c | 193 *pk = crypto_public_key_import(cert->public_key, cert->public_key_len); in tls_parse_cert()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_attr_parse.h | 71 const u8 *public_key; member
|
D | wps_validate.c | 612 static int wps_validate_public_key(const u8 *public_key, size_t len, in wps_validate_public_key() argument 615 if (public_key == NULL) { in wps_validate_public_key() 1306 wps_validate_public_key(attr.public_key, attr.public_key_len, 1) || in wps_validate_m1() 1362 wps_validate_public_key(attr.public_key, attr.public_key_len, 1) || in wps_validate_m2()
|
D | wps_attr_parse.c | 499 attr->public_key = pos; in wps_set_attr()
|
D | wps_enrollee.c | 981 if (wps_process_pubkey(wps, attr->public_key, attr->public_key_len) || in wps_process_m2()
|
D | wps_registrar.c | 2565 wps_process_pubkey(wps, attr->public_key, attr->public_key_len) || in wps_process_m1() 2613 addr[0] = attr->public_key; in wps_process_m1()
|
/external/boringssl/src/ssl/ |
D | s3_clnt.c | 2262 uint8_t *public_key = NULL, *derp, *der_sig = NULL; in ssl3_send_channel_id() local 2306 public_key = OPENSSL_malloc(public_key_len); in ssl3_send_channel_id() 2307 if (!public_key) { in ssl3_send_channel_id() 2312 derp = public_key; in ssl3_send_channel_id() 2352 memcpy(d, public_key + 1, 64); in ssl3_send_channel_id() 2370 OPENSSL_free(public_key); in ssl3_send_channel_id()
|
/external/boringssl/src/include/openssl/ |
D | x509.h | 125 ASN1_BIT_STRING *public_key; member
|