Home
last modified time | relevance | path

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

123

/external/boringssl/src/crypto/x509/
Dx_x509a.c77 ASN1_OPT(X509_CERT_AUX, keyid, ASN1_OCTET_STRING),
113 if (!x || !x->aux || !x->aux->keyid) in X509_keyid_set1()
115 ASN1_OCTET_STRING_free(x->aux->keyid); in X509_keyid_set1()
116 x->aux->keyid = NULL; in X509_keyid_set1()
121 if (!aux->keyid && !(aux->keyid = ASN1_OCTET_STRING_new())) in X509_keyid_set1()
123 return ASN1_STRING_set(aux->keyid, id, len); in X509_keyid_set1()
137 if (!x->aux || !x->aux->keyid) in X509_keyid_get0()
140 *len = x->aux->keyid->length; in X509_keyid_get0()
141 return x->aux->keyid->data; in X509_keyid_get0()
Dt_x509a.c104 if (aux->keyid) { in X509_CERT_AUX_print()
106 for (j = 0; j < aux->keyid->length; j++) in X509_CERT_AUX_print()
107 BIO_printf(out, "%s%02X", j ? ":" : "", aux->keyid->data[j]); in X509_CERT_AUX_print()
/external/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl05.c96 key_serial_t keyid; in test_update_nonupdatable() local
122 keyid = TST_RET; in test_update_nonupdatable()
128 TEST(keyctl(KEYCTL_SETPERM, keyid, KEY_POS_ALL)); in test_update_nonupdatable()
136 TEST(keyctl(KEYCTL_UPDATE, keyid, payload, plen)); in test_update_nonupdatable()
158 key_serial_t keyid; in test_update_setperm_race() local
169 keyid = TST_RET; in test_update_setperm_race()
176 TEST(keyctl(KEYCTL_SETPERM, keyid, perm)); in test_update_setperm_race()
185 TEST(keyctl(KEYCTL_UPDATE, keyid, payload, sizeof(payload))); in test_update_setperm_race()
/external/boringssl/src/crypto/x509v3/
Dv3_akey.c97 if (akeyid->keyid) { in STACK_OF()
98 tmp = x509v3_bytes_to_hex(akeyid->keyid->data, akeyid->keyid->length); in STACK_OF()
124 char keyid = 0, issuer = 0; in v2i_AUTHORITY_KEYID() local
140 keyid = 1; in v2i_AUTHORITY_KEYID()
142 keyid = 2; in v2i_AUTHORITY_KEYID()
163 if (keyid) { in v2i_AUTHORITY_KEYID()
167 if (keyid == 2 && !ikeyid) { in v2i_AUTHORITY_KEYID()
198 akeyid->keyid = ikeyid; in v2i_AUTHORITY_KEYID()
Dv3_akeya.c67 ASN1_IMP_OPT(AUTHORITY_KEYID, keyid, ASN1_OCTET_STRING, 0),
/external/openssh/regress/
Dkrl.sh48 touch $OBJ/revoked-keyid
52 echo "id: revoked $n" >> $OBJ/revoked-keyid
103 $SSHKEYGEN $OPTS -kf $OBJ/krl-keyid $OBJ/revoked-keyid \
108 $SSHKEYGEN $OPTS -kf $OBJ/krl-keyid -s $OBJ/revoked-ca.pub \
109 $OBJ/revoked-keyid >/dev/null || fatal "$SSHKEYGEN KRL failed"
113 $SSHKEYGEN $OPTS -kf $OBJ/krl-keyid-wild -s NONE $OBJ/revoked-keyid \
157 check_krl $f $OBJ/krl-keyid $KEYID_RESULT "$TAG"
161 check_krl $f $OBJ/krl-keyid-wild $KEYID_WRESULT "$TAG"
179 $OBJ/krl-ca $OBJ/krl-serial $OBJ/krl-keyid \
180 $OBJ/krl-serial-wild $OBJ/krl-keyid-wild; do
/external/ltp/testcases/kernel/syscalls/request_key/
Drequest_key04.c36 key_serial_t keyid; in do_test() local
58 &keyid, sizeof(keyid))); in do_test()
70 &keyid, sizeof(keyid))); in do_test()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DSubjectKeyIdentifier.java49 byte[] keyid) in SubjectKeyIdentifier() argument
51 this.keyidentifier = Arrays.clone(keyid); in SubjectKeyIdentifier()
55 ASN1OctetString keyid) in SubjectKeyIdentifier() argument
57 this(keyid.getOctets()); in SubjectKeyIdentifier()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DSubjectKeyIdentifier.java51 byte[] keyid) in SubjectKeyIdentifier() argument
53 this.keyidentifier = Arrays.clone(keyid); in SubjectKeyIdentifier()
57 ASN1OctetString keyid) in SubjectKeyIdentifier() argument
59 this(keyid.getOctets()); in SubjectKeyIdentifier()
/external/ltp/testcases/kernel/security/mmc_security/
Dchange_password.sh46 keyid=$(keyctl request mmc "mmc:key")
47 if [ -z "$keyid" ]; then
68 if ! keyctl update $keyid "$oldpasswd$newpasswd"; then
Dremove_password.sh48 keyid=$(keyctl request mmc "mmc:key")
49 if [ -z "$keyid" ]; then
/external/wpa_supplicant_8/hostapd/
Dhostapd.wpa_psk7 # keyid=<keyid_string>
13 keyid=example_id 00:11:22:33:44:77 passphrase with keyid
/external/nos/host/generic/nugget/include/
Dsigned_header.h108 if (keyid == -1u) return false; in plausible()
133 printf("hdr.keyid : %08x\n", keyid); in print()
174 uint32_t keyid; // word 7 of RWR member
196 uint32_t keyid; member
/external/iproute2/ip/
Dipseg6.c53 __u32 keyid; member
144 addattr32(&req.n, sizeof(req), SEG6_ATTR_HMACKEYID, opts.keyid); in seg6_do_cmd()
205 if (get_u32(&opts.keyid, *argv, 0) || opts.keyid == 0) in do_seg6()
/external/wpa_supplicant_8/hs20/server/ca/
Dopenssl.cnf117 authorityKeyIdentifier=keyid:always,issuer
174 authorityKeyIdentifier=keyid:always
186 authorityKeyIdentifier=keyid,issuer
196 authorityKeyIdentifier=keyid,issuer
/external/wpa_supplicant_8/src/ap/
Dap_config.c262 const char *keyid; in hostapd_config_read_wpa_psk() local
300 keyid = NULL; in hostapd_config_read_wpa_psk()
312 keyid = value; in hostapd_config_read_wpa_psk()
374 if (keyid) { in hostapd_config_read_wpa_psk()
375 len = os_strlcpy(psk->keyid, keyid, sizeof(psk->keyid)); in hostapd_config_read_wpa_psk()
376 if ((size_t) len >= sizeof(psk->keyid)) { in hostapd_config_read_wpa_psk()
/external/openssh/
Dssh-pkcs11.c71 char *keyid; member
185 free(k11->keyid); in pkcs11_rsa_finish()
284 key_filter[1].pValue = k11->keyid; in pkcs11_rsa_private_encrypt()
326 k11->keyid = xmalloc(k11->keyid_len); in pkcs11_rsa_wrap()
327 memcpy(k11->keyid, keyid_attrib->pValue, k11->keyid_len); in pkcs11_rsa_wrap()
Dmonitor.c606 u_int keyid; in mm_answer_sign() local
611 if ((r = sshbuf_get_u32(m, &keyid)) != 0 || in mm_answer_sign()
615 if (keyid > INT_MAX) in mm_answer_sign()
636 if ((key = get_hostkey_public_by_index(keyid, ssh)) == NULL) in mm_answer_sign()
637 fatal("%s: no hostkey for index %d", __func__, keyid); in mm_answer_sign()
661 if ((key = get_hostkey_by_index(keyid)) != NULL) { in mm_answer_sign()
666 } else if ((key = get_hostkey_public_by_index(keyid, ssh)) != NULL && in mm_answer_sign()
674 fatal("%s: no hostkey from index %d", __func__, keyid); in mm_answer_sign()
/external/tcpdump/tests/
Dtcp-auth-heapoverflow.out2 …808464432:808476696, ack 808464432, win 12336, urg 12336, options [tcp-ao keyid 48 rnextkeyid 48 m…
/external/python/cpython2/Lib/msilib/
D__init__.py279 keyid = self.cab.gen_id(self.absolute, keyfile)
280 self.keyfiles[keyfile] = keyid
282 keyid = None
284 [(component, uuid, self.logical, flags, None, keyid)])
/external/python/cpython3/Lib/msilib/
D__init__.py276 keyid = self.cab.gen_id(self.absolute, keyfile)
277 self.keyfiles[keyfile] = keyid
279 keyid = None
281 [(component, uuid, self.logical, flags, None, keyid)])
/external/curl/tests/certs/
DServer-localhost-sv.prm7 authorityKeyIdentifier = keyid
DServer-localhost.nn-sv.prm7 authorityKeyIdentifier = keyid
DServer-localhost0h-sv.prm8 authorityKeyIdentifier = keyid
/external/e2fsprogs/misc/
De4crypt.c803 long keyid, ret; in do_new_session() local
810 keyid = keyctl(KEYCTL_JOIN_SESSION_KEYRING, NULL); in do_new_session()
811 if (keyid < 0) { in do_new_session()
820 printf("Switched invoking process to new session keyring %ld\n", keyid); in do_new_session()

123