Home
last modified time | relevance | path

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

12

/external/vboot_reference/host/lib21/
Dhost_key.c86 int vb2_private_key_unpack(struct vb2_private_key **key_ptr, in vb2_private_key_unpack() argument
96 *key_ptr = NULL; in vb2_private_key_unpack()
158 *key_ptr = key; in vb2_private_key_unpack()
162 int vb2_private_key_read(struct vb2_private_key **key_ptr, in vb2_private_key_read() argument
169 *key_ptr = NULL; in vb2_private_key_read()
175 rv = vb2_private_key_unpack(key_ptr, buf, size); in vb2_private_key_read()
182 int vb2_private_key_read_pem(struct vb2_private_key **key_ptr, in vb2_private_key_read_pem() argument
188 *key_ptr = NULL; in vb2_private_key_read_pem()
210 *key_ptr = key; in vb2_private_key_read_pem()
286 int vb2_private_key_hash(const struct vb2_private_key **key_ptr, in vb2_private_key_hash() argument
[all …]
/external/u-boot/board/xilinx/zynqmp/
Dcmds.c12 static int zynqmp_verify_secure(u8 *key_ptr, u8 *src_ptr, u32 len) in zynqmp_verify_secure() argument
31 if (key_ptr) { in zynqmp_verify_secure()
32 key_lo = lower_32_bits((ulong)key_ptr); in zynqmp_verify_secure()
33 key_hi = upper_32_bits((ulong)key_ptr); in zynqmp_verify_secure()
34 flush_dcache_range((ulong)key_ptr, in zynqmp_verify_secure()
35 (ulong)(key_ptr + KEY_PTR_LEN)); in zynqmp_verify_secure()
67 u8 *key_ptr = NULL; in do_zynqmp() local
79 key_ptr = (uint8_t *)(uintptr_t)simple_strtoull(argv[4], in do_zynqmp()
84 ret = zynqmp_verify_secure(key_ptr, src_ptr, len); in do_zynqmp()
/external/vboot_reference/host/lib21/include/
Dhost_key2.h68 int vb2_private_key_unpack(struct vb2_private_key **key_ptr,
80 int vb2_private_key_read(struct vb2_private_key **key_ptr,
94 int vb2_private_key_read_pem(struct vb2_private_key **key_ptr,
124 int vb2_private_key_hash(const struct vb2_private_key **key_ptr,
138 int vb2_public_key_alloc(struct vb2_public_key **key_ptr,
172 int vb2_public_key_read_keyb(struct vb2_public_key **key_ptr,
191 int vb2_packed_key_read(struct vb2_packed_key **key_ptr,
203 int vb2_public_key_pack(struct vb2_packed_key **key_ptr,
/external/selinux/libsemanage/src/
Diface_record.c53 const char *name, semanage_iface_key_t ** key_ptr) in semanage_iface_key_create() argument
56 return sepol_iface_key_create(handle->sepolh, name, key_ptr); in semanage_iface_key_create()
61 semanage_iface_key_t ** key_ptr) in semanage_iface_key_extract() argument
64 return sepol_iface_key_extract(handle->sepolh, iface, key_ptr); in semanage_iface_key_extract()
Dibendport_record.c51 semanage_ibendport_key_t **key_ptr) in semanage_ibendport_key_create() argument
53 return sepol_ibendport_key_create(handle->sepolh, ibdev_name, port, key_ptr); in semanage_ibendport_key_create()
58 semanage_ibendport_key_t **key_ptr) in semanage_ibendport_key_extract() argument
60 return sepol_ibendport_key_extract(handle->sepolh, ibendport, key_ptr); in semanage_ibendport_key_extract()
Dport_record.c54 semanage_port_key_t ** key_ptr) in semanage_port_key_create() argument
57 return sepol_port_key_create(handle->sepolh, low, high, proto, key_ptr); in semanage_port_key_create()
62 semanage_port_key_t ** key_ptr) in semanage_port_key_extract() argument
65 return sepol_port_key_extract(handle->sepolh, port, key_ptr); in semanage_port_key_extract()
Dibpkey_record.c51 semanage_ibpkey_key_t **key_ptr) in semanage_ibpkey_key_create() argument
53 return sepol_ibpkey_key_create(handle->sepolh, subnet_prefix, low, high, key_ptr); in semanage_ibpkey_key_create()
58 semanage_ibpkey_key_t **key_ptr) in semanage_ibpkey_key_extract() argument
60 return sepol_ibpkey_key_extract(handle->sepolh, ibpkey, key_ptr); in semanage_ibpkey_key_extract()
Dnode_record.c56 int proto, semanage_node_key_t ** key_ptr) in semanage_node_key_create() argument
60 key_ptr); in semanage_node_key_create()
65 semanage_node_key_t ** key_ptr) in semanage_node_key_extract() argument
68 return sepol_node_key_extract(handle->sepolh, node, key_ptr); in semanage_node_key_extract()
Dseuser_record.c41 semanage_seuser_key_t ** key_ptr) in semanage_seuser_key_create() argument
58 *key_ptr = tmp_key; in semanage_seuser_key_create()
66 semanage_seuser_key_t ** key_ptr) in hidden_def()
69 if (semanage_seuser_key_create(handle, seuser->name, key_ptr) < 0) in hidden_def()
Dfcontext_record.c37 int type, semanage_fcontext_key_t ** key_ptr) in semanage_fcontext_key_create() argument
56 *key_ptr = tmp_key; in semanage_fcontext_key_create()
64 semanage_fcontext_key_t ** key_ptr) in hidden_def()
68 fcontext->type, key_ptr) < 0) { in hidden_def()
/external/selinux/libsepol/src/
Dboolean_record.c22 const char *name, sepol_bool_key_t ** key_ptr) in sepol_bool_key_create() argument
40 *key_ptr = tmp_key; in sepol_bool_key_create()
56 sepol_bool_key_t ** key_ptr) in hidden_def()
59 if (sepol_bool_key_create(handle, boolean->name, key_ptr) < 0) { in hidden_def()
Diface_record.c28 const char *name, sepol_iface_key_t ** key_ptr) in sepol_iface_key_create() argument
46 *key_ptr = tmp_key; in sepol_iface_key_create()
62 sepol_iface_key_t ** key_ptr) in hidden_def()
65 if (sepol_iface_key_create(handle, iface->name, key_ptr) < 0) { in hidden_def()
Dport_record.c30 sepol_port_key_t ** key_ptr) in sepol_port_key_create() argument
45 *key_ptr = tmp_key; in sepol_port_key_create()
64 sepol_port_key_t ** key_ptr) in hidden_def()
68 (handle, port->low, port->high, port->proto, key_ptr) < 0) { in hidden_def()
Dibendport_record.c52 sepol_ibendport_key_t **key_ptr) in sepol_ibendport_key_create() argument
68 *key_ptr = tmp_key; in sepol_ibendport_key_create()
94 sepol_ibendport_key_t **key_ptr) in hidden_def()
97 (handle, ibendport->ibdev_name, ibendport->port, key_ptr) < 0) { in hidden_def()
Dibpkey_record.c102 sepol_ibpkey_key_t **key_ptr) in sepol_ibpkey_key_create() argument
118 *key_ptr = tmp_key; in sepol_ibpkey_key_create()
145 sepol_ibpkey_key_t **key_ptr) in hidden_def()
152 (handle, subnet_prefix_str, ibpkey->low, ibpkey->high, key_ptr) < 0) { in hidden_def()
/external/u-boot/cmd/
Daes.c29 uint8_t *key_ptr, *iv_ptr, *src_ptr, *dst_ptr; in do_aes() local
50 key_ptr = (uint8_t *)key_addr; in do_aes()
56 aes_expand_key(key_ptr, key_exp); in do_aes()
/external/selinux/libsemanage/include/semanage/
Diface_record.h26 semanage_iface_key_t ** key_ptr);
30 semanage_iface_key_t ** key_ptr);
Dibendport_record.h27 semanage_ibendport_key_t **key_ptr);
31 semanage_ibendport_key_t **key_ptr);
Dfcontext_record.h27 semanage_fcontext_key_t ** key_ptr);
31 semanage_fcontext_key_t ** key_ptr);
Dport_record.h29 semanage_port_key_t ** key_ptr);
33 semanage_port_key_t ** key_ptr);
Dibpkey_record.h28 semanage_ibpkey_key_t **key_ptr);
32 semanage_ibpkey_key_t **key_ptr);
/external/selinux/libsepol/include/sepol/
Diface_record.h28 sepol_iface_key_t ** key_ptr);
32 sepol_iface_key_t ** key_ptr);
Dibendport_record.h26 sepol_ibendport_key_t **key_ptr);
37 sepol_ibendport_key_t **key_ptr);
Dport_record.h30 sepol_port_key_t ** key_ptr);
37 sepol_port_key_t ** key_ptr);
Dibpkey_record.h29 sepol_ibpkey_key_t **key_ptr);
37 sepol_ibpkey_key_t **key_ptr);

12