Searched refs:spki (Results 1 – 7 of 7) sorted by relevance
/titanic_50/usr/src/lib/libkmf/ber_der/common/ |
H A D | clasn1.c | 74 free_decoded_spki(KMF_X509_SPKI *spki) in free_decoded_spki() argument 76 if (spki != NULL) { in free_decoded_spki() 77 free_algoid(&spki->algorithm); in free_decoded_spki() 78 free_data(&spki->subjectPublicKey); in free_decoded_spki() 338 encode_spki(BerElement *asn1, KMF_X509_SPKI *spki) in encode_spki() argument 349 if ((ret = encode_algoid(asn1, &spki->algorithm, TRUE)) != KMF_OK) in encode_spki() 352 if (kmfber_printf(asn1, "B}", spki->subjectPublicKey.Data, in encode_spki() 353 spki->subjectPublicKey.Length * 8) == -1) in encode_spki() 360 DerEncodeSPKI(KMF_X509_SPKI *spki, KMF_DATA *EncodedSPKI) in DerEncodeSPKI() argument 366 if (spki == NULL || EncodedSPKI == NULL) in DerEncodeSPKI() [all …]
|
/titanic_50/usr/src/lib/libkmf/libkmf/common/ |
H A D | pk11keys.c | 704 GetIDFromSPKI(KMF_X509_SPKI *spki, KMF_DATA *ID) in GetIDFromSPKI() argument 712 if (ID == NULL || spki == NULL) in GetIDFromSPKI() 721 algId = x509_algoid_to_algid(&spki->algorithm.algorithm); in GetIDFromSPKI() 725 rv = ExtractSPKIData(spki, algId, KeyParts, &uNumKeyParts); in GetIDFromSPKI()
|
H A D | certop.c | 840 KMF_X509_SPKI spki; in kmf_verify_data() local 945 ret = DerDecodeSPKI(&derkey, &spki); in kmf_verify_data() 947 ret = PKCS_VerifyData(handle, sigAlg, &spki, in kmf_verify_data() 953 kmf_free_algoid(&spki.algorithm); in kmf_verify_data() 954 kmf_free_data(&spki.subjectPublicKey); in kmf_verify_data() 3166 KMF_X509_SPKI spki; in verify_cert_with_key() local 3177 (void) memset(&spki, 0, sizeof (KMF_X509_SPKI)); in verify_cert_with_key() 3185 ret = DerDecodeSPKI(derkey, &spki); in verify_cert_with_key() 3216 ret = PKCS_VerifyData(handle, algid, &spki, in verify_cert_with_key() 3239 kmf_free_algoid(&spki.algorithm); in verify_cert_with_key() [all …]
|
H A D | generalop.c | 1273 kmf_free_spki(KMF_X509_SPKI *spki) in kmf_free_spki() argument 1275 if (spki != NULL) { in kmf_free_spki() 1276 kmf_free_algoid(&spki->algorithm); in kmf_free_spki() 1277 kmf_free_data(&spki->subjectPublicKey); in kmf_free_spki()
|
/titanic_50/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
H A D | pkcs11_spi.c | 783 KMF_X509_SPKI spki; in KMFPK11_EncodePubKeyData() local 1053 spki.algorithm.algorithm = *Algorithm; in KMFPK11_EncodePubKeyData() 1055 spki.algorithm.parameters.Data = in KMFPK11_EncodePubKeyData() 1057 spki.algorithm.parameters.Length = PubKeyParams->bv_len; in KMFPK11_EncodePubKeyData() 1059 spki.algorithm.parameters.Data = NULL; in KMFPK11_EncodePubKeyData() 1060 spki.algorithm.parameters.Length = 0; in KMFPK11_EncodePubKeyData() 1064 spki.subjectPublicKey.Data = (uchar_t *)EncodedKey->bv_val; in KMFPK11_EncodePubKeyData() 1065 spki.subjectPublicKey.Length = EncodedKey->bv_len; in KMFPK11_EncodePubKeyData() 1067 spki.subjectPublicKey.Data = NULL; in KMFPK11_EncodePubKeyData() 1068 spki.subjectPublicKey.Length = 0; in KMFPK11_EncodePubKeyData() [all …]
|
/titanic_50/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 1092 CERTSubjectPublicKeyInfo *spki = NULL; in NSS_EncodePubKeyData() local 1097 spki = SECKEY_CreateSubjectPublicKeyInfo(keyp->keyp); in NSS_EncodePubKeyData() 1098 if (spki == NULL) { in NSS_EncodePubKeyData() 1103 rvitem = SEC_ASN1EncodeItem(NULL, NULL, spki, in NSS_EncodePubKeyData() 1120 SECKEY_DestroySubjectPublicKeyInfo(spki); in NSS_EncodePubKeyData()
|
/titanic_50/usr/src/lib/libslp/clib/ |
H A D | slp_ami.h | 513 struct ami_pubkey_info *spki; member
|