10-26-2009 11:39 PM
Hi Experts,
I can not find the information relevant to the Function Group SECH- specifically for HMAC.
Interested in the functional modules calculate_hmac_for_char, set_hmac_key, get_hmac_key.
Someone knows for valuable documents?
Thank you very much,
Jirka
10-26-2009 11:48 PM
Hi,
unfortunately SHA256 is not supported. As far as I know SAP does not support SHA256 in SAPCRYPTOLIB yet. I guess that C call just calls C routine from this library. Another problem is that the export parameter HASH of FM CALCULATE_HASH_FOR_CHAR is designed only for hash size 160bits. SHA256 generates hash with size 256. So there will have to be changes in ABAP code as well.
Cheers
10-27-2009 10:06 AM
Hi Martin,
thank you for your answer!
Unfortunately, I have the same information from the developers of SAP Security. They say that the only way is Secude. This information I had but only for encryption. From EHP1 group gained weight SECH hash function HMAC, but probably only for SHA1.
I know that SAP does not support encryption SHA2 (SHA256), but I was hoping for the signature and hash it will be able to.
You got yourself a contact e-mail?
Take care,
Jiri
10-28-2009 9:53 AM
Hi,
if you need HMAC with SHA256 in your ABAP application, then there should not be a big problem to port SHA256 to ABAP. Otherwise have to wait for SAP or look for 3rd part product.
Cheers