Home
last modified time | relevance | path

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

/mbedtls-latest/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_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_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.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);
3017 psa_pake_primitive_t primitive = PSA_PAKE_PRIMITIVE(
3022 const size_t size_key_share = PSA_PAKE_INPUT_SIZE(PSA_ALG_JPAKE, primitive,
3026 size_t output_size = PSA_PAKE_OUTPUT_SIZE(PSA_ALG_JPAKE, primitive,
[all …]
Dtest_suite_psa_crypto.function682 static void ecjpake_do_round(psa_algorithm_t alg, unsigned int primitive,
690 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_KEY_SHARE) +
691 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PUBLIC) +
692 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PROOF)) * 2;
695 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_KEY_SHARE);
698 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PUBLIC);
701 PSA_PAKE_OUTPUT_SIZE(alg, primitive, PSA_PAKE_STEP_ZK_PROOF);
10506 psa_pake_primitive_t primitive = primitive_arg;
10534 psa_pake_cs_set_primitive(&cipher_suite, primitive);
10614 const size_t size_key_share = PSA_PAKE_INPUT_SIZE(alg, primitive,
[all …]
/mbedtls-latest/include/psa/
Dcrypto_extra.h981 psa_pake_primitive_t primitive);
1648 #define PSA_PAKE_OUTPUT_SIZE(alg, primitive, output_step) \ argument
1650 primitive == PSA_PAKE_PRIMITIVE(PSA_PAKE_PRIMITIVE_TYPE_ECC, \
1678 #define PSA_PAKE_INPUT_SIZE(alg, primitive, input_step) \ argument
1680 primitive == PSA_PAKE_PRIMITIVE(PSA_PAKE_PRIMITIVE_TYPE_ECC, \
1762 psa_pake_primitive_t primitive) in psa_pake_cs_set_primitive() argument
1764 cipher_suite->type = (psa_pake_primitive_type_t) (primitive >> 24); in psa_pake_cs_set_primitive()
1765 cipher_suite->family = (psa_pake_family_t) (0xFF & (primitive >> 16)); in psa_pake_cs_set_primitive()
1766 cipher_suite->bits = (uint16_t) (0xFFFF & primitive); in psa_pake_cs_set_primitive()
1867 psa_pake_primitive_t MBEDTLS_PRIVATE(primitive);
/mbedtls-latest/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…
/mbedtls-latest/docs/architecture/
Dpsa-keystore-design.md81 …s (e.g. condition variables or semaphores), together with a `realloc()` primitive, could allow fre…
/mbedtls-latest/library/
Dpsa_crypto.c8511 operation->primitive = PSA_PAKE_PRIMITIVE(cipher_suite->type,
8937 operation->primitive,
/mbedtls-latest/
DChangeLog254 accelerates the key type (that is, the block cipher primitive). See
1025 Only the ECC primitive with secp256r1 curve and SHA-256 hash algorithm
3138 primitive. Fixes #1798.
3609 ECDH primitive functions (mbedtls_ecdh_gen_public(),
3920 If a call to one of the functions of the cryptographic primitive modules
/mbedtls-latest/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…