×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Scott Klement has some code that displays which algorithms are supported
on the release you are running. At V5R1, there are only 4 of them (MAC,
MD5, SHA-1, and DES (two-way).
At V5R3 there are 10 more.
I need to know what the algorithms are at V5R2 - maybe it's documented
somewhere, I looked in MTU - nothing there. I don't have the MI docs for
CIPHER at V5R2, InfoCenter doesn't have them anywhere that're obvious to me.
Here is an amended version of Scott's code, usable at V5R1 and on - his
takes advantage of LIKEDS in data structure subfields, which wasn't
available that far back.
Maybe someone still has a V5R2 system/partition - if so, please compile
and run this code and let me know the results.
Much appreciated!
Vern
H DFTACTGRP(*NO) BNDDIR('QC2LE')
D Crypto_Attr_T ds qualified based(ptrCryptoAttr)
D algorithm 2A
D key_length 5I 0
D bitflags 2A
D MMTR_01C8_T ds qualified based(ptrMMTR01C8)
D numEntries 5I 0
D entries like(Crypto_Attr_T) dim(100)
D MMTR_Template_T...
D ds qualified based(Template_Only)
D Template_Size 10I 0
D Bytes_Used 10I 0
D Crypto_Attrs like(MMTR_01C8_T)
D MMTR_CRYTPOGRAPHY...
D C 456
D GetAlgName PR 45A varying
D Algorithm 2A const
D matmatr pr extproc('matmatr')
D receiver likeds(MMTR_Template_T)
D attr 5I 0 value
D r ds likeds(MMTR_TEMPLATE_T)
D x s 10I 0
D msg s 52A
*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
* GetAlgName(): Get Algorithm Name
*
* Algorithm -- Algorithm returned by MATMATR MI function
*
* Returns a human-readable algorithm name
*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
P GetAlgName B
D GetAlgName PI 45A varying
D Algorithm 2A const
/free
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.