package vendor:botan/siphash

⌘K
Ctrl+K
or
/

    Types

    Context ¶

    Context :: ^vendor_botan.mac_struct

    Constants

    DIGEST_SIZE ¶

    DIGEST_SIZE :: 8

    KEY_SIZE ¶

    KEY_SIZE :: 16

    Variables

    This section is empty.

    Procedures

    final ¶

    final :: proc(ctx: ^^vendor_botan.mac_struct, dst: []u8) {…}

    init ¶

    init :: proc(ctx: ^^vendor_botan.mac_struct, key: []u8, c_rounds: int = 2, d_rounds: int = 4) {…}

    reset ¶

    reset :: proc(ctx: ^^vendor_botan.mac_struct) {…}

    sum_bytes ¶

    sum_bytes :: sum_bytes_2_4
     

    sum_bytes_2_4 will hash the given message with the key and return the computed hash as a u64

    sum_bytes_1_3 ¶

    sum_bytes_1_3 :: proc(msg, key: []u8) -> u64 {…}
     

    sum_bytes_1_3 will hash the given message with the key and return the computed hash as a u64

    sum_bytes_2_4 ¶

    sum_bytes_2_4 :: proc(msg, key: []u8) -> u64 {…}
     

    sum_bytes_2_4 will hash the given message with the key and return the computed hash as a u64

    sum_bytes_4_8 ¶

    sum_bytes_4_8 :: proc(msg, key: []u8) -> u64 {…}
     

    sum_bytes_4_8 will hash the given message with the key and return the computed hash as a u64

    sum_bytes_to_buffer ¶

    sum_bytes_to_buffer :: sum_bytes_to_buffer_2_4
     

    sum_bytes_to_buffer_2_4 will hash the given message with the key and write the computed hash into the provided destination buffer

    sum_bytes_to_buffer_1_3 ¶

    sum_bytes_to_buffer_1_3 :: proc(msg, key, dst: []u8) {…}
     

    sum_bytes_to_buffer_1_3 will hash the given message with the key and write the computed hash into the provided destination buffer

    sum_bytes_to_buffer_2_4 ¶

    sum_bytes_to_buffer_2_4 :: proc(msg, key, dst: []u8) {…}
     

    sum_bytes_to_buffer_2_4 will hash the given message with the key and write the computed hash into the provided destination buffer

    sum_bytes_to_buffer_4_8 ¶

    sum_bytes_to_buffer_4_8 :: proc(msg, key, dst: []u8) {…}
     

    sum_bytes_to_buffer_4_8 will hash the given message with the key and write the computed hash into the provided destination buffer

    sum_string ¶

    sum_string :: sum_string_2_4
     

    sum_string_2_4 will hash the given message with the key and return the computed hash as a u64

    sum_string_1_3 ¶

    sum_string_1_3 :: proc(msg, key: string) -> u64 {…}
     

    sum_string_1_3 will hash the given message with the key and return the computed hash as a u64

    sum_string_2_4 ¶

    sum_string_2_4 :: proc(msg, key: string) -> u64 {…}
     

    sum_string_2_4 will hash the given message with the key and return the computed hash as a u64

    sum_string_4_8 ¶

    sum_string_4_8 :: proc(msg, key: string) -> u64 {…}
     

    sum_string_4_8 will hash the given message with the key and return the computed hash as a u64

    sum_string_to_buffer ¶

    sum_string_to_buffer :: sum_string_to_buffer_2_4
     

    sum_string_to_buffer_2_4 will hash the given message with the key and write the computed hash into the provided destination buffer

    sum_string_to_buffer_1_3 ¶

    sum_string_to_buffer_1_3 :: proc(msg, key: string, dst: []u8) {…}
     

    sum_string_to_buffer_1_3 will hash the given message with the key and write the computed hash into the provided destination buffer

    sum_string_to_buffer_2_4 ¶

    sum_string_to_buffer_2_4 :: proc(msg, key: string, dst: []u8) {…}
     

    sum_string_to_buffer_2_4 will hash the given message with the key and write the computed hash into the provided destination buffer

    sum_string_to_buffer_4_8 ¶

    sum_string_to_buffer_4_8 :: proc(msg, key: string, dst: []u8) {…}
     

    sum_string_to_buffer_4_8 will hash the given message with the key and write the computed hash into the provided destination buffer

    update ¶

    update :: proc "contextless" (ctx: ^^vendor_botan.mac_struct, data: []u8) {…}

    verify_bytes ¶

    verify_bytes :: verify_bytes_2_4
     

    verify_bytes_2_4 will check if the supplied tag matches with the output you will get from the provided message and key

    verify_bytes_1_3 ¶

    verify_bytes_1_3 :: proc(tag, msg, key: []u8) -> bool {…}
     

    verify_bytes_1_3 will check if the supplied tag matches with the output you will get from the provided message and key

    verify_bytes_2_4 ¶

    verify_bytes_2_4 :: proc(tag, msg, key: []u8) -> bool {…}
     

    verify_bytes_2_4 will check if the supplied tag matches with the output you will get from the provided message and key

    verify_bytes_4_8 ¶

    verify_bytes_4_8 :: proc(tag, msg, key: []u8) -> bool {…}
     

    verify_bytes_4_8 will check if the supplied tag matches with the output you will get from the provided message and key

    verify_u64 ¶

    verify_u64 :: verify_u64_2_4
     

    verify_u64_2_4 will check if the supplied tag matches with the output you will get from the provided message and key

    verify_u64_1_3 ¶

    verify_u64_1_3 :: proc(tag: u64, msg, key: []u8) -> bool {…}
     

    verify_u64_1_3 will check if the supplied tag matches with the output you will get from the provided message and key

    verify_u64_2_4 ¶

    verify_u64_2_4 :: proc(tag: u64, msg, key: []u8) -> bool {…}
     

    verify_u64_2_4 will check if the supplied tag matches with the output you will get from the provided message and key

    verify_u64_4_8 ¶

    verify_u64_4_8 :: proc(tag: u64, msg, key: []u8) -> bool {…}
     

    verify_u64_4_8 will check if the supplied tag matches with the output you will get from the provided message and key

    Procedure Groups

    Source Files

    Generation Information

    Generated with odin version dev-2023-10 (vendor "odin") Windows_amd64 @ 2023-10-03 21:09:47.397444900 +0000 UTC