/openbmc/qemu/tests/unit/ |
H A D | test-crypto-pbkdf.c | 40 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 D | pbkdf-nettle.c | 45 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 D | pbkdf.c | 94 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 D | ivgen-essiv.c | 36 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 D | pbkdf-gcrypt.c | 44 const uint8_t *salt, size_t nsalt, in qcrypto_pbkdf2() argument 77 salt, nsalt, iterations, in qcrypto_pbkdf2()
|
H A D | pbkdf-gnutls.c | 44 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 D | pbkdf-stub.c | 34 size_t nsalt G_GNUC_UNUSED, in qcrypto_pbkdf2()
|
/openbmc/qemu/include/crypto/ |
H A D | pbkdf.h | 124 const uint8_t *salt, size_t nsalt, 152 const uint8_t *salt, size_t nsalt,
|