Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Classes | Functions
fuzz_bip32.h File Reference

Build a serialized BIP32 path from fuzz bytes. More...

#include <stddef.h>
#include <stdint.h>
#include "os_utils.h"
Include dependency graph for fuzz_bip32.h:

Go to the source code of this file.

Classes

struct  fuzz_bip32_config_t
 

Functions

static size_t fuzz_bip32_build (const fuzz_bip32_config_t *cfg, const uint8_t *ctrl, size_t ctrl_len, uint8_t *buf, size_t buf_size)
 

Detailed Description

Build a serialized BIP32 path from fuzz bytes.

Output is the wire form every Ledger app's buffer_read_bip32_path() expects: [len][component BE]... Configure the accepted purposes, coin type and depth bounds through fuzz_bip32_config_t; the app supplies the policy, the framework supplies the encoding.

Definition in file fuzz_bip32.h.

Function Documentation

◆ fuzz_bip32_build()

static size_t fuzz_bip32_build ( const fuzz_bip32_config_t cfg,
const uint8_t *  ctrl,
size_t  ctrl_len,
uint8_t *  buf,
size_t  buf_size 
)
inlinestatic

Definition at line 27 of file fuzz_bip32.h.