Home
last modified time | relevance | path

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

/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/
Drsa_alt.c2053 size_t msb; in mbedtls_rsa_rsassa_pss_sign() local
2104 msb = mbedtls_mpi_bitlen( &ctx->MBEDTLS_PRIVATE(N) ) - 1; in mbedtls_rsa_rsassa_pss_sign()
2127 if( msb % 8 == 0 ) in mbedtls_rsa_rsassa_pss_sign()
2135 msb = mbedtls_mpi_bitlen( &ctx->MBEDTLS_PRIVATE(N) ) - 1; in mbedtls_rsa_rsassa_pss_sign()
2136 sig[0] &= 0xFF >> ( olen * 8 - msb ); in mbedtls_rsa_rsassa_pss_sign()
2411 size_t observed_salt_len, msb; in mbedtls_rsa_rsassa_pss_verify_ext() local
2458 msb = mbedtls_mpi_bitlen( &ctx->MBEDTLS_PRIVATE(N) ) - 1; in mbedtls_rsa_rsassa_pss_verify_ext()
2460 if( buf[0] >> ( 8 - siglen * 8 + msb ) ) in mbedtls_rsa_rsassa_pss_verify_ext()
2464 if( msb % 8 == 0 ) in mbedtls_rsa_rsassa_pss_verify_ext()
2482 buf[0] &= 0xFF >> ( siglen * 8 - msb ); in mbedtls_rsa_rsassa_pss_verify_ext()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/hal/Src/
Dstm32l5xx_hal_pka.c284 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb);
1796 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb) in PKA_GetOptBitSize_u8() argument
1800 position = 32UL - __CLZ(msb); in PKA_GetOptBitSize_u8()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/hal/Src/
Dstm32u5xx_hal_pka.c299 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb);
2002 uint32_t PKA_GetOptBitSize_u8(uint32_t byteNumber, uint8_t msb) in PKA_GetOptBitSize_u8() argument
2006 position = 32UL - __CLZ(msb); in PKA_GetOptBitSize_u8()