Home
last modified time | relevance | path

Searched refs:PSA_ALG_HASH_MASK (Results 1 – 7 of 7) sorted by relevance

/openthread-3.7.0/third_party/mbedtls/repo/include/psa/
Dcrypto_values.h914 #define PSA_ALG_HASH_MASK ((psa_algorithm_t) 0x000000ff) macro
998 (PSA_ALG_HMAC_BASE | ((hash_alg) & PSA_ALG_HASH_MASK))
1001 (PSA_ALG_CATEGORY_HASH | ((hmac_alg) & PSA_ALG_HASH_MASK))
1411 (PSA_ALG_RSA_PKCS1V15_SIGN_BASE | ((hash_alg) & PSA_ALG_HASH_MASK))
1420 (((alg) & ~PSA_ALG_HASH_MASK) == PSA_ALG_RSA_PKCS1V15_SIGN_BASE)
1445 (PSA_ALG_RSA_PSS_BASE | ((hash_alg) & PSA_ALG_HASH_MASK))
1463 (PSA_ALG_RSA_PSS_ANY_SALT_BASE | ((hash_alg) & PSA_ALG_HASH_MASK))
1477 (((alg) & ~PSA_ALG_HASH_MASK) == PSA_ALG_RSA_PSS_BASE)
1491 (((alg) & ~PSA_ALG_HASH_MASK) == PSA_ALG_RSA_PSS_ANY_SALT_BASE)
1534 (PSA_ALG_ECDSA_BASE | ((hash_alg) & PSA_ALG_HASH_MASK))
[all …]
Dcrypto_extra.h369 (PSA_ALG_DSA_BASE | ((hash_alg) & PSA_ALG_HASH_MASK))
387 (PSA_ALG_DETERMINISTIC_DSA_BASE | ((hash_alg) & PSA_ALG_HASH_MASK))
389 (((alg) & ~PSA_ALG_HASH_MASK & ~PSA_ALG_DSA_DETERMINISTIC_FLAG) == \
/openthread-3.7.0/third_party/mbedtls/repo/include/mbedtls/
Dpsa_util.h140 return (mbedtls_md_type_t) (psa_alg & PSA_ALG_HASH_MASK); in mbedtls_md_type_from_psa_alg()
/openthread-3.7.0/third_party/mbedtls/repo/library/
Dpk.c366 (alg & ~PSA_ALG_HASH_MASK) == (key_alg & ~PSA_ALG_HASH_MASK)) { in mbedtls_pk_can_do_ext()
372 (alg & ~PSA_ALG_HASH_MASK) == (key_alg2 & ~PSA_ALG_HASH_MASK)) { in mbedtls_pk_can_do_ext()
1362 sign_alg = (sign_alg & ~PSA_ALG_HASH_MASK) | PSA_ALG_GET_HASH(psa_md_alg); in mbedtls_pk_sign_ext()
Dpk_wrap.c1528 alg = (alg & ~PSA_ALG_HASH_MASK) | mbedtls_md_psa_alg_from_type(md_alg); in rsa_opaque_sign_wrap()
Dpsa_crypto.c825 (alg1 & ~PSA_ALG_HASH_MASK) == (alg2 & ~PSA_ALG_HASH_MASK)) { in psa_key_policy_algorithm_intersection()
924 return (policy_alg & ~PSA_ALG_HASH_MASK) == in psa_key_algorithm_permits()
925 (requested_alg & ~PSA_ALG_HASH_MASK); in psa_key_algorithm_permits()
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_pk.function2663 (key_alg & ~PSA_ALG_HASH_MASK) |
2664 (mbedtls_md_psa_alg_from_type(md_for_test) & PSA_ALG_HASH_MASK);