package core:crypto/util

Index

Types (0)

This section is empty.

Constants (0)

This section is empty.

Variables (0)

This section is empty.

Procedure Groups (0)

This section is empty.

Types

This section is empty.

Constants

This section is empty.

Variables

This section is empty.

Procedures

PUT_U32_BE ¶

PUT_U32_BE :: proc "contextless" (b: []u8, v: u32) {…}

PUT_U32_LE ¶

PUT_U32_LE :: proc "contextless" (b: []u8, v: u32) {…}

PUT_U64_BE ¶

PUT_U64_BE :: proc "contextless" (b: []u8, v: u64) {…}

PUT_U64_LE ¶

PUT_U64_LE :: proc "contextless" (b: []u8, v: u64) {…}

ROTL128 ¶

ROTL128 :: proc "contextless" (a, b, c, d: ^u32, n: uint) {…}

ROTL16 ¶

ROTL16 :: proc "contextless" (x, y: u16) -> u16 {…}

ROTL32 ¶

ROTL32 :: proc "contextless" (a: u32, b: int) -> u32 {…}

ROTL64 ¶

ROTL64 :: proc "contextless" (a, b: u64) -> u64 {…}

ROTR16 ¶

ROTR16 :: proc "contextless" (x, y: u16) -> u16 {…}

ROTR32 ¶

ROTR32 :: proc "contextless" (a: u32, b: int) -> u32 {…}

ROTR64 ¶

ROTR64 :: proc "contextless" (a, b: u64) -> u64 {…}

U32_LE ¶

U32_LE :: proc "contextless" (b: []u8) -> u32 {…}

U64_BE ¶

U64_BE :: proc "contextless" (b: []u8) -> u64 {…}

U64_LE ¶

U64_LE :: proc "contextless" (b: []u8) -> u64 {…}

XOR_BUF ¶

XOR_BUF :: proc "contextless" (input, output: []u8) {…}

bytes_to_slice ¶

bytes_to_slice :: proc "contextless" ($T: typeid/[]$, bytes: []u8) -> T {…}

cast_slice ¶

cast_slice :: proc "contextless" ($T: typeid/[]$, slice: T) -> T {…}
 

@note(bp): this can replace the other two

slice_to_bytes ¶

slice_to_bytes :: proc "contextless" (slice: $T/[]$) -> []u8 {…}

Procedure Groups

This section is empty.

Source Files

Generation Information

Generated with odin version dev-2022-10 (vendor "odin") Windows_amd64 @ 2022-10-05 21:11:47.539297700 +0000 UTC