Home
last modified time | relevance | path

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

12345

/third_party/openssl/apps/lib/
Dengine_loader.c39 char *keyid; member
44 static OSSL_STORE_LOADER_CTX *OSSL_STORE_LOADER_CTX_new(ENGINE *e, char *keyid) in OSSL_STORE_LOADER_CTX_new() argument
50 ctx->keyid = keyid; in OSSL_STORE_LOADER_CTX_new()
59 OPENSSL_free(ctx->keyid); in OSSL_STORE_LOADER_CTX_free()
71 char *keyid = NULL; in engine_open() local
91 keyid = OPENSSL_strdup(q + 1); in engine_open()
94 if (e != NULL && keyid != NULL) in engine_open()
95 ctx = OSSL_STORE_LOADER_CTX_new(e, keyid); in engine_open()
98 OPENSSL_free(keyid); in engine_open()
127 ENGINE_load_private_key(ctx->e, ctx->keyid, in engine_load()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_auth.h71 uint16_t keyid; /* shared key ID */ member
148 extern void sctp_auth_key_acquire(struct sctp_tcb *stcb, uint16_t keyid);
149 extern void sctp_auth_key_release(struct sctp_tcb *stcb, uint16_t keyid,
186 extern void sctp_clear_cachedkeys(struct sctp_tcb *stcb, uint16_t keyid);
187 extern void sctp_clear_cachedkeys_ep(struct sctp_inpcb *inp, uint16_t keyid);
188 extern int sctp_delete_sharedkey(struct sctp_tcb *stcb, uint16_t keyid);
189 extern int sctp_delete_sharedkey_ep(struct sctp_inpcb *inp, uint16_t keyid);
190 extern int sctp_auth_setactivekey(struct sctp_tcb *stcb, uint16_t keyid);
191 extern int sctp_auth_setactivekey_ep(struct sctp_inpcb *inp, uint16_t keyid);
192 extern int sctp_deact_sharedkey(struct sctp_tcb *stcb, uint16_t keyid);
[all …]
Dsctp_auth.c473 new_key->keyid = 0; in sctp_alloc_sharedkey()
499 if (skey->keyid == key_id) in sctp_find_sharedkey()
521 if (new_skey->keyid < skey->keyid) { in sctp_insert_sharedkey()
525 } else if (new_skey->keyid == skey->keyid) { in sctp_insert_sharedkey()
531 new_skey->keyid); in sctp_insert_sharedkey()
536 new_skey->keyid); in sctp_insert_sharedkey()
610 new_skey->keyid = skey->keyid; in sctp_copy_sharedkey()
1176 sctp_clear_cachedkeys(struct sctp_tcb *stcb, uint16_t keyid) argument
1181 if (keyid == stcb->asoc.authinfo.assoc_keyid) {
1185 if (keyid == stcb->asoc.authinfo.recv_keyid) {
[all …]
/third_party/openssl/crypto/x509/
Dx_x509a.c30 ASN1_OPT(X509_CERT_AUX, keyid, ASN1_OCTET_STRING),
71 if (!x || !x->aux || !x->aux->keyid) in X509_keyid_set1()
73 ASN1_OCTET_STRING_free(x->aux->keyid); in X509_keyid_set1()
74 x->aux->keyid = NULL; in X509_keyid_set1()
79 if (aux->keyid == NULL in X509_keyid_set1()
80 && (aux->keyid = ASN1_OCTET_STRING_new()) == NULL) in X509_keyid_set1()
82 return ASN1_STRING_set(aux->keyid, id, len); in X509_keyid_set1()
96 if (!x->aux || !x->aux->keyid) in X509_keyid_get0()
99 *len = x->aux->keyid->length; in X509_keyid_get0()
100 return x->aux->keyid->data; in X509_keyid_get0()
Dv3_akid.c46 if (akeyid->keyid) { in STACK_OF()
47 tmp = OPENSSL_buf2hexstr(akeyid->keyid->data, akeyid->keyid->length); in STACK_OF()
100 char keyid = 0, issuer = 0; in v2i_AUTHORITY_KEYID() local
123 keyid = 1; in v2i_AUTHORITY_KEYID()
125 keyid = 2; in v2i_AUTHORITY_KEYID()
157 if (keyid == 2 || (keyid == 1 && !ss)) { in v2i_AUTHORITY_KEYID()
174 if ((keyid == 2 || issuer == 0) in v2i_AUTHORITY_KEYID()
206 akeyid->keyid = ikeyid; in v2i_AUTHORITY_KEYID()
Dt_x509.c346 const unsigned char *alias, *keyid; in X509_aux_print() local
386 keyid = X509_keyid_get0(x, &keyidlen); in X509_aux_print()
387 if (keyid) { in X509_aux_print()
390 BIO_printf(out, "%s%02X", i ? ":" : "", keyid[i]); in X509_aux_print()
/third_party/ltp/testcases/kernel/syscalls/keyctl/
Dkeyctl05.c86 key_serial_t keyid; in test_update_nonupdatable() local
118 keyid = TST_RET; in test_update_nonupdatable()
124 TEST(keyctl(KEYCTL_SETPERM, keyid, KEY_POS_ALL)); in test_update_nonupdatable()
132 TEST(keyctl(KEYCTL_UPDATE, keyid, payload, plen)); in test_update_nonupdatable()
154 key_serial_t keyid; in test_update_setperm_race() local
165 keyid = TST_RET; in test_update_setperm_race()
172 TEST(keyctl(KEYCTL_SETPERM, keyid, perm)); in test_update_setperm_race()
181 TEST(keyctl(KEYCTL_UPDATE, keyid, payload, sizeof(payload))); in test_update_setperm_race()
/third_party/ltp/testcases/kernel/syscalls/request_key/
Drequest_key04.c24 key_serial_t keyid; in do_test() local
46 &keyid, sizeof(keyid))); in do_test()
58 &keyid, sizeof(keyid))); in do_test()
/third_party/openssl/crypto/pkcs12/
Dp12_crt.c41 unsigned char keyid[EVP_MAX_MD_SIZE]; in PKCS12_create_ex() local
62 if (!X509_digest(cert, EVP_sha1(), keyid, &keyidlen)) in PKCS12_create_ex()
70 if (keyidlen && !PKCS12_add_localkeyid(bag, keyid, keyidlen)) in PKCS12_create_ex()
101 if (keyidlen && !PKCS12_add_localkeyid(bag, keyid, keyidlen)) in PKCS12_create_ex()
147 unsigned char *keyid; in PKCS12_add_cert() local
163 keyid = X509_keyid_get0(cert, &keyidlen); in PKCS12_add_cert()
165 if (keyid && !PKCS12_add_localkeyid(bag, keyid, keyidlen)) in PKCS12_add_cert()
/third_party/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
/third_party/openssl/crypto/cms/
Dcms_kari.c58 ASN1_OCTET_STRING **keyid, in CMS_RecipientInfo_kari_get0_orig_id() argument
73 if (keyid) in CMS_RecipientInfo_kari_get0_orig_id()
74 *keyid = NULL; in CMS_RecipientInfo_kari_get0_orig_id()
85 if (keyid) in CMS_RecipientInfo_kari_get0_orig_id()
86 *keyid = oik->d.subjectKeyIdentifier; in CMS_RecipientInfo_kari_get0_orig_id()
114 ASN1_OCTET_STRING **keyid, in CMS_RecipientEncryptedKey_get0_id() argument
126 if (keyid) in CMS_RecipientEncryptedKey_get0_id()
127 *keyid = NULL; in CMS_RecipientEncryptedKey_get0_id()
133 if (keyid) in CMS_RecipientEncryptedKey_get0_id()
134 *keyid = rid->d.rKeyId->subjectKeyIdentifier; in CMS_RecipientEncryptedKey_get0_id()
Dcms_lib.c686 int ossl_cms_keyid_cert_cmp(ASN1_OCTET_STRING *keyid, X509 *cert) in ossl_cms_keyid_cert_cmp() argument
692 return ASN1_OCTET_STRING_cmp(keyid, cert_keyid); in ossl_cms_keyid_cert_cmp()
716 ASN1_OCTET_STRING *keyid = NULL; in ossl_cms_set1_keyid() local
723 keyid = ASN1_STRING_dup(cert_keyid); in ossl_cms_set1_keyid()
724 if (!keyid) { in ossl_cms_set1_keyid()
729 *pkeyid = keyid; in ossl_cms_set1_keyid()
/third_party/openssl/test/
Dca-and-certs.cnf36 authorityKeyIdentifier = keyid,issuer:always
42 authorityKeyIdentifier = keyid:always
48 authorityKeyIdentifier = keyid:always
86 authorityKeyIdentifier = keyid:always,issuer:always
Dproxy.cnf27 authorityKeyIdentifier = keyid,issuer:always
54 authorityKeyIdentifier = keyid,issuer:always
DCAtsa.cnf88 authorityKeyIdentifier=keyid,issuer:always
102 authorityKeyIdentifier=keyid,issuer:always
115 authorityKeyIdentifier=keyid:always,issuer:always
/third_party/openssl/demos/certs/
Dca.cnf43 authorityKeyIdentifier=keyid
52 authorityKeyIdentifier=keyid
65 authorityKeyIdentifier=keyid
75 authorityKeyIdentifier=keyid:always
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dhostapd.wpa_psk7 # keyid=<keyid_string>
13 keyid=example_id 00:11:22:33:44:77 passphrase with keyid
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dhostapd.wpa_psk7 # keyid=<keyid_string>
17 keyid=example_id 00:11:22:33:44:77 passphrase with keyid
/third_party/openssl/test/smime-certs/
Dca.cnf43 authorityKeyIdentifier=keyid
55 authorityKeyIdentifier=keyid
65 authorityKeyIdentifier=keyid:always
/third_party/rust/crates/rust-openssl/openssl/src/x509/
Dextension.rs409 keyid: Option<bool>, field
424 keyid: None, in new()
436 pub fn keyid(&mut self, always: bool) -> &mut AuthorityKeyIdentifier { in keyid() method
437 self.keyid = Some(always); in keyid()
452 match self.keyid { in build()
/third_party/openssl/demos/certs/apps/
Dapps.cnf52 authorityKeyIdentifier=keyid
62 authorityKeyIdentifier=keyid:always
/third_party/node/tools/
Drelease.sh44 gpgkey=$(gpg --list-secret-keys --keyid-format SHORT | awk -F'( +|/)' '/^(sec|ssb)/{print $3}')
68 gpgfing=$(gpg --keyid-format 0xLONG --fingerprint "$gpgkey" | grep 'Key fingerprint =' | awk -F' = …
/third_party/openssl/ohos_lite/include/openssl/
Dcms.h164 ASN1_OCTET_STRING **keyid,
229 ASN1_OCTET_STRING **keyid,
308 ASN1_OCTET_STRING **keyid,
315 ASN1_OCTET_STRING **keyid,
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dap_config.c281 const char *keyid; in hostapd_config_read_wpa_psk() local
319 keyid = NULL; in hostapd_config_read_wpa_psk()
331 keyid = value; in hostapd_config_read_wpa_psk()
393 if (keyid) { in hostapd_config_read_wpa_psk()
394 len = os_strlcpy(psk->keyid, keyid, sizeof(psk->keyid)); in hostapd_config_read_wpa_psk()
395 if ((size_t) len >= sizeof(psk->keyid)) { in hostapd_config_read_wpa_psk()

12345