Searched defs:signed_data (Results 1 - 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | csrcrlop.c | 369 KMF_DATA signed_data = { 0, NULL }; local 389 signed_data.Length = SubjectCsr->Length*2; 390 signed_data.Data = calloc(1, signed_data.Length); 391 if (!signed_data.Data) { 410 &signed_data, sizeof (KMF_DATA)); 442 ret = DerEncodeDSASignature(&signed_data, &signature); 443 kmf_free_data(&signed_data); 450 subj_csr.signature.encrypted = signed_data; 467 kmf_free_data(&signed_data); [all...] |
H A D | certop.c | 734 /* Get the tbs_data and signed_data attributes now */ 3009 KMF_DATA signed_data = { 0, NULL }; local 3039 signed_data.Length = data_to_sign.Length*2; 3040 signed_data.Data = calloc(1, signed_data.Length); 3041 if (!signed_data.Data) { 3090 &signed_data, sizeof (KMF_DATA)); 3111 ret = DerEncodeECDSASignature(&signed_data, &signature); 3112 kmf_free_data(&signed_data); 3126 ret = DerEncodeDSASignature(&signed_data, 3168 KMF_DATA signed_data = { 0, NULL }; local 3259 KMF_DATA signed_data = { 0, NULL }; local [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softRSA.c | 534 CK_BYTE signed_data[MAX_RSA_KEYLENGTH_IN_BYTES]; local 614 rv = soft_rsa_decrypt(key, plain_data, modulus_len, signed_data); 617 (void) memcpy(pSigned, signed_data, modulus_len);
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | ecc.c | 648 uchar_t signed_data[EC_MAX_SIG_LEN]; local 679 signature_item.data = signed_data; 680 signature_item.len = sizeof (signed_data); 693 if ((rv = crypto_put_output_data(signed_data, 850 uchar_t signed_data[EC_MAX_SIG_LEN]; local 862 if (signature->cd_length > sizeof (signed_data)) { 867 signed_data)) != CRYPTO_SUCCESS) {
|
H A D | rsa.c | 1059 uchar_t signed_data[MAX_RSA_KEYLENGTH_IN_BYTES]; local 1112 rv = core_rsa_decrypt(key, plain_data, modulus_len, signed_data); 1115 if ((rv = crypto_put_output_data(signed_data,
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 1023 SECItem signed_data; local 1026 signed_data.data = 0; 1065 rv = SEC_SignData(&signed_data, tobesigned->Data, 1073 if (signed_data.len <= output->Length) { 1074 (void) memcpy(output->Data, signed_data.data, signed_data.len); 1075 output->Length = signed_data.len; 1080 free(signed_data.data);
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_crypto_openssl.c | 849 unsigned char **signed_data, 877 if (signed_data == NULL) 1130 if ((p = *signed_data = 1148 print_buffer_bin(*signed_data, *signed_data_len, 1152 print_buffer_bin(*signed_data, *signed_data_len, 1155 print_buffer_bin(*signed_data, *signed_data_len, 1196 unsigned char *signed_data, 1208 const unsigned char *p = signed_data; 1223 print_buffer_bin(signed_data, signed_data_len, 1533 unsigned char *p = NULL, *signed_data local 841 cms_signeddata_create(krb5_context context, pkinit_plg_crypto_context plg_cryptoctx, pkinit_req_crypto_context req_cryptoctx, pkinit_identity_crypto_context id_cryptoctx, int cms_msg_type, int include_certchain, unsigned char *data, unsigned int data_len, unsigned char **signed_data, unsigned int *signed_data_len) argument 1190 cms_signeddata_verify(krb5_context context, pkinit_plg_crypto_context plgctx, pkinit_req_crypto_context reqctx, pkinit_identity_crypto_context idctx, int cms_msg_type, int require_crl_checking, unsigned char *signed_data, unsigned int signed_data_len, unsigned char **data, unsigned int *data_len, unsigned char **authz_data, unsigned int *authz_data_len) argument [all...] |
Completed in 111 milliseconds