Home | History | Annotate | Download | only in softkeymaster

Lines Matching full:datalength

491         const size_t dataLength, uint8_t** signedData, size_t* signedDataLength) {
511 if (DSA_sign(0, data, dataLength, tmp, &dsaSize, dsa.get()) <= 0) {
523 const size_t dataLength, uint8_t** signedData, size_t* signedDataLength) {
543 if (ECDSA_sign(0, data, dataLength, tmp, &ecdsaSize, eckey.get()) <= 0) {
556 const size_t dataLength, uint8_t** signedData, size_t* signedDataLength) {
571 UniquePtr<uint8_t> signedDataPtr(reinterpret_cast<uint8_t*>(malloc(dataLength)));
578 if (RSA_private_encrypt(dataLength, data, tmp, rsa.get(), RSA_NO_PADDING) <= 0) {
583 *signedDataLength = dataLength;
593 const uint8_t* data, const size_t dataLength,
611 return sign_dsa(pkey.get(), sign_params, data, dataLength, signedData, signedDataLength);
614 return sign_ec(pkey.get(), sign_params, data, dataLength, signedData, signedDataLength);
617 return sign_rsa(pkey.get(), sign_params, data, dataLength, signedData, signedDataLength);