Home
last modified time | relevance | path

Searched refs:hslen (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/kernel/
A Dtee_misc.c34 uint32_t tee_b2hs(uint8_t *b, uint8_t *hs, uint32_t blen, uint32_t hslen) in tee_b2hs() argument
38 if (blen * 2 + 1 > hslen) in tee_b2hs()
50 uint32_t tee_hs2b(uint8_t *hs, uint8_t *b, uint32_t hslen, uint32_t blen) in tee_hs2b() argument
53 uint32_t len = TEE_HS2B_BBUF_SIZE(hslen); in tee_hs2b()
/optee_os/core/include/kernel/
A Dtee_misc.h21 uint32_t tee_b2hs(uint8_t *b, uint8_t *hs, uint32_t blen, uint32_t hslen);
27 uint32_t tee_hs2b(uint8_t *hs, uint8_t *b, uint32_t hslen, uint32_t blen);
/optee_os/core/tee/
A Dtee_rpmb_fs.c1930 uint32_t hslen = 1 /* Leading slash */ in create_filename() local
1936 hslen++; in create_filename()
1938 if (blen < hslen) in create_filename()
1943 sizeof(TEE_UUID), hslen); in create_filename()
1949 tee_b2hs(po->obj_id, file + pos, po->obj_id_len, hslen - pos); in create_filename()
1958 uint32_t hslen = TEE_B2HS_HSBUF_SIZE(sizeof(TEE_UUID)) + 1; in create_dirname() local
1960 if (blen < hslen) in create_dirname()
1964 tee_b2hs((uint8_t *)uuid, dir + 1, sizeof(TEE_UUID), hslen); in create_dirname()

Completed in 7 milliseconds