Home
last modified time | relevance | path

Searched refs:nsalt (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-crypto-pbkdf.c40 size_t nsalt; member
61 .nsalt = 21,
75 .nsalt = 21,
89 .nsalt = 21,
103 .nsalt = 8,
118 .nsalt = 29,
163 .nsalt = 4,
175 .nsalt = 4,
187 .nsalt = 4,
199 .nsalt = 4,
[all …]
/openbmc/qemu/crypto/
H A Dpbkdf-nettle.c45 const uint8_t *salt, size_t nsalt, in qcrypto_pbkdf2() argument
71 MD5_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
77 SHA1_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
83 SHA224_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
89 SHA256_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
95 SHA384_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
101 SHA512_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
107 RIPEMD160_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
H A Dpbkdf.c94 size_t nsalt; member
107 size_t nsalt = iters_data->nsalt; in threaded_qcrypto_pbkdf2_count_iters() local
122 salt, nsalt, in threaded_qcrypto_pbkdf2_count_iters()
158 const uint8_t *salt, size_t nsalt, in qcrypto_pbkdf2_count_iters() argument
163 hash, key, nkey, salt, nsalt, nout, 0, errp in qcrypto_pbkdf2_count_iters()
H A Divgen-essiv.c36 size_t nsalt; in qcrypto_ivgen_essiv_init() local
40 nsalt = qcrypto_cipher_get_key_len(ivgen->cipher); in qcrypto_ivgen_essiv_init()
44 salt = g_new0(uint8_t, MAX(nhash, nsalt)); in qcrypto_ivgen_essiv_init()
57 salt, MIN(nhash, nsalt), in qcrypto_ivgen_essiv_init()
H A Dpbkdf-gcrypt.c44 const uint8_t *salt, size_t nsalt, in qcrypto_pbkdf2() argument
77 salt, nsalt, iterations, in qcrypto_pbkdf2()
H A Dpbkdf-gnutls.c44 const uint8_t *salt, size_t nsalt, in qcrypto_pbkdf2() argument
60 const gnutls_datum_t gsalt = { (unsigned char *)salt, nsalt }; in qcrypto_pbkdf2()
H A Dpbkdf-stub.c34 size_t nsalt G_GNUC_UNUSED, in qcrypto_pbkdf2()
/openbmc/qemu/include/crypto/
H A Dpbkdf.h124 const uint8_t *salt, size_t nsalt,
152 const uint8_t *salt, size_t nsalt,