/openbmc/qemu/tests/unit/ |
H A D | test-crypto-pbkdf.c | 39 size_t nsalt; member 60 .nsalt = 21, 74 .nsalt = 21, 88 .nsalt = 21, 102 .nsalt = 8, 117 .nsalt = 29, 132 .nsalt = 30, 146 .nsalt = 18, 162 .nsalt = 4, 174 .nsalt = 4, [all …]
|
/openbmc/qemu/crypto/ |
H A D | pbkdf-nettle.c | 48 const uint8_t *salt, size_t nsalt, in qcrypto_pbkdf2() argument 77 MD5_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2() 83 SHA1_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2() 89 SHA224_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2() 95 SHA256_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2() 101 SHA384_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2() 107 SHA512_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2() 113 RIPEMD160_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2() 119 SM3_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-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-gcrypt.c | 47 const uint8_t *salt, size_t nsalt, in qcrypto_pbkdf2() argument 83 salt, nsalt, iterations, 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,
|