Home
last modified time | relevance | path

Searched refs:serialNumber (Results 1 – 21 of 21) sorted by relevance

/titanic_41/usr/src/cmd/cmd-crypto/pktool/
H A Dtokens.c90 token_info.manufacturerID, token_info.serialNumber, in pk_tokens()
/titanic_41/usr/src/lib/libkmf/libkmf/common/
H A Dpk11tokens.c382 max_sz = sizeof ((char *)(token_info.serialNumber)); in kmf_pk11_token_lookup()
383 if (memcmp_pad_max(&(token_info.serialNumber), max_sz, in kmf_pk11_token_lookup()
H A Dcertop.c297 tbs_cert->serialNumber.val == NULL || in kmf_encode_cert_record()
298 tbs_cert->serialNumber.len == 0 || in kmf_encode_cert_record()
H A Dcertgetsetop.c2026 return (set_bigint(&CertData->certificate.serialNumber, serno)); in kmf_set_cert_serial()
H A Dgeneralop.c1215 kmf_free_bigint(&tbscert->serialNumber); in kmf_free_tbs_cert()
/titanic_41/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dloadsave.c491 READ_TOKEN_INFO_STR(fp, td->token_info.serialNumber, in load_token_data()
492 sizeof (td->token_info.serialNumber)); in load_token_data()
580 WRITE_TOKEN_INFO_STR(fp, td->token_info.serialNumber, in save_token_data()
581 sizeof (td->token_info.serialNumber)); in save_token_data()
H A Dutility.c377 (void) memset(token_info->serialNumber, ' ', in init_token_info()
378 sizeof (token_info->serialNumber)); in init_token_info()
/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSlotToken.c187 (void) memset(metainfo.serialNumber, ' ', 16); in meta_GetTokenInfo()
/titanic_41/usr/src/cmd/cmd-crypto/cryptoadm/
H A Dadm_metaslot.c223 token_info.serialNumber, in list_metaslot_info()
H A Dadm_uef.c390 tokeninfo.serialNumber, in list_mechlist_for_lib()
/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlotToken.c170 pInfo->serialNumber, CRYPTO_EXT_SIZE_SERIAL); in C_GetTokenInfo()
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSlotToken.c341 (void) strncpy((char *)pInfo->serialNumber, SOFT_TOKEN_SERIAL, 16); in C_GetTokenInfo()
/titanic_41/usr/src/lib/libkmf/ber_der/common/
H A Dclasn1.c171 free_bigint(&tbscert->serialNumber); in free_tbscert()
1312 if ((ret = set_bigint(&tbscert->serialNumber, &serno)) != KMF_OK) in decode_tbscert_data()
1633 (char *)tbscert->serialNumber.val, in encode_tbs_cert()
1634 (size_t)tbscert->serialNumber.len) == -1) { in encode_tbs_cert()
/titanic_41/usr/src/lib/libkmf/include/
H A Dkmftypes.h571 KMF_BIGINT serialNumber; member
/titanic_41/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c497 sernum = &node->cert->serialNumber; in nss_find_matching_certs()
2909 if (SECITEM_CompareItem(&(cert->serialNumber), in NSS_FindCertInCRL()
2910 &(entry->serialNumber)) == SECEqual) { in NSS_FindCertInCRL()
/titanic_41/usr/src/lib/pkcs11/include/
H A Dpkcs11t.h155 CK_CHAR serialNumber[16]; /* blank padded */ member
/titanic_41/usr/src/lib/libima/common/
H A Dima.h903 IMA_WCHAR serialNumber[64]; member
/titanic_41/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c1155 if (signed_cert_ptr->certificate.serialNumber.len > 0 && in CreateCertObject()
1156 signed_cert_ptr->certificate.serialNumber.val != NULL) { in CreateCertObject()
1157 serial = signed_cert_ptr->certificate.serialNumber.val; in CreateCertObject()
1158 serno_len = signed_cert_ptr->certificate.serialNumber.len; in CreateCertObject()
/titanic_41/usr/src/cmd/lofiadm/
H A Dmain.c1218 strncmp((char *)token->serno, (char *)tokinfo.serialNumber, in match_token_cipher()
/titanic_41/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c518 bn = ASN1_INTEGER_to_BN(xcert->cert_info->serialNumber, NULL); in check_cert()
5429 if (ASN1_INTEGER_cmp(xcert->cert_info->serialNumber, in OpenSSL_FindCertInCRL()
5430 revoke->serialNumber) == 0) { in OpenSSL_FindCertInCRL()
/titanic_41/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c6544 tmp_ret = M_ASN1_INTEGER_cmp(cert->cert_info->serialNumber,