Searched refs:SHIFT_3BITS (Results 1 – 6 of 6) sorted by relevance
49 #define SHIFT_3BITS 3 macro
281 ctx->tail[SM3_BLOCK_SIZE - WORD_IDX_1] = (hi_u8)((ctx->total << SHIFT_3BITS) & MAX_LOW_8BITS); in sm3_final()
820 …buf[idx] |= ((ctx->tlen - CRYPTO_NUM_2) / MUL_VAL_2) << SHIFT_3BITS; /* descript: (t -2) / 2 */ in cyp_aead_ccm_n()877 buf[idx++] = (hi_u8)((alen << SHIFT_3BITS) & MAX_LOW_8BITS); in cyp_aead_gcm_clen()886 buf[idx++] = (hi_u8)((enclen << SHIFT_3BITS) & MAX_LOW_8BITS); in cyp_aead_gcm_clen()
457 msg[tail_size++] = (hi_u8)((total << SHIFT_3BITS) & MAX_LOW_8BITS); in cryp_hash_pading()
342 rsa->len = ((mbedtls_mpi_bitlen(&rsa->N) + 7) >> SHIFT_3BITS); /* 7 make sure to round up */ in cryp_rsa_init_key()
615 if ((code >> SHIFT_3BITS) & 0x01) { in drv_symc_get_err_code()