Searched refs:keyid_str (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/common/net/wanboot/ |
H A D | p12misc.c | 262 sunw_set_localkeyid(const char *keyid_str, int keyid_len, EVP_PKEY *pkey, in sunw_set_localkeyid() argument 272 if (X509_keyid_set1(cert, (uchar_t *)keyid_str, keyid_len) in sunw_set_localkeyid() 281 M_ASN1_OCTET_STRING_set(str, keyid_str, keyid_len) == 0 || in sunw_set_localkeyid() 350 char **keyid_str, int *keyid_len) in sunw_get_pkey_localkeyid() argument 358 if (keyid_str != NULL) in sunw_get_pkey_localkeyid() 359 *keyid_str = NULL; in sunw_get_pkey_localkeyid() 386 if ((*keyid_str = malloc(len)) == NULL) { in sunw_get_pkey_localkeyid() 391 (void) memcpy(*keyid_str, str->data, len); in sunw_get_pkey_localkeyid() 494 sunw_find_localkeyid(char *keyid_str, int len, STACK_OF(EVP_PKEY) *pkeys, in sunw_find_localkeyid() argument 503 if (keyid_str == NULL || in sunw_find_localkeyid() [all …]
|
/titanic_50/usr/src/lib/libpkg/common/ |
H A D | p12lib.c | 959 sunw_set_localkeyid(const char *keyid_str, int keyid_len, EVP_PKEY *pkey, in sunw_set_localkeyid() argument 969 if (X509_keyid_set1(cert, (uchar_t *)keyid_str, keyid_len) in sunw_set_localkeyid() 978 M_ASN1_OCTET_STRING_set(str, keyid_str, keyid_len) == 0 || in sunw_set_localkeyid() 1047 char **keyid_str, int *keyid_len) in sunw_get_pkey_localkeyid() argument 1055 if (keyid_str != NULL) in sunw_get_pkey_localkeyid() 1056 *keyid_str = NULL; in sunw_get_pkey_localkeyid() 1083 if ((*keyid_str = malloc(len)) == NULL) { in sunw_get_pkey_localkeyid() 1088 (void) memcpy(*keyid_str, str->data, len); in sunw_get_pkey_localkeyid() 1191 sunw_find_localkeyid(char *keyid_str, int len, STACK_OF(EVP_PKEY) *pkeys, in sunw_find_localkeyid() argument 1200 if (keyid_str == NULL || in sunw_find_localkeyid() [all …]
|