[erlang-questions] Problem with legacy code when upgrading to R16B03

Felix Gallo felixgallo@REDACTED
Tue Feb 17 23:10:56 CET 2015


I'm not super familiar with the crypto library, but it looks like its
function signatures changed significantly between 15B01 and 16B03.  In
particular, it appears that some of the functions you are calling are no
longer in the library, and have been replaced with equivalents.

I suggest opening

http://erldocs.com/R15B01/crypto/crypto.html

and

http://erldocs.com/R16B03/crypto/crypto.html

and seeing if you can figure out where the changes occurred.  I suspect
those are the cause of your badargs.

F.

On Tue, Feb 17, 2015 at 1:55 PM, Ryan Brown <ryankbrown@REDACTED> wrote:

> Hello all,
>
> I am in the process of upgrading a legacy application from R15B01 to
> R16B03 in order to get SHA 384 support. However, I am getting an error
> creating my CMAC from the library located here:
>
> https://github.com/PearsonEducation/subpub/blob/master/src/omac1.erl
>
> For the life of me I cannot find the root cause. I am just receiving a
> badarg error pointing to line 74.
>
> Any guidance would be greatly appreciated.
>
> Thank you.
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150217/47f7b3c7/attachment.htm>


More information about the erlang-questions mailing list