Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/omac/
A Domac_init.c23 int err, x, y, mask, msb, len; in omac_init() local
65 msb = omac->Lu[x][0] >> 7; in omac_init()
71 omac->Lu[x][len - 1] = ((omac->Lu[x][len - 1] << 1) ^ (msb ? mask : 0)) & 255; in omac_init()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Drsa.c1592 size_t msb; in rsa_rsassa_pss_sign() local
1656 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in rsa_rsassa_pss_sign()
1684 if( msb % 8 == 0 ) in rsa_rsassa_pss_sign()
1692 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in rsa_rsassa_pss_sign()
1693 sig[0] &= 0xFF >> ( olen * 8 - msb ); in rsa_rsassa_pss_sign()
2029 size_t observed_salt_len, msb; in mbedtls_rsa_rsassa_pss_verify_ext() local
2083 msb = mbedtls_mpi_bitlen( &ctx->N ) - 1; in mbedtls_rsa_rsassa_pss_verify_ext()
2085 if( buf[0] >> ( 8 - siglen * 8 + msb ) ) in mbedtls_rsa_rsassa_pss_verify_ext()
2089 if( msb % 8 == 0 ) in mbedtls_rsa_rsassa_pss_verify_ext()
2107 buf[0] &= 0xFF >> ( siglen * 8 - msb ); in mbedtls_rsa_rsassa_pss_verify_ext()

Completed in 6 milliseconds