Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/kernel/
A Dtee_misc.c36 uint32_t tee_b2hs(uint8_t *b, uint8_t *hs, uint32_t blen, uint32_t hslen) in tee_b2hs() argument
40 if (blen * 2 + 1 > hslen) in tee_b2hs()
52 uint32_t tee_hs2b(uint8_t *hs, uint8_t *b, uint32_t hslen, uint32_t blen) in tee_hs2b() argument
55 uint32_t len = TEE_HS2B_BBUF_SIZE(hslen); in tee_hs2b()
/optee_os-3.20.0/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-3.20.0/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 8 milliseconds