Changeset 36727 in project


Ignore:
Timestamp:
10/27/18 18:07:26 (3 weeks ago)
Author:
kon
Message:

rel 4.2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/message-digest-primitive

    r36713 r36727  
    2323=== message-digest-primitive?
    2424
    25 <procedure>(message-digest-primitive? OBJ) -> boolean</procedure>
     25<procedure>(message-digest-primitive? OBJ) --> boolean</procedure>
    2626<procedure>(check-message-digest-primitive LOC OBJ [NAM])</procedure>
    2727<procedure>(error-message-digest-primitive LOC OBJ [NAM])</procedure>
     
    2929=== message-digest-primitive Accessors
    3030
    31 <procedure>(message-digest-primitive-context-info PRIM) -> *</procedure>
    32 <procedure>(message-digest-primitive-digest-length PRIM) -> fixnum</procedure>
    33 <procedure>(message-digest-primitive-init PRIM) -> procedure</procedure>
    34 <procedure>(message-digest-primitive-update PRIM) -> procedure</procedure>
    35 <procedure>(message-digest-primitive-raw-update PRIM) -> (or #f procedure)</procedure>
    36 <procedure>(message-digest-primitive-final PRIM) -> procedure</procedure>
    37 <procedure>(message-digest-primitive-block-length PRIM) -> fixnum</procedure>
    38 <procedure>(message-digest-primitive-name PRIM) -> symbol</procedure>
     31<procedure>(message-digest-primitive-context-info PRIM) --> *</procedure>
     32<procedure>(message-digest-primitive-digest-length PRIM) --> fixnum</procedure>
     33<procedure>(message-digest-primitive-init PRIM) --> procedure</procedure>
     34<procedure>(message-digest-primitive-update PRIM) --> procedure</procedure>
     35<procedure>(message-digest-primitive-raw-update PRIM) --> (or #f procedure)</procedure>
     36<procedure>(message-digest-primitive-final PRIM) --> procedure</procedure>
     37<procedure>(message-digest-primitive-block-length PRIM) --> fixnum</procedure>
     38<procedure>(message-digest-primitive-name PRIM) --> symbol</procedure>
    3939
    4040=== make-message-digest-primitive
     
    4747The processing of a message digest is split into three phases: initialization,
    4848update, & finalization. These are represented by procedures: {{INIT}},
    49 {{UPDATE}}/{{RAW-UPDATE}}, & {{FINAL}}, respectively.
     49{{UPDATE}} | {{RAW-UPDATE}}, & {{FINAL}}, respectively.
    5050
    5151; {{CONTEXT-INFO}} : {{(or (CONTEXT-INFO -> context-object) positive-fixnum)}}
     
    7676* sets up the {{CONTEXT}}.
    7777
    78 ; {{UPDATE}} : {{(CONTEXT SOURCE COUNT -> void))}}.
     78; {{UPDATE}} : {{#f}} or {{(CONTEXT SOURCE COUNT -> void))}}
    7979
    8080* Must accumulate the {{SOURCE}}, beginning at {{0}}, for {{COUNT}} bytes.
     
    8787
    8888; {{RAW-UPDATE}} : {{(CONTEXT POINTER COUNT -> void))}}.
     89
     90* When {{UPDATE}} is {{#f}} {{RAW-UPDATE}} must be defined.
    8991
    9092* Must accumulate the memory at {{POINTER}}, beginning at {{0}}, for {{COUNT}}
     
    103105=== make-message-digest-primitive-context
    104106
    105 <procedure>(make-message-digest-primitive-context PRIM) -> *
     107<procedure>(make-message-digest-primitive-context PRIM) -> *</procedure>
    106108
    107109Returns a {{message-digest-primitive-context}} object, used by a message digest
     
    121123== Version history
    122124
     125; 4.2.0 : Add make missing update procedure from raw-update procedure argument.
    123126; 4.1.0 : Fix {{make-message-digest-primitive-context}} argument.
    124127; 4.0.0 : CHICKEN 5 release as ''own'' egg.
Note: See TracChangeset for help on using the changeset viewer.