Lines Matching refs:Length

312 			kmfcert->certificate.Length = value_len;
335 kmfcert->certificate.Length = 0;
411 name.Length = certattr.ulValueLen;
432 name.Length = certattr.ulValueLen;
761 kmf_cert->certificate.Length = 0;
813 Modulus.Length);
815 Exponent.Data, Exponent.Length);
824 Modulus.Length = rsaTemplate[2].ulValueLen;
825 Modulus.Data = malloc(Modulus.Length);
829 Exponent.Length = rsaTemplate[3].ulValueLen;
830 Exponent.Data = malloc(Exponent.Length);
837 Modulus.Length);
839 Exponent.Data, Exponent.Length);
864 Modulus.Length, Exponent.Data,
865 Exponent.Length) == -1) {
890 Prime.Length);
892 Subprime.Length);
894 Base.Length);
896 Value.Length);
905 Prime.Length = dsaTemplate[2].ulValueLen;
906 Prime.Data = malloc(Prime.Length);
911 Subprime.Length = dsaTemplate[3].ulValueLen;
912 Subprime.Data = malloc(Subprime.Length);
918 Base.Length = dsaTemplate[4].ulValueLen;
919 Base.Data = malloc(Base.Length);
926 Value.Length = dsaTemplate[5].ulValueLen;
927 Value.Data = malloc(Value.Length);
935 Prime.Length);
937 Subprime.Length);
939 Base.Length);
941 Value.Length);
970 Prime.Length, Subprime.Data, Subprime.Length,
971 Base.Data, Base.Length) == -1) {
1000 Value.Data, Value.Length) == -1) {
1057 spki.algorithm.parameters.Length = PubKeyParams->bv_len;
1060 spki.algorithm.parameters.Length = 0;
1065 spki.subjectPublicKey.Length = EncodedKey->bv_len;
1068 spki.subjectPublicKey.Length = 0;
1116 if (pcert == NULL || pcert->Data == NULL || pcert->Length == 0)
1138 subject_len = data.Length;
1148 issuer_len = data.Length;
1186 SETATTR(x509templ, i, CKA_VALUE, pcert->Data, pcert->Length); i++;
1187 SETATTR(x509templ, i, CKA_ID, Id.Data, Id.Length); i++;
1241 if (cert == NULL || cert->Data == NULL || cert->Length == 0)
1303 rv = kmf_pem_to_der(cert1.Data, cert1.Length,
1308 cert2.Length = (size_t)derlen;
1606 curveoid->Data, curveoid->Length);
1764 IDInput.Length = modulusLength;
1813 IDInput.Length = valueLen;
1868 IDInput.Length = valueLen;
1907 IDOutput.Length = sizeof (IDHashData);
1910 SHA1Update(&ctx, IDInput.Data, IDInput.Length);
1913 IDOutput.Length = SHA1_DIGEST_LENGTH;
1920 SETATTR(idattr, 0, CKA_ID, IDOutput.Data, IDOutput.Length);
2056 hashData.Length = sizeof (digest);
2065 hashData.Length = tobesigned->Length;
2086 hashData.Length = subprime.ulValueLen;
2100 ckrv = C_Sign(hSession, hashData.Data, hashData.Length,
2101 output->Data, (CK_ULONG *)&output->Length);
2261 SETATTR(templ, 3, CKA_ID, Id.Data, Id.Length);
2400 blocks = ciphertext->Length/block_len;
2429 output->Length = total_decrypted;
2684 rawec->params.Length = ec_attrs[0].ulValueLen;
2926 iddata->Length = len;
2933 iddata->Length = 0;
2944 iddata->Length = i;
3047 SETATTR(pTmpl, i, CKA_ID, iddata.Data, iddata.Length);
3286 id.Length = 0;
3301 SETATTR(templ, i, CKA_SUBJECT, subject.Data, subject.Length);
3317 if (id.Data != NULL && id.Data != NULL && id.Length > 0) {
3318 SETATTR(templ, i, CKA_ID, id.Data, id.Length);
3380 rawkey->id.Length);
3456 rawkey->rawdata.ec.params.Length);