Home
last modified time | relevance | path

Searched refs:primitive (Results 1 – 11 of 11) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ecdh.data4 ECDH primitive random #1
8 ECDH primitive random #2
12 ECDH primitive random #3
16 ECDH primitive random #4
20 ECDH primitive random #5
24 ECDH primitive rfc 5903 p256
28 ECDH primitive rfc 5903 p384
32 ECDH primitive rfc 5903 p521
Dtest_suite_ecdsa.data1 ECDSA primitive hash zero #1
5 ECDSA primitive hash zero #2
9 ECDSA primitive hash zero #3
13 ECDSA primitive hash zero #4
17 ECDSA primitive hash zero #5
21 ECDSA primitive random #1
25 ECDSA primitive random #2
29 ECDSA primitive random #3
33 ECDSA primitive random #4
37 ECDSA primitive random #5
[all …]
Dtest_suite_psa_crypto_pake.function104 static void ecjpake_do_round(psa_algorithm_t alg, unsigned int primitive,
114 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_KEY_SHARE) +
115 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PUBLIC) +
116 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PROOF)) * 2;
119 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_KEY_SHARE);
122 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PUBLIC);
125 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PROOF);
598 psa_pake_primitive_t primitive = primitive_arg;
631 psa_pake_cs_set_primitive(&cipher_suite, primitive);
683 const size_t size_key_share = PSA_PAKE_INPUT_SIZE(alg, primitive,
[all …]
Dtest_suite_psa_crypto_pake.data9 PSA PAKE: invalid primitive type
13 PSA PAKE: invalid primitive family
17 PSA PAKE: invalid primitive bits
Dtest_suite_psa_crypto_driver_wrappers.function16 static void ecjpake_do_round(psa_algorithm_t alg, unsigned int primitive,
24 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_KEY_SHARE) +
25 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PUBLIC) +
26 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PROOF)) * 2;
29 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_KEY_SHARE);
32 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PUBLIC);
35 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PROOF);
3001 psa_pake_primitive_t primitive = PSA_PAKE_PRIMITIVE(
3006 const size_t size_key_share = PSA_PAKE_INPUT_SIZE(PSA_ALG_JPAKE, primitive,
3010 size_t output_size = PSA_PAKE_OUTPUT_SIZE(PSA_ALG_JPAKE, primitive,
[all …]
Dtest_suite_psa_crypto.function704 static void ecjpake_do_round(psa_algorithm_t alg, unsigned int primitive,
712 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_KEY_SHARE) +
713 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PUBLIC) +
714 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PROOF)) * 2;
717 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_KEY_SHARE);
720 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PUBLIC);
723 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PROOF);
10390 psa_pake_primitive_t primitive = primitive_arg;
10418 psa_pake_cs_set_primitive(&cipher_suite, primitive);
10498 const size_t size_key_share = PSA_PAKE_INPUT_SIZE(alg, primitive,
[all …]
/openthread-latest/third_party/mbedtls/repo/include/psa/
Dcrypto_extra.h963 psa_pake_primitive_t primitive);
1630 #define PSA_PAKE_OUTPUT_SIZE(alg, primitive, output_step) \ argument
1632 primitive == PSA_PAKE_PRIMITIVE(PSA_PAKE_PRIMITIVE_TYPE_ECC, \
1660 #define PSA_PAKE_INPUT_SIZE(alg, primitive, input_step) \ argument
1662 primitive == PSA_PAKE_PRIMITIVE(PSA_PAKE_PRIMITIVE_TYPE_ECC, \
1744 psa_pake_primitive_t primitive) in psa_pake_cs_set_primitive() argument
1746 cipher_suite->type = (psa_pake_primitive_type_t) (primitive >> 24); in psa_pake_cs_set_primitive()
1747 cipher_suite->family = (psa_pake_family_t) (0xFF & (primitive >> 16)); in psa_pake_cs_set_primitive()
1748 cipher_suite->bits = (uint16_t) (0xFFFF & primitive); in psa_pake_cs_set_primitive()
1849 psa_pake_primitive_t MBEDTLS_PRIVATE(primitive);
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/
Dmd-cipher-dispatch.md99 * Software implementations of primitive cryptographic mechanisms. These are not expected to change.
354primitive only in the encrypt direction. Currently, GCM and CCM use the Cipher layer in order to w…
/openthread-latest/third_party/mbedtls/repo/library/
Dpsa_crypto.c8418 operation->primitive = PSA_PAKE_PRIMITIVE(cipher_suite->type, in psa_pake_setup()
8844 operation->primitive, in psa_pake_input()
/openthread-latest/third_party/mbedtls/repo/
DChangeLog60 accelerates the key type (that is, the block cipher primitive). See
830 Only the ECC primitive with secp256r1 curve and SHA-256 hash algorithm
2943 primitive. Fixes #1798.
3414 ECDH primitive functions (mbedtls_ecdh_gen_public(),
3725 If a call to one of the functions of the cryptographic primitive modules
/openthread-latest/third_party/mbedtls/repo/docs/
Dpsa-transition.md424 The PSA API groups functions by purpose rather than by underlying primitive: there is a MAC API (eq…
1296 The PSA API does not provide direct access to the exponentiation primitive as with `mbedtls_rsa_pub…