Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
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>

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 ;

    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
    Info |  Source |  Entry Points |  Interaction Calls