Home
last modified time | relevance | path

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

12345678

/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_property.c195 char signature[1024]; in create_BasicProperty() local
208 (void) snprintf(signature, sizeof (signature), in create_BasicProperty()
221 (void) snprintf(signature, sizeof (signature), in create_BasicProperty()
288 char signature[1024]; in create_ObjectProperty() local
295 (void) snprintf(signature, sizeof (signature), in create_ObjectProperty()
307 (void) snprintf(signature, sizeof (signature), in create_ObjectProperty()
341 char signature[1024]; in create_default_BasicProperty() local
354 (void) snprintf(signature, sizeof (signature), in create_default_BasicProperty()
419 (void) snprintf(signature, sizeof (signature), in create_default_ObjectProperty()
437 char signature[1024]; in str_to_enum_element() local
[all …]
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_sign.c147 crypto_data_t *signature, crypto_call_req_t *cr) in crypto_sign_single() argument
162 NULL, data, signature, NULL); in crypto_sign_single()
218 NULL, NULL, signature, NULL); in crypto_sign_final()
229 crypto_ctx_template_t tmpl, crypto_data_t *signature, in crypto_sign_prov() argument
248 key, data, signature, tmpl); in crypto_sign_prov()
305 key, data, spi_ctx_tmpl, signature, in sign_sr_atomic_common()
309 &lmech, key, data, spi_ctx_tmpl, signature, in sign_sr_atomic_common()
317 mech, key, data, signature, spi_ctx_tmpl); in sign_sr_atomic_common()
368 key, data, signature, tmpl); in crypto_sign_recover_prov()
432 crypto_data_t *signature, crypto_call_req_t *cr) in crypto_sign_recover_single() argument
[all …]
H A Dkcf_verify.c148 crypto_data_t *signature, crypto_call_req_t *cr) in crypto_verify_single() argument
163 NULL, data, signature, NULL); in crypto_verify_single()
220 NULL, NULL, NULL, signature, NULL); in crypto_verify_final()
231 crypto_ctx_template_t tmpl, crypto_data_t *signature, in crypto_verify_prov() argument
250 key, data, signature, tmpl); in crypto_verify_prov()
307 key, data, spi_ctx_tmpl, signature, in verify_vr_atomic_common()
312 &lmech, key, signature, spi_ctx_tmpl, data, in verify_vr_atomic_common()
320 mech, key, data, signature, spi_ctx_tmpl); in verify_vr_atomic_common()
342 crypto_ctx_template_t tmpl, crypto_data_t *signature, in crypto_verify() argument
370 sid, mech, key, data, signature, tmpl); in crypto_verify_recover_prov()
[all …]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Drsa.c970 signature->cd_length = modulus_len; in rsa_digest_svrfy_common()
1040 signature); in rsa_digest_svrfy_common()
1043 signature); in rsa_digest_svrfy_common()
1079 signature->cd_length = modulus_len; in rsa_sign_common()
1119 signature->cd_length = modulus_len; in rsa_sign_common()
1149 signature); in rsaprov_sign()
1228 signature); in rsa_sign_atomic()
1342 signature); in rsaprov_verify()
1429 signature); in rsa_verify_atomic()
1532 signature, data); in rsa_verify_recover()
[all …]
H A Decc.c610 if (signature->cd_length > 0) { in ecc_digest_svrfy_common()
697 signature->cd_length = signature_item.len; in ecc_sign_common()
717 signature, CRYPTO_DO_SIGN | CRYPTO_DO_UPDATE | in ecc_sign()
721 rv = ecc_sign_common(ctxp, data, signature, req); in ecc_sign()
822 rv = ecc_sign_common(&ctx, data, signature, req); in ecc_sign_atomic()
832 rv = ecc_digest_svrfy_common(&dctx, data, signature, in ecc_sign_atomic()
862 if (signature->cd_length > sizeof (signed_data)) { in ecc_verify_common()
870 signature_item.len = signature->cd_length; in ecc_verify_common()
920 rv = ecc_verify_common(ctxp, data, signature, req); in ecc_verify()
966 rv = ecc_digest_svrfy_common(ctxp, NULL, signature, in ecc_verify_final()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dverify_mgr.c235 CK_BYTE * signature, in verify_mgr_verify() argument
248 if (! in_data || ! signature) { in verify_mgr_verify()
259 signature, sig_len)); in verify_mgr_verify()
264 signature, sig_len)); in verify_mgr_verify()
270 signature, sig_len)); in verify_mgr_verify()
275 signature, sig_len)); in verify_mgr_verify()
312 CK_BYTE * signature, in verify_mgr_verify_final() argument
328 signature, sig_len)); in verify_mgr_verify_final()
338 CK_BYTE * signature, in verify_mgr_verify_recover() argument
353 if (! signature || ! out_len) { in verify_mgr_verify_recover()
[all …]
H A Dmech_rsa.c311 CK_BYTE * signature, in rsa_pkcs_verify() argument
348 CK_BYTE *signature, in rsa_pkcs_verify_recover() argument
393 CK_BYTE * signature, in rsa_hash_pkcs_sign() argument
464 ber_data_len, signature, sig_len); in rsa_hash_pkcs_sign()
523 CK_BYTE * signature, in rsa_hash_pkcs_verify() argument
593 ber_data_len, signature, sig_len); in rsa_hash_pkcs_verify()
648 CK_BYTE * signature, in rsa_hash_pkcs_sign_final() argument
711 ber_data_len, signature, sig_len); in rsa_hash_pkcs_sign_final()
730 CK_BYTE * signature, in rsa_hash_pkcs_verify_final() argument
746 if (! sess || ! ctx || ! signature) { in rsa_hash_pkcs_verify_final()
[all …]
/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c523 signature == NULL) in DerDecodeDSASignature()
527 signature->Length = 0; in DerDecodeDSASignature()
552 signature->Length++; in DerDecodeDSASignature()
554 signature->Length++; in DerDecodeDSASignature()
556 signature->Data = malloc(signature->Length); in DerDecodeDSASignature()
1443 char *signature; in DerDecodeSignedCertificate() local
1752 signature = &signed_cert_ptr->signature; in DerEncodeSignedCertificate()
1876 signature->Length = signature->Length / 8; in ExtractX509CertParts()
2016 char *signature; in DerDecodeSignedCsr() local
2069 csrptr->signature.encrypted.Data = (uchar_t *)signature; in DerDecodeSignedCsr()
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_tied.c57 sigv = &sig->signature[0]; in _dwarf_dumpsig()
87 memcpy(&hashv,enp->dt_key.signature,sizeof(hashv)); in _dwarf_tied_data_hashfunc()
96 const char *lcp = (const char *)&lp->dt_key.signature; in _dwarf_tied_compare_function()
97 const char *rcp = (const char *)&rp->dt_key.signature; in _dwarf_tied_compare_function()
162 Dwarf_Sig8 signature; in _dwarf_loop_reading_debug_info_for_cu() local
167 memset(&signature,0,sizeof(signature)); in _dwarf_loop_reading_debug_info_for_cu()
173 &signature, &has_signature, in _dwarf_loop_reading_debug_info_for_cu()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dcsrcrlop.c440 KMF_DATA signature; in sign_csr() local
448 subj_csr.signature.encrypted = signature; in sign_csr()
602 KMF_DATA signature; in kmf_verify_csr() local
604 &signature); in kmf_verify_csr()
610 &rawcsr, &signature); in kmf_verify_csr()
612 kmf_free_data(&signature); in kmf_verify_csr()
617 KMF_DATA signature; in kmf_verify_csr() local
619 &signature); in kmf_verify_csr()
625 &rawcsr, &signature); in kmf_verify_csr()
627 kmf_free_data(&signature); in kmf_verify_csr()
[all …]
H A Dcertop.c669 KMF_DATA signature = { 0, NULL }; in kmf_sign_data() local
790 (void) memcpy(output->Data, signature.Data, signature.Length); in kmf_sign_data()
797 if (signature.Data) in kmf_sign_data()
798 free(signature.Data); in kmf_sign_data()
3109 KMF_DATA signature; in sign_cert() local
3117 subj_cert->signature.encrypted = signature; in sign_cert()
3124 KMF_DATA signature; in sign_cert() local
3132 subj_cert->signature.encrypted = signature; in sign_cert()
3236 free(signature.Data); in verify_cert_with_key()
3260 KMF_DATA signature; in verify_cert_with_cert() local
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftVerifyUtil.c185 CK_BYTE signature[DES_BLOCK_LEN]; /* use the maximum size */ in soft_verify() local
193 ulDataLen, signature, &len, B_FALSE, B_FALSE); in soft_verify()
200 if (memcmp(signature, pSignature, len) != 0) { in soft_verify()
211 CK_BYTE signature[AES_BLOCK_LEN]; in soft_verify() local
219 ulDataLen, signature, &len, B_FALSE, B_FALSE); in soft_verify()
226 if (memcmp(signature, pSignature, len) != 0) { in soft_verify()
416 signature, &len, B_FALSE, B_TRUE); in soft_verify_final()
423 if (memcmp(signature, pSignature, len) != 0) { in soft_verify_final()
434 CK_BYTE signature[AES_BLOCK_LEN]; in soft_verify_final() local
442 signature, &len, B_FALSE, B_TRUE); in soft_verify_final()
[all …]
H A DsoftSignUtil.c178 CK_BYTE signature[DES_BLOCK_LEN]; /* use the maximum size */ in soft_sign() local
183 ulDataLen, signature, pulSignatureLen, B_TRUE, in soft_sign()
192 (void) memcpy(pSignature, signature, *pulSignatureLen); in soft_sign()
199 CK_BYTE signature[AES_BLOCK_LEN]; in soft_sign() local
204 ulDataLen, signature, pulSignatureLen, B_TRUE, in soft_sign()
213 (void) memcpy(pSignature, signature, *pulSignatureLen); in soft_sign()
386 CK_BYTE signature[DES_BLOCK_LEN]; /* use the maximum size */ in soft_sign_final() local
391 signature, pulSignatureLen, B_TRUE, B_TRUE); in soft_sign_final()
399 (void) memcpy(pSignature, signature, *pulSignatureLen); in soft_sign_final()
411 signature, pulSignatureLen, B_TRUE, B_TRUE); in soft_sign_final()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_thread.c47 thread->signature = SIG_ISCSI_THREAD; in iscsi_thread_create()
74 ASSERT(thread->signature == SIG_ISCSI_THREAD); in iscsi_thread_destroy()
109 thread->signature = (uint32_t)~SIG_ISCSI_THREAD; in iscsi_thread_destroy()
124 ASSERT(thread->signature == SIG_ISCSI_THREAD); in iscsi_thread_start()
179 ASSERT(thread->signature == SIG_ISCSI_THREAD); in iscsi_thread_stop()
222 ASSERT(thread->signature == SIG_ISCSI_THREAD); in iscsi_thread_send_kill()
256 ASSERT(thread->signature == SIG_ISCSI_THREAD); in iscsi_thread_send_wakeup()
291 ASSERT(thread->signature == SIG_ISCSI_THREAD); in iscsi_thread_check_signals()
311 ASSERT(thread->signature == SIG_ISCSI_THREAD); in iscsi_thread_wait()
367 ASSERT(thread->signature == SIG_ISCSI_THREAD); in iscsi_threads_entry()
H A Discsi_doorclt.c56 size_t signature; member
210 ASSERT(buffer->signature == ISCSI_DOOR_REQ_SIGNATURE); in kfreehostent()
211 if (buffer->signature == ISCSI_DOOR_REQ_SIGNATURE) { in kfreehostent()
281 buffer->signature = ISCSI_DOOR_REQ_SIGNATURE; in kgetipnodebyname()
331 req->hdr.signature = ISCSI_DOOR_REQ_SIGNATURE; in kgetipnodebyname()
375 (cnf->hdr.signature != ISCSI_DOOR_REQ_SIGNATURE) || in kgetipnodebyname()
H A DiscsiAuthClient.c1517 if (!client || client->signature != iscsiAuthClientSignature) { in iscsiAuthClientRecvBegin()
1556 if (!client || client->signature != iscsiAuthClientSignature) { in iscsiAuthClientRecvEnd()
1719 if (!client || client->signature != iscsiAuthClientSignature) { in iscsiAuthClientAuthResponse()
1801 if (!client || client->signature != iscsiAuthClientSignature) { in iscsiAuthClientRecvKeyValue()
1841 if (!client || client->signature != iscsiAuthClientSignature) { in iscsiAuthClientSendKeyValue()
1889 if (!client || client->signature != iscsiAuthClientSignature) { in iscsiAuthClientRecvTransitBit()
1913 if (!client || client->signature != iscsiAuthClientSignature) { in iscsiAuthClientSendTransitBit()
1994 client->signature = iscsiAuthClientSignature; in iscsiAuthClientInit()
2046 if (!client || client->signature != iscsiAuthClientSignature) { in iscsiAuthClientFinish()
2071 if (!client || client->signature != iscsiAuthClientSignature) { in iscsiAuthClientSetOptionList()
[all …]
/illumos-gate/usr/src/uts/sun4u/boston/os/
H A Dboston.c344 dp_cpu_signature_t signature; in cpu_sgn_update() local
380 current_sgn.signature = CPU_SIG_BLD(sig, state, sub_state); in cpu_sgn_update()
391 signature.cpu_id = -1; in cpu_sgn_update()
392 signature.sig = sig; in cpu_sgn_update()
393 signature.states = state; in cpu_sgn_update()
394 signature.sub_state = sub_state; in cpu_sgn_update()
396 req.msg_len = (int)(sizeof (signature)); in cpu_sgn_update()
398 req.msg_buf = (caddr_t)&signature; in cpu_sgn_update()
/illumos-gate/usr/src/uts/sun4u/seattle/os/
H A Dseattle.c346 dp_cpu_signature_t signature; in cpu_sgn_update() local
382 current_sgn.signature = CPU_SIG_BLD(sig, state, sub_state); in cpu_sgn_update()
393 signature.cpu_id = -1; in cpu_sgn_update()
394 signature.sig = sig; in cpu_sgn_update()
395 signature.states = state; in cpu_sgn_update()
396 signature.sub_state = sub_state; in cpu_sgn_update()
398 req.msg_len = (int)(sizeof (signature)); in cpu_sgn_update()
400 req.msg_buf = (caddr_t)&signature; in cpu_sgn_update()
/illumos-gate/usr/src/lib/libresolv2/common/dst/
H A Dhmac_link.c93 u_char *signature, const int sig_len) in dst_hmac_md5_sign() argument
120 if (signature == NULL || sig_len < MD5_LEN) in dst_hmac_md5_sign()
122 MD5Final(signature, ctx); in dst_hmac_md5_sign()
127 MD5Update(ctx, signature, MD5_LEN); in dst_hmac_md5_sign()
128 MD5Final(signature, ctx); in dst_hmac_md5_sign()
162 const u_char *signature, const int sig_len) in dst_hmac_md5_verify() argument
187 if (signature == NULL || key == NULL || sig_len != MD5_LEN) in dst_hmac_md5_verify()
198 if (memcmp(digest, signature, MD5_LEN) != 0) in dst_hmac_md5_verify()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dundi.h107 uint32_t signature; member
120 uint16_t signature; member
129 uint32_t signature; member
136 uint32_t signature; member
158 uint32_t signature; member
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_ami.h123 struct ami_algid *signature; member
141 ami_bitstring signature; member
211 ami_algid signature; member
227 ami_bitstring signature; member
262 ami_bitstring signature; member
314 struct ami_algid *signature; member
327 ami_bitstring signature; member
347 ami_bitstring signature; member
497 ami_bitstring signature; member
520 ami_bitstring signature; member
/illumos-gate/usr/src/common/crypto/ecc/
H A Dec.c631 ECDSA_SignDigestWithSeed(ECPrivateKey *key, SECItem *signature, in ECDSA_SignDigestWithSeed() argument
659 if (!key || !signature || !digest || !kb || (kblen < 0)) { in ECDSA_SignDigestWithSeed()
667 if (signature->data == NULL) { in ECDSA_SignDigestWithSeed()
671 if (signature->len < 2*olen) { in ECDSA_SignDigestWithSeed()
793 CHECK_MPI_OK( mp_to_fixlen_octets(&r, signature->data, olen) ); in ECDSA_SignDigestWithSeed()
796 signature->len = 2*olen; in ECDSA_SignDigestWithSeed()
868 ECDSA_VerifyDigest(ECPublicKey *key, const SECItem *signature, in ECDSA_VerifyDigest() argument
900 if (!key || !signature || !digest) { in ECDSA_VerifyDigest()
908 if (signature->len == 0 || signature->len%2 != 0 || in ECDSA_VerifyDigest()
909 signature->len > 2*olen) { in ECDSA_VerifyDigest()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_flash.c336 if (pcih->signature[0] != PCI_HEADER0 /* '55' */ || in ql_check_pci()
337 pcih->signature[1] != PCI_HEADER1 /* 'AA' */ || doff > 50) { in ql_check_pci()
340 pcih->signature[0], pcih->signature[1], doff); in ql_check_pci()
347 if (pcid->signature[0] != 'P' || pcid->signature[1] != 'C' || in ql_check_pci()
348 pcid->signature[2] != 'I' || pcid->signature[3] != 'R') { in ql_check_pci()
493 LITTLE_ENDIAN_32(&qlge->fltds.signature); in ql_flash_fltds()
499 __func__, qlge->instance, qlge->fltds.signature)); in ql_flash_fltds()
752 LITTLE_ENDIAN_32(&qlge->nic_config.signature); in ql_flash_nic_config()
764 qlge->instance, qlge->nic_config.signature)); in ql_flash_nic_config()
821 if (chksum != 0 || qlge->nic_config.signature != in ql_flash_nic_config()
[all …]
/illumos-gate/usr/src/uts/sun4u/lw8/os/
H A Dlw8_platmod.c1234 uint32_t signature = CPU_SIG_BLD(sig, state, sub_state); in cpu_sgn_update() local
1248 signature); in cpu_sgn_update()
1280 signature = CPU_SIG_BLD(sig, state, in cpu_sgn_update()
1290 SG_SGNBLK_CPUSIG_OFFSET(cpuid), (char *)&signature, in cpu_sgn_update()
1291 sizeof (signature)); in cpu_sgn_update()
1299 SG_SGNBLK_CPUSIG_OFFSET(i), (char *)&signature, in cpu_sgn_update()
1300 sizeof (signature)); in cpu_sgn_update()
1309 SG_SGNBLK_DOMAINSIG_OFFSET, (char *)&signature, in cpu_sgn_update()
1310 sizeof (signature)); in cpu_sgn_update()
/illumos-gate/usr/src/uts/sun4u/serengeti/os/
H A Dserengeti.c1219 uint32_t signature = CPU_SIG_BLD(sig, state, sub_state); in cpu_sgn_update() local
1233 signature); in cpu_sgn_update()
1265 signature = CPU_SIG_BLD(sig, state, in cpu_sgn_update()
1275 SG_SGNBLK_CPUSIG_OFFSET(cpuid), (char *)&signature, in cpu_sgn_update()
1276 sizeof (signature)); in cpu_sgn_update()
1284 SG_SGNBLK_CPUSIG_OFFSET(i), (char *)&signature, in cpu_sgn_update()
1285 sizeof (signature)); in cpu_sgn_update()
1294 SG_SGNBLK_DOMAINSIG_OFFSET, (char *)&signature, in cpu_sgn_update()
1295 sizeof (signature)); in cpu_sgn_update()

12345678