config_asm.h had goodness like this:
#if defined(__ANDROID__) || defined(ANDROID)
# undef CRYPTOPP_ARM_ACLE_HEADER
#endif
The ACLE hack is a workarounds from old NDKs that depended on GCC 4.8 and
4.9. The old GCC sources did not include the header.
Another hack from the old days was
Currently our setenv-*.sh files, like setenv-ios.sh, do not set CPPFLAGS,
CXXFLAGS and LDFLAGS. Instead they set prefixed flags like IOS_CPPFLAGS,
IOS_CXXFLAGS and IOS_LDFLAGS. GNUmakefile-cross then uses the prefixed
flags to build the library.
UB encountered a bad interaction where
Hi Everyone,
After working https://github.com/weidai11/cryptopp/issues/1015 to remove
the old Android workarounds, we were left with a crippled library when
using Android.mk. Android.mk lacked the arch specific flags because
ndk-build does not provide an easy way to add an arch flag, like
% xcodebuild -showsdks
iOS SDKs:
iOS 14.4-sdk iphoneos14.4
iOS Simulator SDKs:
Simulator - iOS 14.4-sdk iphonesimulator14.4
macOS SDKs:
DriverKit 20.2 -sdk driverkit.macosx20.2
macOS 11.1
cipher.size() doesn't help :/
the problem is not related to size but the xct pointer itself
however, if I do something similar with mac, it works
*const* byte* xmac = *reinterpret_cast*<*const* byte*>(strMac.data());
dec.DecryptAndVerify(rt, xmac, *sizeof*(xmac), iv, sizeof(iv), aad,
I have Xcode Version 12.4 (12D4e) and I downloaded Crypto++ 8.5.0
I see TestData/Programs/Vectors folders but don't have TestScripts
On Monday, 8 March 2021 at 03:44:44 UTC-5 Jeffrey Walton wrote:
> On Monday, March 8, 2021 at 12:27:22 AM UTC-5 Jeffrey Walton wrote:
>
>> On Sunday, March 7,
On Tue, Mar 9, 2021 at 4:12 PM Devharsh Trivedi wrote:
>
> I have Xcode Version 12.4 (12D4e) and I downloaded Crypto++ 8.5.0
You also need a few SDKs, like iPhoneOS, WatchOS, AppleTVOS.
> I see TestData/Programs/Vectors folders but don't have TestScripts
TestScripts can be found in Git master.
Thank you for your reply.
I am following this example
- https://www.cryptopp.com/wiki/XChaCha20Poly1305
and trying to use std::string instead of byte
instead of using byte array for ct like this
dec.DecryptAndVerify(rt, mac, sizeof(mac), iv, sizeof(iv), aad,
sizeof(aad), ct, sizeof(ct));
I
On Tuesday, March 9, 2021 at 3:45:47 PM UTC-5 devhar...@gmail.com wrote:
> Thank you for your reply.
>
> I am following this example -
> https://www.cryptopp.com/wiki/XChaCha20Poly1305
>
> and trying to use std::string instead of byte
>
> instead of using byte array for ct like this
>
=iPhoneOS:armv7 ==> SUCCESSiPhoneOS:arm64 ==> SUCCESSiPhoneOS:arm64 : AES ==> SUCCESSiPhoneOS:arm64 : PMULL ==> SUCCESSiPhoneOS:arm64 : SHA1 ==> SUCCESSiPhoneOS:arm64 : SHA2 ==> SUCCESSAppleTVOS:armv7 ==> FAILUREAppleTVOS:arm64 ==>
I sent you output fileSending again here —
--
You received this message because you are subscribed to the Google Groups "Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cryptopp-users+unsubscr...@googlegroups.com.
To view this
On Tue, Mar 9, 2021 at 7:06 PM Devharsh Trivedi wrote:
>
> =
> iPhoneOS:armv7 ==> SUCCESS
> iPhoneOS:arm64 ==> SUCCESS
> iPhoneOS:arm64 : AES ==> SUCCESS
> iPhoneOS:arm64 : PMULL ==> SUCCESS
> iPhoneOS:arm64 : SHA1 ==> SUCCESS
> iPhoneOS:arm64 :
On Tue, Mar 9, 2021 at 7:22 PM Devharsh Trivedi wrote:
>
> I sent you output file
Yes, thanks. I missed it the first time around.
Re: WatchOS... I've seen similar errors before. Do you know what a
typical value for -mappletvos-version-min is? (I've tried 6 through
10, but none of them are
13 matches
Mail list logo