Home
last modified time | relevance | path

Searched refs:be_index (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/core/tee/
A Dtee_cryp_pbkdf2.c32 uint32_t be_index; in pbkdf2_f() local
49 be_index = TEE_U32_TO_BIG_ENDIAN(idx); in pbkdf2_f()
51 res = crypto_mac_update(h->ctx, (uint8_t *)&be_index, in pbkdf2_f()
52 sizeof(be_index)); in pbkdf2_f()
/optee_os-3.20.0/core/drivers/crypto/stm32/
A Dstm32_cryp.c511 static size_t be_index(size_t index) in be_index() function
545 iv[be_index(0)] &= 0x7; in ccm_first_context()
547 l = iv[be_index(0)] + 1; in ccm_first_context()
550 iv[be_index(i)] = 0; in ccm_first_context()
554 iv[be_index(15)] |= 0x1; in ccm_first_context()

Completed in 5 milliseconds