/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | x25519.c | 72 unsigned long *secret_len) in crypto_acipher_x25519_shared_secret() argument 83 if (!private_key || !public_key || !secret || !secret_len) in crypto_acipher_x25519_shared_secret() 93 secret, secret_len) != CRYPT_OK) in crypto_acipher_x25519_shared_secret() 103 if (*secret_len != X25519_KEY_SIZE_BYTES || in crypto_acipher_x25519_shared_secret()
|
A D | ecc.c | 323 unsigned long *secret_len) in _ltc_ecc_shared_secret() argument 345 secret, secret_len); in _ltc_ecc_shared_secret()
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/ |
A D | ecc.c | 286 void *secret, unsigned long *secret_len) in ecc_shared_secret() argument 294 if (!private_key || !public_key || !secret_len) { in ecc_shared_secret() 309 if (*secret_len < size_bytes) { in ecc_shared_secret() 310 *secret_len = size_bytes; in ecc_shared_secret() 328 sdata.secret.length = *secret_len; in ecc_shared_secret() 333 *secret_len = sdata.secret.length; in ecc_shared_secret()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/bcrypt/ |
A D | bcrypt.c | 75 int bcrypt_pbkdf_openbsd(const void *secret, unsigned long secret_len, in bcrypt_pbkdf_openbsd() argument 91 if ((secret_len == 0) || (salt_len == 0) || (*outlen == 0)) { in bcrypt_pbkdf_openbsd() 124 …if ((err = hash_memory(hash_idx, (unsigned char*)secret, secret_len, hashed_pass, &hashed_pass_len… in bcrypt_pbkdf_openbsd()
|
/optee_os-3.20.0/core/drivers/crypto/se050/core/ |
A D | ecc.c | 401 void *secret, size_t *secret_len) in shared_secret_fallback() argument 417 secret, (unsigned long *)secret_len); in shared_secret_fallback() 447 void *secret, size_t *secret_len) in shared_secret() argument 466 secret, secret_len); in shared_secret() 496 secret, secret_len); in shared_secret()
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | ecc.c | 354 void *secret, unsigned long *secret_len) in ecc_shared_secret() argument 379 *secret_len, mbd_rand, NULL); in ecc_shared_secret() 384 *secret_len = out_len; in ecc_shared_secret()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_misc.h | 57 int bcrypt_pbkdf_openbsd(const void *secret, unsigned long secret_len,
|
/optee_os-3.20.0/core/include/crypto/ |
A D | crypto.h | 284 unsigned long *secret_len); 294 unsigned long *secret_len);
|
A D | crypto_impl.h | 358 void *secret, unsigned long *secret_len);
|
/optee_os-3.20.0/core/drivers/crypto/versal/ |
A D | ecc.c | 334 void *secret, size_t *secret_len) in shared_secret() argument 337 secret, secret_len); in shared_secret()
|
/optee_os-3.20.0/core/crypto/ |
A D | crypto.c | 757 unsigned long *secret_len) in crypto_acipher_ecc_shared_secret() argument 765 secret_len); in crypto_acipher_ecc_shared_secret() 825 *secret_len __unused) in crypto_acipher_x25519_shared_secret()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | ecp.c | 173 const mbedtls_mpi *secret, size_t secret_len ) in ecp_drbg_seed() argument 181 if( secret_len > MBEDTLS_ECP_MAX_BYTES ) in ecp_drbg_seed() 188 secret_bytes, secret_len ) ); in ecp_drbg_seed() 190 ret = mbedtls_hmac_drbg_seed_buf( ctx, md_info, secret_bytes, secret_len ); in ecp_drbg_seed() 193 mbedtls_platform_zeroize( secret_bytes, secret_len ); in ecp_drbg_seed() 238 const mbedtls_mpi *secret, size_t secret_len ) in ecp_drbg_seed() argument 243 if( secret_len > MBEDTLS_ECP_MAX_BYTES ) in ecp_drbg_seed() 250 secret_bytes, secret_len ) ); in ecp_drbg_seed() 253 secret_bytes, secret_len ); in ecp_drbg_seed() 256 mbedtls_platform_zeroize( secret_bytes, secret_len ); in ecp_drbg_seed()
|