package vendor:botan/siphash
Index
Types (1)
Constants (2)
Variables (0)
This section is empty.
Procedures (28)
- final
- init
- reset
- sum_bytes
- sum_bytes_1_3
- sum_bytes_2_4
- sum_bytes_4_8
- sum_bytes_to_buffer
- sum_bytes_to_buffer_1_3
- sum_bytes_to_buffer_2_4
- sum_bytes_to_buffer_4_8
- sum_string
- sum_string_1_3
- sum_string_2_4
- sum_string_4_8
- sum_string_to_buffer
- sum_string_to_buffer_1_3
- sum_string_to_buffer_2_4
- sum_string_to_buffer_4_8
- update
- verify_bytes
- verify_bytes_1_3
- verify_bytes_2_4
- verify_bytes_4_8
- verify_u64
- verify_u64_1_3
- verify_u64_2_4
- verify_u64_4_8
Procedure Groups (8)
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 will hash the given message with the key and return the computed hash as a u64
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_4_8 ¶
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 will hash the given message with the key and return the computed hash as a u64
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_4_8 ¶
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 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 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 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 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 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 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 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 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 will check if the supplied tag matches with the output you will get from the provided message and key
Procedure Groups
sum ¶
sum :: proc{ sum_string_2_4, sum_bytes_2_4, sum_string_to_buffer_2_4, sum_bytes_to_buffer_2_4, }
sum_1_3 ¶
sum_1_3 :: proc{ sum_string_1_3, sum_bytes_1_3, sum_string_to_buffer_1_3, sum_bytes_to_buffer_1_3, }
sum_2_4 ¶
sum_2_4 :: proc{ sum_string_2_4, sum_bytes_2_4, sum_string_to_buffer_2_4, sum_bytes_to_buffer_2_4, }
sum_4_8 ¶
sum_4_8 :: proc{ sum_string_4_8, sum_bytes_4_8, sum_string_to_buffer_4_8, sum_bytes_to_buffer_4_8, }
verify ¶
verify :: proc{ verify_bytes_2_4, verify_u64_2_4, }
verify_1_3 ¶
verify_1_3 :: proc{ verify_bytes_1_3, verify_u64_1_3, }
verify_2_4 ¶
verify_2_4 :: proc{ verify_bytes_2_4, verify_u64_2_4, }
verify_4_8 ¶
verify_4_8 :: proc{ verify_bytes_4_8, verify_u64_4_8, }
Source Files
Generation Information
Generated with odin version dev-2023-10 (vendor "odin") Windows_amd64 @ 2023-10-03 21:09:47.397444900 +0000 UTC