Oppolzer - Informatik / Blog


Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie

ASSEMBLER-L - Specification exception bei KM (Verschlüsselungs-Instruktion)

Subject:

Re: Specification exception on a z10

From:

Bernd Oppolzer <bernd.oppolzer@T-ONLINE.DE>

Reply-To:

IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>

Date:

2013.11.19 21:40:28


Hello M.,

I don't have practical experience with KM.

The only reasons for Specification Exception on KM are:

a) unknown function code in GPR0
b) odd register number in R1 or R2 - which is obviously not the case
c) the length in R2+1 (R5 in your case) is not a multiple of the block size
specific to the desired function (16 in your case, function code 18 =
KM-AES-128). Which is not the case, because you put X'20' into R5 prior to KM.

So I don't see an obvious reason for the specification exception.

I would suggest that you double check the contents of GPR0 and GPR5, just to
check for the cases a) and c) from above.

Good luck, kind regards

Bernd



Am 19.11.2013 20:37, schrieb M.T.:
> Help- I have read POP-8 (ver 9) more than once
>
> I get a SOC6 on a z10 against a KM instruction
>
> KM 6,4
>
> Function code is 18
>
> Password is addressed by by parmblock
>
> R6 is somewhere
>
> R4 is the code to encode
>
> R5 is X'20'
>
> What could be wrong? I am lost and I hope to find someone that
> understands what I am saying.
>
> --
> M.
>

Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie