Home
last modified time | relevance | path

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

/external/mbedtls/library/
Drsa.c1069 static int mgf_mask( unsigned char *dst, size_t dlen, unsigned char *src, in mgf_mask() function
1307 if( ( ret = mgf_mask( output + hlen + 1, olen - hlen - 1, output + 1, hlen, in mbedtls_rsa_rsaes_oaep_encrypt()
1312 if( ( ret = mgf_mask( output + 1, hlen, output + hlen + 1, olen - hlen - 1, in mbedtls_rsa_rsaes_oaep_encrypt()
1452 if( ( ret = mgf_mask( buf + 1, hlen, buf + hlen + 1, ilen - hlen - 1, in mbedtls_rsa_rsaes_oaep_decrypt()
1455 ( ret = mgf_mask( buf + hlen + 1, ilen - hlen - 1, buf + 1, hlen, in mbedtls_rsa_rsaes_oaep_decrypt()
1688 ret = mgf_mask( sig + offset, olen - hlen - 1 - offset, p, hlen, in rsa_rsassa_pss_sign()
2045 ret = mgf_mask( p, siglen - hlen - 1, hash_start, hlen, mgf1_hash_id ); in mbedtls_rsa_rsassa_pss_verify_ext()
/external/openthread/third_party/mbedtls/repo/library/
Drsa.c1090 static int mgf_mask( unsigned char *dst, size_t dlen, unsigned char *src, in mgf_mask() function
1206 if( ( ret = mgf_mask( output + hlen + 1, olen - hlen - 1, output + 1, hlen, in mbedtls_rsa_rsaes_oaep_encrypt()
1211 if( ( ret = mgf_mask( output + 1, hlen, output + hlen + 1, olen - hlen - 1, in mbedtls_rsa_rsaes_oaep_encrypt()
1408 if( ( ret = mgf_mask( buf + 1, hlen, buf + hlen + 1, ilen - hlen - 1, in mbedtls_rsa_rsaes_oaep_decrypt()
1411 ( ret = mgf_mask( buf + hlen + 1, ilen - hlen - 1, buf + 1, hlen, in mbedtls_rsa_rsaes_oaep_decrypt()
1681 if( ( ret = mgf_mask( sig + offset, olen - hlen - 1 - offset, p, hlen, in rsa_rsassa_pss_sign()
2091 ret = mgf_mask( p, siglen - hlen - 1, hash_start, hlen, &md_ctx ); in mbedtls_rsa_rsassa_pss_verify_ext()