Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
identity_register.c File Reference

Register Identity flow (P1=0x01, struct type 0x2d) More...

#include <string.h>
#include "os_utils.h"
#include "os_apdu.h"
#include "status_words.h"
#include "tlv_library.h"
#include "buffer.h"
#include "bip32.h"
#include "address_book.h"
#include "address_book_entrypoints.h"
#include "address_book_crypto.h"
#include "address_book_common.h"
#include "identity.h"
#include "io.h"
#include "nbgl_use_case.h"
Include dependency graph for identity_register.c:

Go to the source code of this file.

Detailed Description

Register Identity flow (P1=0x01, struct type 0x2d)

Flow:

  1. Parse TLV payload (name + scope + identifier + derivation_path)
  2. Coin-app validation: handle_check_register_identity()
  3. Display UI: contact name + identifier
  4. On confirm: compute HMAC Proof of Registration and send to host

Active under HAVE_ADDRESS_BOOK.

Definition in file identity_register.c.