Lines Matching refs:KDF_ARGON2

184 } KDF_ARGON2;  typedef
188 KDF_ARGON2 *ctx;
200 static void kdf_argon2_init(KDF_ARGON2 *ctx, ARGON2_TYPE t);
208 static int kdf_argon2_ctx_set_threads(KDF_ARGON2 *ctx, uint32_t threads);
209 static int kdf_argon2_ctx_set_lanes(KDF_ARGON2 *ctx, uint32_t lanes);
210 static int kdf_argon2_ctx_set_t_cost(KDF_ARGON2 *ctx, uint32_t t_cost);
211 static int kdf_argon2_ctx_set_m_cost(KDF_ARGON2 *ctx, uint32_t m_cost);
212 static int kdf_argon2_ctx_set_out_length(KDF_ARGON2 *ctx, uint32_t outlen);
213 static int kdf_argon2_ctx_set_secret(KDF_ARGON2 *ctx, const OSSL_PARAM *p);
214 static int kdf_argon2_ctx_set_pwd(KDF_ARGON2 *ctx, const OSSL_PARAM *p);
215 static int kdf_argon2_ctx_set_salt(KDF_ARGON2 *ctx, const OSSL_PARAM *p);
216 static int kdf_argon2_ctx_set_ad(KDF_ARGON2 *ctx, const OSSL_PARAM *p);
219 static int kdf_argon2_ctx_set_version(KDF_ARGON2 *ctx, uint32_t version);
236 static void fill_first_blocks(uint8_t *blockhash, const KDF_ARGON2 *ctx);
242 static int data_indep_addressing(const KDF_ARGON2 *ctx, uint32_t pass,
244 static uint32_t index_alpha(const KDF_ARGON2 *ctx, uint32_t pass,
248 static void fill_segment(const KDF_ARGON2 *ctx, uint32_t pass, uint32_t lane,
253 static int fill_mem_blocks_mt(KDF_ARGON2 *ctx);
256 static int fill_mem_blocks_st(KDF_ARGON2 *ctx);
257 static ossl_inline int fill_memory_blocks(KDF_ARGON2 *ctx);
259 static void initial_hash(uint8_t *blockhash, KDF_ARGON2 *ctx);
260 static int initialize(KDF_ARGON2 *ctx);
261 static void finalize(const KDF_ARGON2 *ctx, void *out);
347 static void fill_first_blocks(uint8_t *blockhash, const KDF_ARGON2 *ctx) in fill_first_blocks()
403 static int data_indep_addressing(const KDF_ARGON2 *ctx, uint32_t pass, in data_indep_addressing()
428 static uint32_t index_alpha(const KDF_ARGON2 *ctx, uint32_t pass, in index_alpha()
466 static void fill_segment(const KDF_ARGON2 *ctx, uint32_t pass, uint32_t lane, in fill_segment()
561 static int fill_mem_blocks_mt(KDF_ARGON2 *ctx) in fill_mem_blocks_mt()
630 static int fill_mem_blocks_st(KDF_ARGON2 *ctx) in fill_mem_blocks_st()
641 static ossl_inline int fill_memory_blocks(KDF_ARGON2 *ctx) in fill_memory_blocks()
650 static void initial_hash(uint8_t *blockhash, KDF_ARGON2 *ctx) in initial_hash()
725 static int initialize(KDF_ARGON2 *ctx) in initialize()
757 static void finalize(const KDF_ARGON2 *ctx, void *out) in finalize()
911 static void kdf_argon2_init(KDF_ARGON2 *c, ARGON2_TYPE type) in kdf_argon2_init()
930 KDF_ARGON2 *ctx; in kdf_argon2d_new()
949 KDF_ARGON2 *ctx; in kdf_argon2i_new()
968 KDF_ARGON2 *ctx; in kdf_argon2id_new()
987 KDF_ARGON2 *ctx = (KDF_ARGON2 *)vctx; in kdf_argon2_free()
1017 KDF_ARGON2 *ctx; in kdf_argon2_derive()
1020 ctx = (KDF_ARGON2 *)vctx; in kdf_argon2_derive()
1121 KDF_ARGON2 *ctx; in kdf_argon2_reset()
1124 ctx = (KDF_ARGON2 *) vctx; in kdf_argon2_reset()
1150 static int kdf_argon2_ctx_set_threads(KDF_ARGON2 *ctx, uint32_t threads) in kdf_argon2_ctx_set_threads()
1168 static int kdf_argon2_ctx_set_lanes(KDF_ARGON2 *ctx, uint32_t lanes) in kdf_argon2_ctx_set_lanes()
1186 static int kdf_argon2_ctx_set_t_cost(KDF_ARGON2 *ctx, uint32_t t_cost) in kdf_argon2_ctx_set_t_cost()
1200 static int kdf_argon2_ctx_set_m_cost(KDF_ARGON2 *ctx, uint32_t m_cost) in kdf_argon2_ctx_set_m_cost()
1214 static int kdf_argon2_ctx_set_out_length(KDF_ARGON2 *ctx, uint32_t outlen) in kdf_argon2_ctx_set_out_length()
1232 static int kdf_argon2_ctx_set_secret(KDF_ARGON2 *ctx, const OSSL_PARAM *p) in kdf_argon2_ctx_set_secret()
1259 static int kdf_argon2_ctx_set_pwd(KDF_ARGON2 *ctx, const OSSL_PARAM *p) in kdf_argon2_ctx_set_pwd()
1291 static int kdf_argon2_ctx_set_salt(KDF_ARGON2 *ctx, const OSSL_PARAM *p) in kdf_argon2_ctx_set_salt()
1329 static int kdf_argon2_ctx_set_ad(KDF_ARGON2 *ctx, const OSSL_PARAM *p) in kdf_argon2_ctx_set_ad()
1356 static void kdf_argon2_ctx_set_flag_early_clean(KDF_ARGON2 *ctx, uint32_t f) in kdf_argon2_ctx_set_flag_early_clean()
1361 static int kdf_argon2_ctx_set_version(KDF_ARGON2 *ctx, uint32_t version) in kdf_argon2_ctx_set_version()
1375 static int set_property_query(KDF_ARGON2 *ctx, const char *propq) in set_property_query()
1394 KDF_ARGON2 *ctx; in kdf_argon2_set_ctx_params()
1400 ctx = (KDF_ARGON2 *) vctx; in kdf_argon2_set_ctx_params()