Home
last modified time | relevance | path

Searched refs:public_key_len (Results 1 – 25 of 25) sorted by relevance

/external/avb/libavb/
Davb_chain_partition_descriptor.c45 dest->public_key_len = avb_be32toh(dest->public_key_len); in avb_chain_partition_descriptor_validate_and_byteswap()
55 !avb_safe_add_to(&expected_size, dest->public_key_len)) { in avb_chain_partition_descriptor_validate_and_byteswap()
Davb_chain_partition_descriptor.h55 uint32_t public_key_len; member
Davb_slot_verify.c1029 chain_desc.public_key_len, in load_and_verify_vbmeta()
/external/openssh/regress/misc/sk-dummy/
Dsk-dummy.c93 response->public_key_len = 0; in pack_key_ecdsa()
112 response->public_key_len = EC_POINT_point2oct(g, q, in pack_key_ecdsa()
114 if (response->public_key_len == 0 || response->public_key_len > 2048) { in pack_key_ecdsa()
116 response->public_key_len); in pack_key_ecdsa()
119 if ((response->public_key = malloc(response->public_key_len)) == NULL) { in pack_key_ecdsa()
124 response->public_key, response->public_key_len, NULL) == 0) { in pack_key_ecdsa()
149 response->public_key_len); in pack_key_ecdsa()
176 response->public_key_len = 0; in pack_key_ed25519()
184 response->public_key_len = sizeof(pk); in pack_key_ed25519()
185 if ((response->public_key = malloc(response->public_key_len)) == NULL) { in pack_key_ed25519()
/external/openssh/
Dsk-usbhid.c288 response->public_key_len = 0; in pack_public_key_ecdsa()
316 response->public_key_len = EC_POINT_point2oct(g, q, in pack_public_key_ecdsa()
318 if (response->public_key_len == 0 || response->public_key_len > 2048) { in pack_public_key_ecdsa()
320 response->public_key_len); in pack_public_key_ecdsa()
323 if ((response->public_key = malloc(response->public_key_len)) == NULL) { in pack_public_key_ecdsa()
328 response->public_key, response->public_key_len, NULL) == 0) { in pack_public_key_ecdsa()
336 memset(response->public_key, 0, response->public_key_len); in pack_public_key_ecdsa()
357 response->public_key_len = 0; in pack_public_key_ed25519()
367 response->public_key_len = len; in pack_public_key_ed25519()
368 if ((response->public_key = malloc(response->public_key_len)) == NULL) { in pack_public_key_ed25519()
[all …]
Dssh-sk.c174 freezero(r->public_key, r->public_key_len); in sshsk_free_enroll_response()
215 resp->public_key, resp->public_key_len)) != 0) { in sshsk_ecdsa_assemble()
254 if (resp->public_key_len != ED25519_PK_SZ) { in sshsk_ed25519_assemble()
255 error("%s: invalid size: %zu", __func__, resp->public_key_len); in sshsk_ed25519_assemble()
718 freezero(rks[i]->key.public_key, rks[i]->key.public_key_len); in sshsk_free_sk_resident_keys()
Dsk-api.h43 size_t public_key_len; member
DPROTOCOL.u2f259 size_t public_key_len;
/external/rust/crates/ring/src/
Dec.rs20 pub public_key_len: usize, field
/external/rust/crates/ring/src/ec/suite_b/
Dcurve.rs36 public_key_len: 1 + (2 * (($bits + 7) / 8)),
/external/rust/crates/ring/src/ec/
Dkeys.rs70 len: self.curve.public_key_len, in compute_public_key()
/external/wpa_supplicant_8/src/wps/
Dwps_attr_parse.h78 u16 public_key_len; member
Dwps_attr_parse.c511 attr->public_key_len = len; in wps_set_attr()
Dwps_validate.c1306 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()
Dwps_enrollee.c998 if (wps_process_pubkey(wps, attr->public_key, attr->public_key_len) || in wps_process_m2()
Dwps_registrar.c2669 wps_process_pubkey(wps, attr->public_key, attr->public_key_len) || in wps_process_m1()
2720 len = attr->public_key_len; in wps_process_m1()
/external/avb/test/
Davb_util_unittest.cc298 h.public_key_len = htobe32(17); in TEST_F()
306 EXPECT_EQ(17UL, s.public_key_len); in TEST_F()
325 bad.public_key_len = htobe32(25); in TEST_F()
Davbtool_unittest.cc2373 d.public_key_len)); in TEST_F()
/external/wpa_supplicant_8/src/tls/
Dx509v3.h64 size_t public_key_len; member
Dtlsv1_client_ocsp.c56 size_t len[1] = { signer->public_key_len }; in ocsp_responder_id_match()
206 issuer->public_key_len, hash); in tls_process_ocsp_single_response()
Dtlsv1_common.c193 *pk = crypto_public_key_import(cert->public_key, cert->public_key_len); in tls_parse_cert()
Dx509v3.c284 cert->public_key_len = hdr.length - 1; in x509_parse_public_key()
286 cert->public_key, cert->public_key_len); in x509_parse_public_key()
1922 issuer->public_key_len); in x509_check_signature()
/external/rust/crates/ring/src/ec/curve25519/
Dx25519.rs22 public_key_len: PUBLIC_KEY_LEN,
/external/avb/
Davbtool.py1825 public_key_len, _) = struct.unpack(self.FORMAT_STRING, data[0:self.SIZE])
1827 self.SIZE - 16 + partition_name_len + public_key_len, 8)
1840 self.public_key = data[(self.SIZE + o):(self.SIZE + o + public_key_len)]
Davbtool1825 public_key_len, _) = struct.unpack(self.FORMAT_STRING, data[0:self.SIZE])
1827 self.SIZE - 16 + partition_name_len + public_key_len, 8)
1840 self.public_key = data[(self.SIZE + o):(self.SIZE + o + public_key_len)]