Searched refs:hashlen (Results 1 – 2 of 2) sorted by relevance
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/accelerator/ |
D | rsa_alt.c | 2044 unsigned int hashlen, in mbedtls_rsa_rsassa_pss_sign() argument 2058 hashlen == 0 ) || in mbedtls_rsa_rsassa_pss_sign() 2074 hashlen = mbedtls_md_get_size( md_info ); in mbedtls_rsa_rsassa_pss_sign() 2119 if( ( ret = mbedtls_md_update( &md_ctx, hash, hashlen ) ) != 0 ) in mbedtls_rsa_rsassa_pss_sign() 2177 unsigned int hashlen, in rsa_rsassa_pkcs1_v15_encode() argument 2197 hashlen = mbedtls_md_get_size( md_info ); in rsa_rsassa_pkcs1_v15_encode() 2201 if( 8 + hashlen + oid_size >= 0x80 || in rsa_rsassa_pkcs1_v15_encode() 2202 10 + hashlen < hashlen || in rsa_rsassa_pkcs1_v15_encode() 2203 10 + hashlen + oid_size < 10 + hashlen ) in rsa_rsassa_pkcs1_v15_encode() 2214 if( nb_pad < 10 + hashlen + oid_size ) in rsa_rsassa_pkcs1_v15_encode() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | rsa_alt.c | 2277 unsigned int hashlen, in mbedtls_rsa_rsassa_pss_sign() argument 2290 …CC_UNUSED_PARAM( hashlen ); /* message digest length (for MBEDTLS_MD_NONE only which is not… in mbedtls_rsa_rsassa_pss_sign() 2384 unsigned int hashlen, in mbedtls_rsa_rsassa_pkcs1_v15_sign() argument 2396 …CC_UNUSED_PARAM(hashlen); /* message digest length (for MBEDTLS_MD_NONE only which is not supporte… in mbedtls_rsa_rsassa_pkcs1_v15_sign() 2476 unsigned int hashlen, in mbedtls_rsa_pkcs1_sign() argument 2490 hashlen, hash, sig ); in mbedtls_rsa_pkcs1_sign() 2496 hashlen, hash, sig ); in mbedtls_rsa_pkcs1_sign() 2510 unsigned int hashlen, in mbedtls_rsa_rsassa_pss_verify_ext() argument 2543 &hashlen); in mbedtls_rsa_rsassa_pss_verify_ext() 2572 …ext_ptr,UserPubKey_ptr,hashOpMode,CC_PKCS1_MGF1,saltLen, (uint8_t *)hash, hashlen, (uint8_t *)sig); in mbedtls_rsa_rsassa_pss_verify_ext() [all …]
|