Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c782 BerValue *PubKeyParams = NULL, *EncodedKey = NULL; in KMFPK11_EncodePubKeyData() local
871 if (kmfber_flatten(asn1, &EncodedKey) == -1) { in KMFPK11_EncodePubKeyData()
1005 if (kmfber_flatten(asn1, &EncodedKey) == -1) { in KMFPK11_EncodePubKeyData()
1018 EncodedKey = calloc(1, sizeof (BerValue)); in KMFPK11_EncodePubKeyData()
1019 if (EncodedKey == NULL) { in KMFPK11_EncodePubKeyData()
1042 EncodedKey->bv_val = (char *)ec_point; in KMFPK11_EncodePubKeyData()
1043 EncodedKey->bv_len = ecdsaTemplate[1].ulValueLen; in KMFPK11_EncodePubKeyData()
1063 if (EncodedKey != NULL) { 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()
[all …]