Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c243 dst_sign_data(const int mode, DST_KEY *in_key, void **context, in dst_sign_data() argument
250 (in_key->dk_KEY_struct == NULL || signature == NULL)) in dst_sign_data()
253 if (in_key->dk_func && in_key->dk_func->sign) in dst_sign_data()
254 return (in_key->dk_func->sign(mode, in_key, context, data, len, in dst_sign_data()
286 dst_verify_data(const int mode, DST_KEY *in_key, void **context, in dst_verify_data() argument
292 (in_key->dk_KEY_struct == NULL || signature == NULL)) in dst_verify_data()
295 if (in_key->dk_func == NULL || in_key->dk_func->verify == NULL) in dst_verify_data()
297 return (in_key->dk_func->verify(mode, in_key, context, data, len, in dst_verify_data()
H A Dhmac_link.c395 dst_hmac_md5_to_dns_key(const DST_KEY *in_key, u_char *out_str, in dst_hmac_md5_to_dns_key() argument
402 if (in_key == NULL || in_key->dk_KEY_struct == NULL || in dst_hmac_md5_to_dns_key()
403 out_len <= in_key->dk_key_size || out_str == NULL) in dst_hmac_md5_to_dns_key()
406 hkey = (HMAC_Key *) in_key->dk_KEY_struct; in dst_hmac_md5_to_dns_key()
407 for (i = 0; i < in_key->dk_key_size; i++) in dst_hmac_md5_to_dns_key()
/titanic_41/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c276 crypto_copy_key_to_ctx(crypto_key_t *in_key, crypto_key_t **out_key, in crypto_copy_key_to_ctx() argument
285 ASSERT(in_key->ck_format == CRYPTO_KEY_ATTR_LIST); in crypto_copy_key_to_ctx()
287 count = in_key->ck_count; in crypto_copy_key_to_ctx()
292 len += roundup(in_key->ck_attrs[i].oa_value_len, in crypto_copy_key_to_ctx()
306 k_attrs[i].oa_type = in_key->ck_attrs[i].oa_type; in crypto_copy_key_to_ctx()
307 bcopy(in_key->ck_attrs[i].oa_value, attr_val, in crypto_copy_key_to_ctx()
308 in_key->ck_attrs[i].oa_value_len); in crypto_copy_key_to_ctx()
310 k_attrs[i].oa_value_len = in_key->ck_attrs[i].oa_value_len; in crypto_copy_key_to_ctx()
/titanic_41/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_hash.c104 #define DAPL_HASHLOOKUP(p_table, in_key, out_datum, bucket_head) \ argument
107 &((p_table)->table)[DAPL_DOHASH(in_key, (p_table)->tbl_size)]; \
110 } else if (element->key == (DAPL_HASH_KEY) (in_key)) { \
115 (in_key), \
/titanic_41/usr/src/uts/common/crypto/io/
H A Dcrypto.c2354 copyin_key(int mode, crypto_session_data_t *sp, crypto_key_t *in_key, in copyin_key() argument
2368 bcopy(in_key, STRUCT_BUF(key), STRUCT_SIZE(key)); in copyin_key()