Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dmech_rsa.c35 CK_ULONG *out_data_len,
57 CK_ULONG * out_data_len, in ckm_rsa_encrypt() argument
76 out_data, out_data_len, key_obj); in ckm_rsa_encrypt()
87 CK_ULONG * out_data_len, in ckm_rsa_decrypt() argument
108 out_data, out_data_len, key_obj); in ckm_rsa_decrypt()
119 CK_ULONG * out_data_len, in ckm_rsa_sign() argument
138 out_data_len, key_obj); in ckm_rsa_sign()
149 CK_ULONG out_data_len, in ckm_rsa_verify() argument
168 out_data_len, key_obj); in ckm_rsa_verify()
181 CK_ULONG *out_data_len) in rsa_pkcs_encrypt() argument
[all …]
H A Dmech_md5.c303 CK_ULONG *out_data_len) in md5_hash() argument
305 if (! sess || ! ctx || ! out_data_len) { in md5_hash()
309 *out_data_len = MD5_DIGEST_LENGTH; in md5_hash()
327 CK_ULONG * out_data_len) in md5_hmac_sign() argument
340 if (! sess || ! ctx || ! out_data_len) { in md5_hmac_sign()
348 *out_data_len = 0; in md5_hmac_sign()
356 *out_data_len = hmac_len; in md5_hmac_sign()
386 hash_len = *out_data_len; in md5_hmac_sign()
478 *out_data_len = hmac_len; in md5_hmac_sign()
H A Dmech_sha.c36 CK_ULONG *out_data_len) in sha1_hash() argument
38 if (! sess || ! ctx || ! out_data_len) { in sha1_hash()
41 *out_data_len = SHA1_DIGEST_LENGTH; in sha1_hash()
62 CK_ULONG * out_data_len) { in sha1_hmac_sign() argument
74 if (! sess || ! ctx || ! out_data_len) { in sha1_hmac_sign()
82 *out_data_len = 0; in sha1_hmac_sign()
89 *out_data_len = hmac_len; in sha1_hmac_sign()
207 *out_data_len = hmac_len; in sha1_hmac_sign()
H A Dsign_mgr.c256 CK_ULONG * out_data_len) in sign_mgr_sign() argument
281 out_data, out_data_len)); in sign_mgr_sign()
286 out_data, out_data_len)); in sign_mgr_sign()
292 out_data, out_data_len)); in sign_mgr_sign()
297 out_data, out_data_len)); in sign_mgr_sign()
364 CK_ULONG * out_data_len) in sign_mgr_sign_recover() argument
389 out_data, out_data_len)); in sign_mgr_sign_recover()
H A Ddig_mgr.c378 CK_ULONG *out_data_len) in digest_mgr_digest() argument
397 if (!length_only && *out_data_len < SHA1_DIGEST_LENGTH) in digest_mgr_digest()
400 in_data, in_data_len, out_data, out_data_len)); in digest_mgr_digest()
403 if (!length_only && *out_data_len < MD5_DIGEST_LENGTH) in digest_mgr_digest()
406 in_data, in_data_len, out_data, out_data_len)); in digest_mgr_digest()
H A Ddecr_mgr.c166 CK_ULONG *out_data_len) in decr_mgr_decrypt() argument
184 out_data_len)); in decr_mgr_decrypt()
H A Dencr_mgr.c165 CK_ULONG *out_data_len) in encr_mgr_encrypt() argument
183 out_data_len)); in encr_mgr_encrypt()
H A Dtpm_specific.c2407 CK_ULONG * out_data_len) in tpm_decrypt_data() argument
2458 if (*out_data_len < buf_size + outlen) { in tpm_decrypt_data()
2473 *out_data_len = outlen; in tpm_decrypt_data()
2483 CK_ULONG * out_data_len, in token_specific_rsa_decrypt() argument
2494 out_data, out_data_len); in token_specific_rsa_decrypt()
2556 CK_ULONG * out_data_len, in token_specific_rsa_sign() argument
2593 if (sig_len > *out_data_len) { in token_specific_rsa_sign()
2599 *out_data_len = sig_len; in token_specific_rsa_sign()
2612 CK_ULONG *out_data_len) in tpm_encrypt_data() argument
2694 if (outlen + dataBlobSize > *out_data_len) { in tpm_encrypt_data()
[all …]
/titanic_50/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.c4753 decode_data(unsigned char **out_data, unsigned int *out_data_len, argument
4763 if (out_data == NULL || out_data_len == NULL)
4789 *out_data_len = len;