Searched refs:Slen (Results 1 – 1 of 1) sorted by relevance
17 unsigned long Slen = ((saltlen + v - 1) / v) * v; in pkcs12_kdf() local19 unsigned long k = (Plen + Slen) / v; in pkcs12_kdf()32 I = XMALLOC(Plen + Slen); in pkcs12_kdf()37 for (i = 0; i < Slen; i++) I[i] = salt[i % saltlen]; in pkcs12_kdf()38 for (i = 0; i < Plen; i++) I[Slen + i] = pw[i % pwlen]; /* I = Salt || Pass */ in pkcs12_kdf()42 … err = hash_memory_multi(hash_id, A, &Alen, D, v, I, Slen + Plen, LTC_NULL); /* A = HASH(D || I) */ in pkcs12_kdf()72 zeromem(I, Plen + Slen); in pkcs12_kdf()
Completed in 2 milliseconds