Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: XLFSHAN

Package: Kernel

Routine: XLFSHAN


Information

XLFSHAN ;ISL/PKR SHA secure hash routines. ;09/30/2016

Source Information

Source file <XLFSHAN.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Kernel 4 $$FTG^%ZISH  ($$CPUTIME,$$ETIMEMS,$$LSHAN,$$SHAN)^XLFSHAN  $$RJ^XLFSTR  $$CNV^XLFUTL  
VA FileMan 2 $$ROOT^DILFD  GETS^DIQ  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 16

Package Total Caller Graph
Clinical Reminders 4 PXRMCVTM  PXRMDEV  PXRMREDF  PXRMTXSM  
PCE Patient Care Encounter 4 PXEDUSM  PXEXSM  PXHFSM  PXVWVMR  
Scheduling 4 SDES2CLINUT  SDESHASHCLIN  SDESRTVCLN2  SDESRTVCLN3  
Order Entry Results Reporting 2 ORVCODATA01  ORVCODATA02  
Kernel 1 XLFSHAN  
Text Integration Utility 1 TIUVCO  

Entry Points

Name Comments DBIA/ICR reference
AND(X,Y) ;Bitwise logical AND, 32 bits. IA #6157
  • ICR #6157
    • Status: Active
    • Usage: Supported
    CHASHLEN(HASHLEN) ;Make sure the hash length is one of the acceptable
    CPUTIME() ;Returns two comma-delimited pieces, "system" CPU time and "user"
  • ICR #6157
    • Status: Active
    • Usage: Supported
    ETIMEMS(START,END) ;Calculate and return the elapsed time in milliseconds.
  • ICR #6157
    • Status: Active
    • Usage: Supported
    FILE(HASHLEN,FILENUM,IEN,FIELD,FLAGS) ;Return a SHA hash for the specified
  • ICR #6157
    • Status: Active
    • Usage: Supported
    GENAREF(HASHLEN,AREF,DATAONLY) ;Return an SHA hash for a general array. AREF
  • ICR #6157
    • Status: Active
    • Usage: Supported
    GLOBAL(HASHLEN,FILENUM,DATAONLY) ;Return an SHA hash for a global. IA #6157
  • ICR #6157
    • Status: Active
    • Usage: Supported
    HOSTFILE(HASHLEN,PATH,FILENAME) ;Return a SHA hash for a host file. IA #6157
  • ICR #6157
    • Status: Active
    • Usage: Supported
    LSHAN(HASHLEN,MSUB,NBLOCKS) ;SHA hash for a message too long for a single
  • ICR #6157
    • Status: Active
    • Usage: Supported
    OR(X,Y) ;Bitwise logical OR, 32 bits. IA #6157
  • ICR #6157
    • Status: Active
    • Usage: Supported
    ROUTINE(HASHLEN,ROUTINE) ;Return a SHA hash for a routine. IA #6157
  • ICR #6157
    • Status: Active
    • Usage: Supported
    SHAN(HASHLEN,MESSAGE) ;SHA hash for a message that can be passed as a single
  • ICR #6157
    • Status: Active
    • Usage: Supported
    XOR(X,Y) ;Bitwise logical XOR, 32 bits. IA #6157
  • ICR #6157
    • Status: Active
    • Usage: Supported
    TESTS ;
    TMPLOAD(SUB,BLKSIZE,STR,REPS,NBLOCKS) ;Load the ^TMP global.
    TESTVEC ;

    External References

    Name Field # of Occurrence
    $$FTG^%ZISH HOSTFILE+6
    $$ROOT^DILFD GLOBAL+3
    GETS^DIQ FILE+10
    $$CPUTIME^XLFSHAN TESTS+18, TESTS+20, TESTS+26, TESTS+28
    $$ETIMEMS^XLFSHAN TESTS+25, TESTS+33
    $$LSHAN^XLFSHAN TESTS+27
    $$SHAN^XLFSHAN TESTS+19
    $$RJ^XLFSTR LSHAN+17, SHAN+10
    $$CNV^XLFUTL LSHAN+17, SHAN+10

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: ^TMP($J,MSUB,IND)
    • Line Location: LSHAN+32
    Function Call: WRITE
    • Prompt: /EOF
    • Line Location: SHAN+21
    Function Call: WRITE
    • Prompt: !,"Starting the tests."
    • Line Location: TESTS+2
    Function Call: WRITE
    • Prompt: !!!,"The message is: ",MSG
    • Line Location: TESTS+7
    Function Call: WRITE
    • Prompt: !,"Repeated ",REPS," times."
    • Line Location: TESTS+8
    Function Call: WRITE
    • Prompt: !,"Its length is: ",LEN
    • Line Location: TESTS+10
    Function Call: WRITE
    • Prompt: !!,"Hash length = ",HASHLEN
    • Line Location: TESTS+14
    Function Call: WRITE
    • Prompt: !,"Hash is: ",REFHASH
    • Line Location: TESTS+15
    Function Call: WRITE
    • Prompt: !,"SHAN test passed."
    • Line Location: TESTS+21
    Function Call: WRITE
    • Prompt: !,"SHAN test failed.",!," Got: "
    • Line Location: TESTS+23
    Function Call: WRITE
    • Prompt: $E(HASH,JND)
    • Line Location: TESTS+24
    Function Call: WRITE
    • Prompt: " "
    • Line Location: TESTS+24
    Function Call: WRITE
    • Prompt: !," Elapsed time: ",$$ETIMEMS^XLFSHAN(START,END)
    • Line Location: TESTS+25
    Function Call: WRITE
    • Prompt: !,"LSHAN test passed."
    • Line Location: TESTS+29
    Function Call: WRITE
    • Prompt: !,"LSHAN test failed.",!," Got: "
    • Line Location: TESTS+31
    Function Call: WRITE
    • Prompt: $E(HASH,JND)
    • Line Location: TESTS+32
    Function Call: WRITE
    • Prompt: " "
    • Line Location: TESTS+32
    Function Call: WRITE
    • Prompt: !," Elapsed time: ",$$ETIMEMS^XLFSHAN(START,END)
    • Line Location: TESTS+33

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^%ZOSF("LOAD" ROUTINE+10
    ^%ZOSF("TEST" ROUTINE+8
    ^TMP($J FILE+4!, FILE+5, FILE+14, FILE+16, FILE+18, FILE+19, FILE+20, FILE+21, FILE+29*, FILE+32
    , FILE+33, FILE+34, FILE+37*, FILE+38*, FILE+39!, FILE+41!, GENAREF+19*, GENAREF+22*, GENAREF+24!, GLOBAL+8!
    , GLOBAL+18*, GLOBAL+19*, GLOBAL+21!, HOSTFILE+3!, HOSTFILE+9, HOSTFILE+10, HOSTFILE+13*, HOSTFILE+15, HOSTFILE+17, HOSTFILE+18
    , HOSTFILE+21*, HOSTFILE+22*, HOSTFILE+23!, HOSTFILE+25!, LSHAN+5!, LSHAN+7, LSHAN+10, LSHAN+18!, ROUTINE+3!, ROUTINE+15*
    , ROUTINE+16*, ROUTINE+18!, TESTS+34!, TMPLOAD+2!, TMPLOAD+5*, TMPLOAD+11*, TMPLOAD+12*

    Label References

    Name Line Occurrences
    $$CHASHLEN FILE+2, GENAREF+3, GLOBAL+1, HOSTFILE+1, ROUTINE+1, SHAN+2
    $$LSHAN FILE+40, GENAREF+23, GLOBAL+20, HOSTFILE+24, ROUTINE+17
    TMPLOAD TESTS+11

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    AREF GENAREF~, GENAREF+5, GENAREF+6, GENAREF+7, GENAREF+9*, GENAREF+10, GENAREF+13, GENAREF+14, GENAREF+15, GENAREF+16
    , GENAREF+20*, GENAREF+21
    BLKSIZE TMPLOAD~, TMPLOAD+5, TMPLOAD+11
    CHAR LSHAN+4~, LSHAN+16*, LSHAN+17, SHAN+4~, SHAN+9*, SHAN+10
    COHASH LSHAN+4~, LSHAN+12*, LSHAN+15, LSHAN+16, SHAN+4~, SHAN+5*, SHAN+8, SHAN+9
    DATAONLY GENAREF~, GENAREF+15, GLOBAL~, GLOBAL+14
    DIF ROUTINE+2~, ROUTINE+5*
    DONE GENAREF+4~, GENAREF+12*, GENAREF+13, GENAREF+21*, GLOBAL+2~, GLOBAL+10*, GLOBAL+11, GLOBAL+13*
    END ETIMEMS~, ETIMEMS+3*, ETIMEMS+5, TESTS+1~, TESTS+20*, TESTS+25, TESTS+28*, TESTS+33
    ETIME ETIMEMS+2~, ETIMEMS+5*, ETIMEMS+6
    FIELD FILE~, FILE+9*, FILE+10
    FIELDNUM FILE+3~, FILE+17*, FILE+18*, FILE+19, FILE+20, FILE+21, FILE+32, FILE+33, FILE+34
    FILENAME HOSTFILE~, HOSTFILE+6
    FILENUM FILE~, FILE+10, GLOBAL~, GLOBAL+3
    FLAGS FILE~, FILE+7*, FILE+8, FILE+10
    FNUM FILE+3~, FILE+13*, FILE+14*, FILE+16, FILE+18, FILE+19, FILE+20, FILE+21, FILE+32, FILE+33
    , FILE+34
    GBLZISH HOSTFILE+2~, HOSTFILE+4*, HOSTFILE+5*, HOSTFILE+6
    HASH FILE+3~, FILE+40*, FILE+42, GENAREF+4~, GENAREF+23*, GENAREF+25, GLOBAL+2~, GLOBAL+20*, GLOBAL+22, HOSTFILE+2~
    , HOSTFILE+24*, HOSTFILE+26, LSHAN+4~, LSHAN+14*, LSHAN+17*, LSHAN+19, ROUTINE+2~, ROUTINE+17*, ROUTINE+19, SHAN+4~
    , SHAN+7*, SHAN+10*, SHAN+11, TESTS+1~, TESTS+19*, TESTS+21, TESTS+24, TESTS+27*, TESTS+29, TESTS+32
    HASHLEN CHASHLEN~, CHASHLEN+2, CHASHLEN+3, CHASHLEN+4, CHASHLEN+5, CHASHLEN+6, FILE~, FILE+2, FILE+40, GENAREF~
    , GENAREF+3, GENAREF+23, GLOBAL~, GLOBAL+1, GLOBAL+20, HOSTFILE~, HOSTFILE+1, HOSTFILE+24, LSHAN~, LSHAN+12
    , ROUTINE~, ROUTINE+1, ROUTINE+17, SHAN~, SHAN+2, SHAN+5, TESTS+1~, TESTS+13*, TESTS+14, TESTS+19
    TESTS+27
    IEN FILE~, FILE+10
    IENS FILE+3~, FILE+15*, FILE+16*, FILE+18, FILE+19, FILE+20, FILE+21, FILE+32, FILE+33, FILE+34
    IND FILE+3~, FILE+27*, FILE+28, FILE+35*, FILE+36, GENAREF+4~, GENAREF+16*, GENAREF+17*, GENAREF+18, GLOBAL+2~
    , GLOBAL+16*, GLOBAL+17, HOSTFILE+2~, HOSTFILE+11*, HOSTFILE+12, HOSTFILE+19*, HOSTFILE+20, LSHAN+4~, LSHAN+10*, LSHAN+15*
    , LSHAN+16, ROUTINE+2~, ROUTINE+13*, ROUTINE+14, SHAN+4~, SHAN+8*, SHAN+9, TESTS+1~, TESTS+3*, TMPLOAD+6~
    , TMPLOAD+8*
    JND FILE+22*, FILE+23, FILE+24, TESTS+1~, TESTS+24*, TESTS+32*, TMPLOAD+6~, TMPLOAD+9*, TMPLOAD+10
    LEN GENAREF+4~, GENAREF+16*, TESTS+1~, TESTS+9*, TESTS+10, TESTS+17, TMPLOAD+4*, TMPLOAD+5
    LINE TESTS+1~, TESTS+3*, TESTS+4, TESTS+5, TESTS+12, TESTS+13
    LN HOSTFILE+2~, HOSTFILE+8*, HOSTFILE+9*, HOSTFILE+10, HOSTFILE+15, HOSTFILE+17, HOSTFILE+18, ROUTINE+2~, ROUTINE+12*, ROUTINE+13
    , ROUTINE+14
    LOCATION LSHAN+4~, LSHAN+7*, LSHAN+8
    MESSAGE SHAN~, SHAN+5
    MSG FILE+3~, FILE+11, TESTS+1~, TESTS+6*, TESTS+7
    MSUB LSHAN~
    NBLOCKS FILE+3~, FILE+13*, FILE+29*, FILE+37*, FILE+38*, FILE+40, GENAREF+4~, GENAREF+12*, GENAREF+19*, GENAREF+22*
    , GENAREF+23, GLOBAL+2~, GLOBAL+9*, GLOBAL+18*, GLOBAL+19*, GLOBAL+20, HOSTFILE+2~, HOSTFILE+8*, HOSTFILE+13*, HOSTFILE+21*
    , HOSTFILE+22*, HOSTFILE+24, LSHAN~, LSHAN+10, ROUTINE+2~, ROUTINE+11*, ROUTINE+15*, ROUTINE+16*, ROUTINE+17, TESTS+1~
    TESTS+11, TESTS+27, TMPLOAD~, TMPLOAD+5*, TMPLOAD+7*, TMPLOAD+11*, TMPLOAD+12*
    NL FILE+3~, FILE+31*, FILE+32*, FILE+33, FILE+34
    OVFLN HOSTFILE+2~, HOSTFILE+16*, HOSTFILE+17*, HOSTFILE+18
    PATH HOSTFILE~, HOSTFILE+6
    PROOT GENAREF+4~, GENAREF+6*, GENAREF+16
    RA ROUTINE+2~
    RA( ROUTINE+13, ROUTINE+14
    REFHASH TESTS+1~, TESTS+13*, TESTS+15, TESTS+16*, TESTS+21, TESTS+29
    REPS TESTS+1~, TESTS+5*, TESTS+8, TESTS+9, TESTS+11, TMPLOAD~, TMPLOAD+4, TMPLOAD+8
    ROOT GENAREF+4~, GENAREF+8*, GENAREF+10, GENAREF+14, GENAREF+21, GLOBAL+2~, GLOBAL+3*, GLOBAL+4, GLOBAL+5, GLOBAL+13
    ROOTN GLOBAL+2~, GLOBAL+5*, GLOBAL+6, GLOBAL+7*, GLOBAL+12*, GLOBAL+13, GLOBAL+14, GLOBAL+15
    ROUTINE ROUTINE~, ROUTINE+6
    START ETIMEMS~, ETIMEMS+4*, ETIMEMS+5, GENAREF+4~, GENAREF+14*, GENAREF+16, TESTS+1~, TESTS+18*, TESTS+25, TESTS+26*
    TESTS+33
    STATUS LSHAN+4~, LSHAN+10*, LSHAN+11*
    STR TESTS+1~, TESTS+5*, TESTS+6, TESTS+9, TESTS+11, TESTS+19, TMPLOAD~, TMPLOAD+3, TMPLOAD+5, TMPLOAD+10
    STREAM LSHAN+4~, LSHAN+8*, LSHAN+12
    STRLEN TMPLOAD+1~, TMPLOAD+3*, TMPLOAD+4, TMPLOAD+9
    SUB TMPLOAD~, TMPLOAD+2, TMPLOAD+5, TMPLOAD+11, TMPLOAD+12
    SUCCESS HOSTFILE+2~, HOSTFILE+6*, HOSTFILE+7
    TARGET FILE+3~, FILE+5*, FILE+6, FILE+10
    TEMP FILE+3~, FILE+13*, FILE+28*, FILE+29*, FILE+36*, FILE+37*, FILE+38, GENAREF+4~, GENAREF+7*, GENAREF+8
    , GENAREF+11*, GENAREF+18*, GENAREF+19*, GENAREF+22, GLOBAL+2~, GLOBAL+6*, GLOBAL+7, GLOBAL+9*, GLOBAL+17*, GLOBAL+18*
    , GLOBAL+19, HOSTFILE+2~, HOSTFILE+8*, HOSTFILE+12*, HOSTFILE+13*, HOSTFILE+20*, HOSTFILE+21*, HOSTFILE+22, ROUTINE+2~, ROUTINE+11*
    , ROUTINE+14*, ROUTINE+15*, ROUTINE+16, TMPLOAD+6~, TMPLOAD+7*, TMPLOAD+10*, TMPLOAD+11*, TMPLOAD+12
    TEXT ETIMEMS+2~, ETIMEMS+6*, ETIMEMS+7, FILE+3~, FILE+24*, FILE+26, FILE+27, FILE+28, FILE+30, FILE+33*
    , FILE+34*, FILE+35, FILE+36, GENAREF+4~, GENAREF+15*, GENAREF+16*, GENAREF+17, GENAREF+18, GLOBAL+2~, GLOBAL+14*
    , GLOBAL+15*, GLOBAL+16, GLOBAL+17, HOSTFILE+2~, HOSTFILE+10*, HOSTFILE+11, HOSTFILE+12, HOSTFILE+18*, HOSTFILE+19, HOSTFILE+20
    TEXT( FILE+23, FILE+24
    TEXT("E" FILE+20*
    TEXT("I" FILE+21*
    TEXT(0 FILE+19*
    WPI FILE+3~, FILE+6*, FILE+26, FILE+30
    WPZN FILE+3~, FILE+8*, FILE+33
    X AND~, AND+1, OR~, OR+1, ROUTINE+2~, ROUTINE+6*, XOR~, XOR+1
    XCNP ROUTINE+2~, ROUTINE+4*, ROUTINE+12
    Y AND~, AND+1, OR~, OR+1, XOR~, XOR+1

    Marked Items

    Name Field # of Occurrence
    $T(TESTVEC+IND TESTS+3
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All