Home
last modified time | relevance | path

Searched refs:salt_length (Results 1 – 14 of 14) sorted by relevance

/third_party/mbedtls/tests/src/drivers/
Dtest_driver_asymmetric_encryption.c39 size_t input_length, const uint8_t *salt, size_t salt_length, in mbedtls_test_transparent_asymmetric_encrypt() argument
66 alg, input, input_length, salt, salt_length, in mbedtls_test_transparent_asymmetric_encrypt()
71 alg, input, input_length, salt, salt_length, in mbedtls_test_transparent_asymmetric_encrypt()
81 size_t input_length, const uint8_t *salt, size_t salt_length, in mbedtls_test_transparent_asymmetric_decrypt() argument
108 alg, input, input_length, salt, salt_length, in mbedtls_test_transparent_asymmetric_decrypt()
113 alg, input, input_length, salt, salt_length, in mbedtls_test_transparent_asymmetric_decrypt()
126 size_t input_length, const uint8_t *salt, size_t salt_length, in mbedtls_test_opaque_asymmetric_encrypt() argument
136 (void) salt_length; in mbedtls_test_opaque_asymmetric_encrypt()
146 size_t input_length, const uint8_t *salt, size_t salt_length, in mbedtls_test_opaque_asymmetric_decrypt() argument
156 (void) salt_length; in mbedtls_test_opaque_asymmetric_decrypt()
/third_party/mbedtls/tests/include/test/drivers/
Dasymmetric_encryption.h57 size_t input_length, const uint8_t *salt, size_t salt_length,
63 size_t input_length, const uint8_t *salt, size_t salt_length,
69 size_t input_length, const uint8_t *salt, size_t salt_length,
75 size_t input_length, const uint8_t *salt, size_t salt_length,
/third_party/python/Modules/clinic/
D_cryptmodule.c.h49 Py_ssize_t salt_length; in crypt_crypt() local
50 salt = PyUnicode_AsUTF8AndSize(args[1], &salt_length); in crypt_crypt()
54 if (strlen(salt) != (size_t)salt_length) { in crypt_crypt()
/third_party/mbedtls/library/
Dpsa_crypto_rsa.c543 size_t salt_length, in mbedtls_psa_asymmetric_encrypt() argument
554 (void) salt_length; in mbedtls_psa_asymmetric_encrypt()
602 salt, salt_length, in mbedtls_psa_asymmetric_encrypt()
637 size_t salt_length, in mbedtls_psa_asymmetric_decrypt() argument
648 (void) salt_length; in mbedtls_psa_asymmetric_decrypt()
700 salt, salt_length, in mbedtls_psa_asymmetric_decrypt()
Dpsa_crypto_rsa.h266 size_t salt_length,
324 size_t salt_length,
Dpsa_crypto_driver_wrappers.c2628 size_t input_length, const uint8_t *salt, size_t salt_length, in psa_driver_wrapper_asymmetric_encrypt() argument
2644 salt, salt_length, output, output_size, in psa_driver_wrapper_asymmetric_encrypt()
2653 salt, salt_length, output, output_size, output_length ) in psa_driver_wrapper_asymmetric_encrypt()
2661 salt, salt_length, output, output_size, output_length ) in psa_driver_wrapper_asymmetric_encrypt()
2675 (void)salt_length; in psa_driver_wrapper_asymmetric_encrypt()
2686 size_t input_length, const uint8_t *salt, size_t salt_length, in psa_driver_wrapper_asymmetric_decrypt() argument
2702 salt, salt_length, output, output_size, in psa_driver_wrapper_asymmetric_decrypt()
2711 salt, salt_length, output, output_size, in psa_driver_wrapper_asymmetric_decrypt()
2719 salt, salt_length, output, output_size, in psa_driver_wrapper_asymmetric_decrypt()
2733 (void)salt_length; in psa_driver_wrapper_asymmetric_decrypt()
Dpsa_crypto_driver_wrappers.h379 size_t salt_length,
392 size_t salt_length,
Dpsa_crypto.c3076 size_t salt_length, in psa_asymmetric_encrypt() argument
3094 if (!PSA_ALG_IS_RSA_OAEP(alg) && salt_length != 0) { in psa_asymmetric_encrypt()
3113 alg, input, input_length, salt, salt_length, in psa_asymmetric_encrypt()
3126 size_t salt_length, in psa_asymmetric_decrypt() argument
3144 if (!PSA_ALG_IS_RSA_OAEP(alg) && salt_length != 0) { in psa_asymmetric_decrypt()
3162 alg, input, input_length, salt, salt_length, in psa_asymmetric_decrypt()
/third_party/node/src/crypto/
Dcrypto_sig.cc594 salt_length(other.salt_length), in SignConfiguration()
658 params->salt_length = args[offset + 7].As<Int32>()->Value(); in AdditionalConfig()
735 Maybe<int> salt_length = params.flags & SignConfiguration::kHasSaltLength in DeriveBits() local
736 ? Just<int>(params.salt_length) : Nothing<int>(); in DeriveBits()
742 salt_length)) { in DeriveBits()
Dcrypto_rsa.cc577 int64_t salt_length = 20; in GetRsaKeyDetail() local
613 if (ASN1_INTEGER_get_int64(&salt_length, params->saltLength) != 1) { in GetRsaKeyDetail()
623 Number::New(env->isolate(), static_cast<double>(salt_length))) in GetRsaKeyDetail()
Dcrypto_sig.h121 int salt_length = 0; member
/third_party/mbedtls/include/psa/
Dcrypto_se_driver.h629 size_t salt_length,
669 size_t salt_length,
Dcrypto.h3110 size_t salt_length,
3171 size_t salt_length,
/third_party/mbedtls/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.c.jinja2613 size_t input_length, const uint8_t *salt, size_t salt_length,
2629 salt, salt_length, output, output_size,
2638 salt, salt_length, output, output_size, output_length )
2646 salt, salt_length, output, output_size, output_length )
2660 (void)salt_length;
2671 size_t input_length, const uint8_t *salt, size_t salt_length,
2687 salt, salt_length, output, output_size,
2696 salt, salt_length, output, output_size,
2704 salt, salt_length, output, output_size,
2718 (void)salt_length;